Midnight Ocean Color — #0F2D4D: Codes, Palettes & Contrast
Midnight Ocean (#0F2D4D) 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 Ocean is a named blue color, ready to use anywhere you need it.
Midnight Ocean#0F2D4D
Midnight Ocean color codes
| HEX | #0F2D4D |
|---|---|
| RGB | rgb(15, 45, 77) |
| HSL | hsl(211, 67%, 18%) |
| OKLCH | oklch(0.293 0.069 252.5) |
Browse more blue colors.
Readable text on Midnight Ocean
White text (#FFFFFF) has the higher contrast against this background: 13.97:1.
| Text color | Ratio | Normal text AA | Normal text AAA |
|---|---|---|---|
| Black | 1.5:1 | Fail | Fail |
| White | 13.97:1 | Pass | Pass |
Normal text requires at least 4.5:1 for WCAG AA and 7:1 for AAA. Check another combination.