Perfect Dark Color — #313390: Codes, Palettes & Contrast
Perfect Dark (#313390) 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.
Perfect Dark is a named blue color, ready to use anywhere you need it.
Perfect Dark#313390
Perfect Dark color codes
| HEX | #313390 |
|---|---|
| RGB | rgb(49, 51, 144) |
| HSL | hsl(239, 49%, 38%) |
| OKLCH | oklch(0.381 0.150 275.7) |
Browse more blue colors.
Readable text on Perfect Dark
White text (#FFFFFF) has the higher contrast against this background: 10.46:1.
| Text color | Ratio | Normal text AA | Normal text AAA |
|---|---|---|---|
| Black | 2.01:1 | Fail | Fail |
| White | 10.46:1 | Pass | Pass |
Normal text requires at least 4.5:1 for WCAG AA and 7:1 for AAA. Check another combination.