Royal Color — #0C1793: Codes, Palettes & Contrast
Royal (#0C1793) 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.
Royal is a named blue color, ready to use anywhere you need it.
Royal#0C1793
Royal color codes
| HEX | #0C1793 |
|---|---|
| RGB | rgb(12, 23, 147) |
| HSL | hsl(235, 85%, 31%) |
| OKLCH | oklch(0.323 0.192 266.5) |
Browse more blue colors.
Readable text on Royal
White text (#FFFFFF) has the higher contrast against this background: 13.47:1.
| Text color | Ratio | Normal text AA | Normal text AAA |
|---|---|---|---|
| Black | 1.56:1 | Fail | Fail |
| White | 13.47:1 | Pass | Pass |
Normal text requires at least 4.5:1 for WCAG AA and 7:1 for AAA. Check another combination.