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
RGBrgb(15, 45, 77)
HSLhsl(211, 67%, 18%)
OKLCHoklch(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 colorRatioNormal text AANormal text AAA
Black1.5:1FailFail
White13.97:1PassPass

Normal text requires at least 4.5:1 for WCAG AA and 7:1 for AAA. Check another combination.

Related named colors

Build a palette · Generate a color scale