Royal #0C1793

Royal is a dark, vivid blue with hex code #0C1793 and RGB rgb(12, 23, 147).

Aa

White text reads best on this color (13.46:1).

About this color

#0C1793 is a dark, vivid blue. In OKLCH its lightness is 32%, its chroma 0.192 and its hue 266°. Its hue sits on the cool side of the wheel. It is the named color Royal. White text reads best on it, at 13.46:1.

Hue familyBlues
Lightnessdark (32%)
Chromavivid (0.192)
Temperaturecool
Nearest nameRoyal
Black text1.55:1
White text13.46:1

Colors that go with Royal

Matches found by rotating Royal around the OKLCH hue wheel, each labelled with the closest name in our list.

Color palettes with Royal

Curated color palettes that contain a color within ΔE 0.06 (OKLab) of Royal, closest first.

No curated palette has a color within ΔE 0.06 of Royal yet.

Similar named colors

The eight named colors closest to Royal, with their ΔE distance.

More about Royal

How to make Royal

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.

  • 1 part blue
  • 1 part purple

Recipe result: #3B3A9F, a difference of ΔE 0.104 from Royal. Royal is more vivid than these paints can mix, so start from a ready-made blue paint and adjust it.

What colors make blue? | Color mixing chart

Codes for Royal in every format

HEX#0C1793
RGBrgb(12, 23, 147)
HSLhsl(235, 85%, 31%)
OKLCHoklch(32.3% 0.192 266.5)

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.

PairWCAG 2ResultAPCAAPCA guidance
White text on #0C1793 13.46:1 AAA Lc -101.9 Preferred for body text
Black text on #0C1793 1.55:1 Fails Lc 0.0 Not readable
#0C1793 text on white 13.46:1 AAA Lc 98.5 Preferred for body text
#0C1793 text on black 1.55:1 Fails Lc 0.0 Not readable

Shades and tints of Royal

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.

  1. Step 50

    50

    #F1F5FF

    oklch(97% 0.014 268.5)

  2. Step 100

    100

    #E0EAFF

    oklch(93.6% 0.03 265.3)

  3. Step 200

    200

    #C8D9FF

    oklch(88.5% 0.056 266.2)

  4. Step 300

    300

    #A4BFFF

    oklch(80.8% 0.096 266.6)

  5. Step 400

    400

    #759CFF

    oklch(70.8% 0.151 266.4)

  6. Step 500

    500

    #527EFF

    oklch(63% 0.198 266.5)

  7. Step 600

    600

    #325DFF

    oklch(55.6% 0.244 266.4)

  8. Step 700

    700

    #1E34FF

    oklch(49.1% 0.287 266.4)

  9. Step 800

    800

    #1800E9

    oklch(42.7% 0.289 266.4)

  10. Step 900

    900

    #1300C5

    oklch(37.7% 0.255 266.5)

  11. Step 950

    950 (this color)

    #0C1793

    oklch(32.3% 0.192 266.5)

Export this scale for Tailwind in the Tailwind colors tool

Royal 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.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#0035960.057
Deuteranopia (no green cones)#0027910.026
Tritanopia (no blue cones)#0040570.145
Achromatopsia (no color)#2F2F2F0.193

Use Royal 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.