Dark Royal Blue #02066F

Dark Royal Blue is a dark, vivid blue with hex code #02066F and RGB rgb(2, 6, 111).

Aa

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

About this color

#02066F is a dark, vivid blue. In OKLCH its lightness is 25%, its chroma 0.165 and its hue 265°. Its hue sits on the cool side of the wheel. It is the named color Dark Royal Blue. White text reads best on it, at 16.69:1.

Hue familyBlues
Lightnessdark (25%)
Chromavivid (0.165)
Temperaturecool
Nearest nameDark Royal Blue
Black text1.25:1
White text16.69:1

Colors that go with Dark Royal Blue

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

Analogous

Neighbouring hues, 30° either side.

Open the analogous palette in the generator

Color palettes with Dark Royal Blue

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

Similar named colors

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

More about Dark Royal Blue

How to make Dark Royal Blue

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.

  • 3 parts blue
  • 3 parts purple
  • 1 part black

Recipe result: #333758, a difference of ΔE 0.145 from Dark Royal Blue. Dark Royal Blue 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 Dark Royal Blue in every format

HEX#02066F
RGBrgb(2, 6, 111)
HSLhsl(238, 96%, 22%)
OKLCHoklch(25.2% 0.165 265)

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 #02066F 16.69:1 AAA Lc -104.9 Preferred for body text
Black text on #02066F 1.25:1 Fails Lc 0.0 Not readable
#02066F text on white 16.69:1 AAA Lc 102.2 Preferred for body text
#02066F text on black 1.25:1 Fails Lc 0.0 Not readable

Shades and tints of Dark Royal Blue

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

    #F1F6FF

    oklch(97.2% 0.013 262.4)

  2. Step 100

    100

    #E0EAFF

    oklch(93.6% 0.03 265.3)

  3. Step 200

    200

    #C7D9FF

    oklch(88.4% 0.056 265.2)

  4. Step 300

    300

    #A3C0FF

    oklch(80.9% 0.095 265.2)

  5. Step 400

    400

    #719CFF

    oklch(70.6% 0.153 265)

  6. Step 500

    500

    #4D80FF

    oklch(63.2% 0.197 264.8)

  7. Step 600

    600

    #2A5EFF

    oklch(55.6% 0.245 265.1)

  8. Step 700

    700

    #1037FF

    oklch(49.1% 0.286 265)

  9. Step 800

    800

    #0B00EB

    oklch(42.7% 0.293 264.9)

  10. Step 900

    900

    #0800C7

    oklch(37.7% 0.259 265)

  11. Step 950

    950 (this color)

    #02066F

    oklch(25.2% 0.165 265)

Export this scale for Tailwind in the Tailwind colors tool

Dark Royal Blue 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)#0024720.055
Deuteranopia (no green cones)#00186D0.026
Tritanopia (no blue cones)#002C3F0.123
Achromatopsia (no color)#1E1E1E0.165

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