Primary Blue Color — #0804F9: Codes, Palettes & Contrast
Primary Blue (#0804F9) color codes in RGB, HSL, and OKLCH, the most readable text color on it, WCAG contrast ratios against white and black, and matching color palettes.
Primary Blue is a named blue color, ready to use anywhere you need it.
Primary Blue#0804F9
Primary Blue color codes
| HEX | #0804F9 |
|---|---|
| RGB | rgb(8, 4, 249) |
| HSL | hsl(241, 97%, 50%) |
| OKLCH | oklch(0.446 0.306 264.6) |
Browse more blue colors.
Readable text on Primary Blue
White text (#FFFFFF) has the higher contrast against this background: 8.77:1.
| Text color | Ratio | Normal text AA | Normal text AAA |
|---|---|---|---|
| Black | 2.4:1 | Fail | Fail |
| White | 8.77:1 | Pass | Pass |
Normal text requires at least 4.5:1 for WCAG AA and 7:1 for AAA. Check another combination.