Midnight Edition Color — #0C121B: Codes, Palettes & Contrast

Midnight Edition (#0C121B) 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 Edition is a named gray color, ready to use anywhere you need it.

Midnight Edition#0C121B

Midnight Edition color codes

HEX#0C121B
RGBrgb(12, 18, 27)
HSLhsl(216, 38%, 8%)
OKLCHoklch(0.181 0.021 258.3)

Browse more gray colors.

Readable text on Midnight Edition

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

Text colorRatioNormal text AANormal text AAA
Black1.12:1FailFail
White18.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