Night Blue Color — #040348: Codes, Palettes & Contrast
Night Blue (#040348) 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.
Night Blue is a named blue color, ready to use anywhere you need it.
Night Blue#040348
Night Blue color codes
| HEX | #040348 |
|---|---|
| RGB | rgb(4, 3, 72) |
| HSL | hsl(241, 92%, 15%) |
| OKLCH | oklch(0.191 0.120 267.8) |
Browse more blue colors.
Readable text on Night Blue
White text (#FFFFFF) has the higher contrast against this background: 18.89:1.
| Text color | Ratio | Normal text AA | Normal text AAA |
|---|---|---|---|
| Black | 1.11:1 | Fail | Fail |
| White | 18.89:1 | Pass | Pass |
Normal text requires at least 4.5:1 for WCAG AA and 7:1 for AAA. Check another combination.