Royal

Also known as: Bright Midnight, Cadmium Blue, Space Exploration, Celestial Indigo

Part of the blue family, Royal pairs a rich base with a cool and professional presence — ideal for SaaS products and finance apps. Because it leans cool, balancing it with a brown keeps a palette from feeling one-note. Accessibility-wise, it clears AA for text on white at 13.47:1.

Royal color codes

HEX
#0C1793
RGB
rgb(12, 23, 147)
RGBA
rgba(12, 23, 147, 1)
HSL
hsl(235, 85%, 31%)
HSV
hsv(235, 92%, 58%)
CMYK
cmyk(92%, 84%, 0%, 42%)
LAB
lab(17.8 36.7 -68.4)
OKLCH
oklch(32.3% 0.192 266.5)

Color intelligence

sRGB safeShifts in CMYK print

Displays accurately on every screen. Vivid colors like this typically lose some intensity in CMYK print — request a physical proof for brand-critical work.

Temperature

CoolWarm

cool

Nearest standard colors

  • CSS: darkblue#00008B · ΔE 3.7
  • RAL 5002 — Ultramarine blue#2B2C7C · ΔE 7.0 · approximate

RAL values are widely published approximations of the physical standard. For Pantone-adjacent workflows, match by eye against a physical fan deck — Pantone's values are proprietary and device-dependent, so we don't print lookups.

Where Royal works

  • Web & UI: Use it directly for text on light surfaces; it clears AA contrast without adjustment.
  • Interiors: Use it where you want the eye to land — front door, built-ins, or one bold wall.
  • Fashion: One garment in this color carries an outfit; two starts to compete.
  • Branding: The safest brand-primary family there is; differentiate with an unexpected accent.
  • Web & UI: Use it decoratively — dividers, chart series, illustration accents — and let neutrals carry the type.
  • Branding: Best in a brand's supporting palette — packaging interiors, patterns, campaign accents.

Copy as — every ecosystem

Tints, shades, and tones of Royal

Tints (lighter)

Shades (darker)

Tones (muted)

Color harmonies

Palettes built from Royal by rotating its hue in OKLCH space. Click any swatch to copy its hex code.

Complementary

Analogous

Triadic

Split-complementary

Tetradic

Monochromatic

Contrast & accessibility

Aa — on white

contrast 13.47:1

AA passAAA passAA large pass

Aa — on black

contrast 1.56:1

AA failAAA failAA large fail

Best text color on a Royal background: #ffffff

Palettes featuring Royal

Royal with its complement

Soft neighbors of Royal

Royal triad

Similar colors

Looking for maximum contrast instead? The complement of Royal is closest to Pineapple.

Royal FAQs

What color is Royal?

Royal is a dark blue with the hex code #0C1793. In HSL terms it has a hue of 235°, 85% saturation, and 31% lightness.

What is the hex code for Royal?

The hex code for Royal is #0C1793. In RGB it's rgb(12, 23, 147), and in CMYK it's cmyk(92%, 84%, 0%, 42%).

What colors go well with Royal?

Royal pairs naturally with brown tones from its complementary harmony. Its own tints and shades always work as a monochrome scheme.

Got a photo with a color like this? Identify it with the analyzer — free, instant, private.