Dark Color — #1B2431: Codes, Palettes & Contrast
Dark (#1B2431) 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.
Dark is a named gray color, ready to use anywhere you need it.
Dark#1B2431
Dark color codes
| HEX | #1B2431 |
|---|---|
| RGB | rgb(27, 36, 49) |
| HSL | hsl(215, 29%, 15%) |
| OKLCH | oklch(0.258 0.028 257.5) |
Browse more gray colors.
Readable text on Dark
White text (#FFFFFF) has the higher contrast against this background: 15.63:1.
| Text color | Ratio | Normal text AA | Normal text AAA |
|---|---|---|---|
| Black | 1.34:1 | Fail | Fail |
| White | 15.63:1 | Pass | Pass |
Normal text requires at least 4.5:1 for WCAG AA and 7:1 for AAA. Check another combination.