What is the HEX code for cobalt blue?
The CSS color cobalt blue in HEX format is #030aa7. Use this value directly in CSS, SVG, and most design tools.
How do I use cobalt blue in CSS?
To apply cobalt blue in CSS:
- Text color: color: #030aa7;
- Background: background-color: #030aa7;
- Border: border-color: #030aa7;
What are all the color format values for cobalt blue?
| Format | Value |
|---|---|
| HEX | #030aa7 |
| RGB | rgb(3, 10, 167) |
| HSL | hsl(237.4, 96.5%, 33.3%) |
| CMYK | cmyk(98.2%, 94%, 0%, 34.5%) |
How do I convert cobalt blue to HEX?
Select cobalt blue from the color name list in our color converter. The HEX value — #030aa7 — appears instantly alongside HEX, RGB, HSL and CMYK.
What color family does cobalt blue belong to?
cobalt blue belongs to the blue color family. It is a medium, vivid color with HSL values: hue 237.4°, saturation 96.5%, lightness 33.3%.
How do I create lighter and darker shades of cobalt blue?
Lighter variant (lightness 48.3%): #040ff2. Darker variant (lightness 18.299999999999997%): #02065c. 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.