Ocean to HSL — Color Code

HSL

hsl(189.5, 98.6%, 28.8%)

Format Value
HEX #017b92
RGB rgb(1, 123, 146)
HSL hsl(189.5, 98.6%, 28.8%)
CMYK cmyk(99.3%, 15.8%, 0%, 42.7%)

What is the HSL code for ocean?

The CSS color ocean in HSL format is hsl(189.5, 98.6%, 28.8%). Use this value directly in CSS, SVG, and most design tools.

How do I use ocean in CSS?

To apply ocean in CSS:

  • Text color: color: hsl(189.5, 98.6%, 28.8%);
  • Background: background-color: hsl(189.5, 98.6%, 28.8%);
  • Border: border-color: hsl(189.5, 98.6%, 28.8%);

What are all the color format values for ocean?

FormatValue
HEX#017b92
RGBrgb(1, 123, 146)
HSLhsl(189.5, 98.6%, 28.8%)
CMYKcmyk(99.3%, 15.8%, 0%, 42.7%)

How do I convert ocean to HSL?

Select ocean from the color name list in our color converter. The HSL value — hsl(189.5, 98.6%, 28.8%) — appears instantly alongside HEX, RGB, HSL and CMYK.

What color family does ocean belong to?

ocean belongs to the cyan color family. It is a dark, vivid color with HSL values: hue 189.5°, saturation 98.6%, lightness 28.8%.

How do I create lighter and darker shades of ocean?

Lighter variant (lightness 43.8%): #02bbde. Darker variant (lightness 13.8%): #003b46. These values are computed by adjusting HSL lightness ±15% while keeping the same hue and saturation.

What is HSL used for?

HSL describes colors by hue (0–360°), saturation (0–100%) and lightness (0–100%). It is more intuitive for designers — easy to create lighter, darker or less saturated variants of any color.