Royal #0C1793
Royal is a dark, vivid blue with hex code #0C1793 and RGB rgb(12, 23, 147).
Aa
White text reads best on this color (13.46:1).
About this color
#0C1793 is a dark, vivid blue. In OKLCH its lightness is 32%, its chroma 0.192 and its hue 266°. Its hue sits on the cool side of the wheel. It is the named color Royal. White text reads best on it, at 13.46:1.
| Hue family | Blues |
| Lightness | dark (32%) |
| Chroma | vivid (0.192) |
| Temperature | cool |
| Nearest name | Royal |
| Black text | 1.55:1 |
| White text | 13.46:1 |
Colors that go with Royal
Matches found by rotating Royal around the OKLCH hue wheel, each labelled with the closest name in our list.
Complementary
The opposite hue (180°).
Analogous
Neighbouring hues, 30° either side.
Triadic
Three hues spaced 120° apart.
Color palettes with Royal
Curated color palettes that contain a color within ΔE 0.06 (OKLab) of Royal, closest first.
No curated palette has a color within ΔE 0.06 of Royal yet.
Similar named colors
The eight named colors closest to Royal, with their ΔE distance.
- Cobalt Blue #030AA7 ΔE 0.035
- Dark Blue #00008B ΔE 0.036
- Navy #000080 ΔE 0.052
- Ultramarine #2000B1 ΔE 0.053
- Midnight Blue #191970 ΔE 0.062
- Deep Blue #040273 ΔE 0.071
- Dark Royal Blue #02066F ΔE 0.076
- Indigo Blue #3A18B1 ΔE 0.083
More about Royal
How to make Royal
A starting recipe from common paint colors, found with a spectral paint model (the color mixer’s paint mode). Real pigments vary, so mix a small test batch and adjust.
- 1 part blue
- 1 part purple
Recipe result: #3B3A9F, a difference of ΔE 0.104 from Royal. Royal is more vivid than these paints can mix, so start from a ready-made blue paint and adjust it.
Codes for Royal in every format
| HEX | #0C1793 |
| RGB | rgb(12, 23, 147) |
| HSL | hsl(235, 85%, 31%) |
| OKLCH | oklch(32.3% 0.192 266.5) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #0C1793 | 13.46:1 | AAA | Lc -101.9 | Preferred for body text |
| Black text on #0C1793 | 1.55:1 | Fails | Lc 0.0 | Not readable |
| #0C1793 text on white | 13.46:1 | AAA | Lc 98.5 | Preferred for body text |
| #0C1793 text on black | 1.55:1 | Fails | Lc 0.0 | Not readable |
Shades and tints of Royal
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 950.
-
Step 50
50
#F1F5FF
oklch(97% 0.014 268.5)
-
Step 100
100
#E0EAFF
oklch(93.6% 0.03 265.3)
-
Step 200
200
#C8D9FF
oklch(88.5% 0.056 266.2)
-
Step 300
300
#A4BFFF
oklch(80.8% 0.096 266.6)
-
Step 400
400
#759CFF
oklch(70.8% 0.151 266.4)
-
Step 500
500
#527EFF
oklch(63% 0.198 266.5)
-
Step 600
600
#325DFF
oklch(55.6% 0.244 266.4)
-
Step 700
700
#1E34FF
oklch(49.1% 0.287 266.4)
-
Step 800
800
#1800E9
oklch(42.7% 0.289 266.4)
-
Step 900
900
#1300C5
oklch(37.7% 0.255 266.5)
-
Step 950
950 (this color)
#0C1793
oklch(32.3% 0.192 266.5)
Royal with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #003596 | 0.057 |
| Deuteranopia (no green cones) | #002791 | 0.026 |
| Tritanopia (no blue cones) | #004057 | 0.145 |
| Achromatopsia (no color) | #2F2F2F | 0.193 |
Use Royal in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.