Midnight Melancholia Color — #002266: Codes, Palettes & Contrast

Midnight Melancholia (#002266) 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 Melancholia is a named blue color, ready to use anywhere you need it.

Midnight Melancholia#002266

Midnight Melancholia color codes

HEX#002266
RGBrgb(0, 34, 102)
HSLhsl(220, 100%, 20%)
OKLCHoklch(0.283 0.126 261.4)

Browse more blue colors.

Readable text on Midnight Melancholia

White text (#FFFFFF) has the higher contrast against this background: 14.78:1.

Text colorRatioNormal text AANormal text AAA
Black1.42:1FailFail
White14.78: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