Royal
Royal is a very dark, saturated blue color with the hex code #0C1793 (hue 235°, saturation 85%, lightness 31%).
- HEX
#0C1793 - RGB
rgb(12 23 147) - HSL
hsl(235 85% 31%) - OKLCH
oklch(32.3% 0.192 266)
| Name | HEX | RGB | HSL | CMYK | OKLCH | |
|---|---|---|---|---|---|---|
| Royal | #0C1793 | 12, 23, 147 | 235°, 85%, 31% | 92, 84, 0, 42 | 32.3% 0.192 266 |
Contrast with white text 13.47:1, with black text 1.56:1 — use white text on Royal.
Huebook · Maintained by Iris Marlow (pen name) · automated checks · Data: color-name-list (MIT) for names; CSS Color Module Level 4 (W3C) for CSS named colors · Updated · How the checks work
Adjust Royal
Move the sliders to make Royal lighter, darker, more or less vivid, or shift its hue. The nearest named colors update as you go.
- HEX
#0C1793 - RGB
rgb(12 23 147) - HSL
hsl(235 85% 31%)
Variations of Royal
Text on Royal
WCAG 2 asks for 4.5:1 for body text and 3:1 for large text (AA), and 7:1 and 4.5:1 for the stricter AAA level.
Royal with color blindness
How Royal appears with a complete loss of red (protanopia), green (deuteranopia) or blue (tritanopia) cones, simulated with the Machado, Oliveira and Fernandes (2009) model. Red-green color blindness affects about 1 in 12 men and 1 in 200 women, so do not rely on color alone to carry meaning.
Tints and shades
Colors that go with Royal
Six color schemes built on Royal with classic harmony rules. The complementary scheme pairs it with Thicket Green (#93840F), the color opposite it on the color wheel.
- Royal Complementary Color Scheme#0C1793#0022EE#93840F#514100#F4D81C
- Royal Analogous Color Scheme#039487#165A90#0C1793#4A148C#881188
- Royal Triadic Color Scheme#0C1793#950C1B#1B8E13#152EFF#480607
- Royal Split-complementary Color Scheme#0C1793#994411#5C8B15#0F084B#DD6611
- Royal Tetradic Color Scheme#0C1793#910951#93840F#088D46#152EFF
- Royal Monochromatic Color Scheme#01081C#0F084B#0C1793#1F22D2#4455EE
Nearest CSS named colors
- Dark Blue (CSS) (
darkblue): Dark Blue (CSS) (#00008B) is darker than Royal (relative luminance 0.019 vs 0.028) and more saturated, with its hue 5° away. - Navy (
navy): Navy (#000080) is darker than Royal (relative luminance 0.016 vs 0.028) and more saturated, with its hue 5° away. - Midnight Blue (
midnightblue): Midnight Blue (#191970) is darker than Royal (relative luminance 0.021 vs 0.028) and less saturated, with its hue 5° away. - Medium Blue (
mediumblue): Medium Blue (#0000CD) is lighter than Royal (relative luminance 0.044 vs 0.028) and more saturated, with its hue 5° away.
Similar dark blue colors
- 20000 Leagues Under the Sea#191970
- 3AM in Shibuya#225577
- Abyssal#404C57
- Aegean Blue#1B416F
- Alone in the Dark#000066
- Assassin#2D4F83
- Astral#376F89
- Atlantic Navy#13336F
- Atlantis#336172
- Below the Surface#0A2F7C
- Beyond the Sea#005784
- Black Market#222244
- Black Sea Night#052462
- Black Turmeric#2C4364
- Blue Chip#1D5699
- Blue Funk#2D4470
- Blue Hour#0034AB
- Blue Screen of Death#0033BB
Questions
What is the hex code for Royal?
#0C1793 — RGB 12, 23, 147, HSL 235°, 85%, 31%.
Is Royal a warm or cool color?
Cool — its hue sits at 235° on the color wheel.