Ninja Color — #020308: Codes, Palettes & Contrast
Ninja (#020308) 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.
Ninja is a named black color, ready to use anywhere you need it.
Ninja#020308
Ninja color codes
| HEX | #020308 |
|---|---|
| RGB | rgb(2, 3, 8) |
| HSL | hsl(230, 60%, 2%) |
| OKLCH | oklch(0.099 0.018 269.9) |
Browse more black colors.
Readable text on Ninja
White text (#FFFFFF) has the higher contrast against this background: 20.61:1.
| Text color | Ratio | Normal text AA | Normal text AAA |
|---|---|---|---|
| Black | 1.02:1 | Fail | Fail |
| White | 20.61:1 | Pass | Pass |
Normal text requires at least 4.5:1 for WCAG AA and 7:1 for AAA. Check another combination.