What is the HSL code for cobalt?
The CSS color cobalt in HSL format is hsl(217.7, 65.3%, 33.9%). Use this value directly in CSS, SVG, and most design tools.
How do I use cobalt in CSS?
To apply cobalt in CSS:
- Text color: color: hsl(217.7, 65.3%, 33.9%);
- Background: background-color: hsl(217.7, 65.3%, 33.9%);
- Border: border-color: hsl(217.7, 65.3%, 33.9%);
What are all the color format values for cobalt?
| Format | Value |
|---|---|
| HEX | #1e488f |
| RGB | rgb(30, 72, 143) |
| HSL | hsl(217.7, 65.3%, 33.9%) |
| CMYK | cmyk(79%, 49.7%, 0%, 43.9%) |
How do I convert cobalt to HSL?
Select cobalt from the color name list in our color converter. The HSL value — hsl(217.7, 65.3%, 33.9%) — appears instantly alongside HEX, RGB, HSL and CMYK.
What color family does cobalt belong to?
cobalt belongs to the blue color family. It is a medium, moderately saturated color with HSL values: hue 217.7°, saturation 65.3%, lightness 33.9%.
How do I create lighter and darker shades of cobalt?
Lighter variant (lightness 48.9%): #2b68ce. Darker variant (lightness 18.9%): #112850. 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.