Cobalt to HEX — Color Code

HEX

#1e488f

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%)

What is the HEX code for cobalt?

The CSS color cobalt in HEX format is #1e488f. 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: #1e488f;
  • Background: background-color: #1e488f;
  • Border: border-color: #1e488f;

What are all the color format values for cobalt?

FormatValue
HEX#1e488f
RGBrgb(30, 72, 143)
HSLhsl(217.7, 65.3%, 33.9%)
CMYKcmyk(79%, 49.7%, 0%, 43.9%)

How do I convert cobalt to HEX?

Select cobalt from the color name list in our color converter. The HEX value — #1e488f — 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 HEX used for?

HEX color codes are used in CSS, HTML and design tools. They encode red, green and blue as two hexadecimal digits each (00–FF), forming a compact 6-character code like #ff0000.