What is the HEX code for primary blue?
The CSS color primary blue in HEX format is #0804f9. Use this value directly in CSS, SVG, and most design tools.
How do I use primary blue in CSS?
To apply primary blue in CSS:
- Text color: color: #0804f9;
- Background: background-color: #0804f9;
- Border: border-color: #0804f9;
What are all the color format values for primary blue?
| Format | Value |
|---|---|
| HEX | #0804f9 |
| RGB | rgb(8, 4, 249) |
| HSL | hsl(241, 96.8%, 49.6%) |
| CMYK | cmyk(96.8%, 98.4%, 0%, 2.4%) |
How do I convert primary blue to HEX?
Select primary blue from the color name list in our color converter. The HEX value — #0804f9 — appears instantly alongside HEX, RGB, HSL and CMYK.
What color family does primary blue belong to?
primary blue belongs to the blue color family. It is a medium, vivid color with HSL values: hue 241°, saturation 96.8%, lightness 49.6%.
How do I create lighter and darker shades of primary blue?
Lighter variant (lightness 64.6%): #504dfc. Darker variant (lightness 34.6%): #0603ae. 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.