Midnight Blue Color — #020035: Codes, Palettes & Contrast
Midnight Blue (#020035) 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.
Midnight Blue is a named black color, ready to use anywhere you need it.
Midnight Blue#020035
Midnight Blue color codes
| HEX | #020035 |
|---|---|
| RGB | rgb(2, 0, 53) |
| HSL | hsl(242, 100%, 10%) |
| OKLCH | oklch(0.151 0.101 267.6) |
Browse more black colors.
Readable text on Midnight Blue
White text (#FFFFFF) has the higher contrast against this background: 19.92:1.
| Text color | Ratio | Normal text AA | Normal text AAA |
|---|---|---|---|
| Black | 1.05:1 | Fail | Fail |
| White | 19.92:1 | Pass | Pass |
Normal text requires at least 4.5:1 for WCAG AA and 7:1 for AAA. Check another combination.