Dark Royal Blue color #02066F
Dark Royal Blue is a color name from the xkcd color survey for the hex code #02066F — RGB 2, 6, 111, HSL 238°, 96%, 22%.
#02066FDark Royal Blue
Color codes
- HEX
#02066F- RGB
rgb(2, 6, 111)- HSL
hsl(238, 96%, 22%)- CMYK
98%, 95%, 0%, 56%- OKLCH
oklch(25.2% 0.165 265)
Tints and shades
#F0F5FF#C8DAFF#A1BFFF#79A2FF#5B87F0#446DD4#2E54B8#193B9D#072083#020067#010036
Color harmonies
Complementary
#02066F#2E2000
Analogous
#002638#02066F#2B005C
Triadic
#02066F#480005#002B05
Split complementary
#02066F#381800#222500
Tetradic
#02066F#440025#2E2000#002921
Contrast with text
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Dark Royal Blue text on white | 16.69 : 1 | 102 | AAA — any text |
| Dark Royal Blue text on black | 1.26 : 1 | 0 | Fails for text |
| White text on Dark Royal Blue | 16.69 : 1 | -105 | AAA — any text |
| Black text on Dark Royal Blue | 1.26 : 1 | 0 | Fails for text |
Palettes with this color
- Dark Indigo & Light Blue
- Bright Olive & Night Blue
- Marine & Light Blue
- Midnight Blue & Lavender
- Cornflower & Navy Blue (Vivid)
Frequently asked questions
What is the hex code of Dark Royal Blue?
Dark Royal Blue has the hex code #02066F, which is RGB 2, 6, 111 and HSL 238°, 96%, 22%.
Which text color reads best on Dark Royal Blue?
White text: contrast 16.69 : 1 (black text: 1.26 : 1).
Which colors go well with Dark Royal Blue?
Its complementary color is #2E2000; analogous colors are #002638 and #2B005C; a triadic set adds #480005 and #002B05.
Similar colors
- Navy #000080
- Midnight Blue #191970
- Dark Blue #00008B
- Dark Indigo #1F0954
- Navy Blue #001146
- Royal #0C1793
- Night Blue #040348
- Marine #042E60
- Cobalt Blue #030AA7
- Marine Blue #01386A
Sources and licences
- xkcd color survey (Randall Munroe, CC0 1.0)
- Afoli — conversions, shades, harmonies, WCAG 2.x / APCA contrast (tools/color/color-core.js)