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 |
|---|---|
| RGB | rgb(12, 18, 27) |
| HSL | hsl(216, 38%, 8%) |
| OKLCH | oklch(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 color | Ratio | Normal text AA | Normal text AAA |
|---|---|---|---|
| Black | 1.12:1 | Fail | Fail |
| White | 18.78:1 | Pass | Pass |
Normal text requires at least 4.5:1 for WCAG AA and 7:1 for AAA. Check another combination.