Huebook

Royal

Royal is a very dark, saturated blue color with the hex code #0C1793 (hue 235°, saturation 85%, lightness 31%).

#0C1793
NameHEXRGBHSLCMYKOKLCH
Royal#0C179312, 23, 147235°, 85%, 31%92, 84, 0, 4232.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.

Royal
  • HEX#0C1793
  • RGBrgb(12 23 147)
  • HSLhsl(235 85% 31%)

Variations of Royal

Text on Royal

White textThe quick brown fox13.47:1 · AA pass · AAA pass
Black textThe quick brown fox1.56:1 · AA fail · AAA fail

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

Normal #0C1793
Protanopia #003596
Deuteranopia #002791
Tritanopia #004057

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

#D0D3FB
#8992F5
#4251F0
#1121D4
#0C168D
#060B47

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.

Nearest CSS named colors

Similar dark blue colors

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.