Dark Royal Blue #02066F
Dark Royal Blue is a dark, vivid blue with hex code #02066F and RGB rgb(2, 6, 111).
Aa
White text reads best on this color (16.69:1).
About this color
#02066F is a dark, vivid blue. In OKLCH its lightness is 25%, its chroma 0.165 and its hue 265°. Its hue sits on the cool side of the wheel. It is the named color Dark Royal Blue. White text reads best on it, at 16.69:1.
| Hue family | Blues |
| Lightness | dark (25%) |
| Chroma | vivid (0.165) |
| Temperature | cool |
| Nearest name | Dark Royal Blue |
| Black text | 1.25:1 |
| White text | 16.69:1 |
Colors that go with Dark Royal Blue
Matches found by rotating Dark Royal Blue 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 Dark Royal Blue
Curated color palettes that contain a color within ΔE 0.06 (OKLab) of Dark Royal Blue, closest first.
Similar named colors
The eight named colors closest to Dark Royal Blue, with their ΔE distance.
- Deep Blue #040273 ΔE 0.007
- Darkblue #030764 ΔE 0.020
- Navy #000080 ΔE 0.030
- Midnight Blue #191970 ΔE 0.047
- Dark Blue #00008B ΔE 0.050
- Dark Indigo #1F0954 ΔE 0.069
- Navy Blue #001146 ΔE 0.075
- Royal #0C1793 ΔE 0.076
More about Dark Royal Blue
How to make Dark Royal Blue
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.
- 3 parts blue
- 3 parts purple
- 1 part black
Recipe result: #333758, a difference of ΔE 0.145 from Dark Royal Blue. Dark Royal Blue is more vivid than these paints can mix, so start from a ready-made blue paint and adjust it.
Codes for Dark Royal Blue in every format
| HEX | #02066F |
| RGB | rgb(2, 6, 111) |
| HSL | hsl(238, 96%, 22%) |
| OKLCH | oklch(25.2% 0.165 265) |
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 #02066F | 16.69:1 | AAA | Lc -104.9 | Preferred for body text |
| Black text on #02066F | 1.25:1 | Fails | Lc 0.0 | Not readable |
| #02066F text on white | 16.69:1 | AAA | Lc 102.2 | Preferred for body text |
| #02066F text on black | 1.25:1 | Fails | Lc 0.0 | Not readable |
Shades and tints of Dark Royal Blue
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
#F1F6FF
oklch(97.2% 0.013 262.4)
-
Step 100
100
#E0EAFF
oklch(93.6% 0.03 265.3)
-
Step 200
200
#C7D9FF
oklch(88.4% 0.056 265.2)
-
Step 300
300
#A3C0FF
oklch(80.9% 0.095 265.2)
-
Step 400
400
#719CFF
oklch(70.6% 0.153 265)
-
Step 500
500
#4D80FF
oklch(63.2% 0.197 264.8)
-
Step 600
600
#2A5EFF
oklch(55.6% 0.245 265.1)
-
Step 700
700
#1037FF
oklch(49.1% 0.286 265)
-
Step 800
800
#0B00EB
oklch(42.7% 0.293 264.9)
-
Step 900
900
#0800C7
oklch(37.7% 0.259 265)
-
Step 950
950 (this color)
#02066F
oklch(25.2% 0.165 265)
Dark Royal Blue 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) | #002472 | 0.055 |
| Deuteranopia (no green cones) | #00186D | 0.026 |
| Tritanopia (no blue cones) | #002C3F | 0.123 |
| Achromatopsia (no color) | #1E1E1E | 0.165 |
Use Dark Royal Blue 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.