#020D31

Closest named color: Dark Navy (#000435). oklch(17.8% 0.074 263.6), rgb(2, 13, 49).

Aa

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

About this color

#020D31 is a very dark, moderately saturated blue. In OKLCH its lightness is 18%, its chroma 0.074 and its hue 264°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Navy (#000435), ΔE 0.028 away. White text reads best on it, at 19.01:1.

Hue familyBlues
Lightnessvery dark (18%)
Chromamoderately saturated (0.074)
Temperaturecool
Nearest nameDark Navy (#000435)
Black text1.10:1
White text19.01:1

Values

HEX#020D31
RGBrgb(2, 13, 49)
HSLhsl(226, 92%, 10%)
OKLCHoklch(17.8% 0.074 263.6)

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 #020D31 19.01:1 AAA Lc -107.2 Preferred for body text
Black text on #020D31 1.10:1 Fails Lc 0.0 Not readable
#020D31 text on white 19.01:1 AAA Lc 105.2 Preferred for body text
#020D31 text on black 1.10:1 Fails Lc 0.0 Not readable

Tints and shades

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

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #E1EAFC

    oklch(93.6% 0.026 264.4)

  3. Step 200

    200

    #C9DAFA

    oklch(88.6% 0.048 263.1)

  4. Step 300

    300

    #A3C1FA

    oklch(80.9% 0.087 263)

  5. Step 400

    400

    #729EF8

    oklch(70.7% 0.141 263.5)

  6. Step 500

    500

    #4F83F5

    oklch(63.2% 0.18 263.6)

  7. Step 600

    600

    #3469E4

    oklch(55.7% 0.196 263.7)

  8. Step 700

    700

    #2756C6

    oklch(49.1% 0.182 263.7)

  9. Step 800

    800

    #2147A0

    oklch(42.6% 0.151 263.7)

  10. Step 900

    900

    #1F3D7F

    oklch(37.7% 0.118 263.4)

  11. Step 950

    950 (this color)

    #020D31

    oklch(17.8% 0.074 263.6)

Export this scale for Tailwind in the Tailwind colors tool

#020D31 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)#0013320.018
Deuteranopia (no green cones)#000E300.005
Tritanopia (no blue cones)#00161D0.056
Achromatopsia (no color)#1010100.074

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #020D31

    #020D31

    oklch(17.8% 0.074 263.6)

  • #190F00

    #190F00

    oklch(17.7% 0.037 81.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #020D31

    #020D31

    oklch(17.8% 0.074 263.6)

  • #00131F

    #00131F

    oklch(17.6% 0.038 235.7)

  • #14062E

    #14062E

    oklch(17.7% 0.076 293.6)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #020D31

    #020D31

    oklch(17.8% 0.074 263.6)

  • #200A00

    #200A00

    oklch(17.8% 0.045 52.3)

  • #111300

    #111300

    oklch(17.8% 0.04 114.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #020D31

    #020D31

    oklch(17.8% 0.074 263.6)

  • #290002

    #290002

    oklch(17.7% 0.072 24.5)

  • #001701

    #001701

    oklch(17.8% 0.058 143.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #020D31

    #020D31

    oklch(17.8% 0.074 263.6)

  • #270013

    #270013

    oklch(17.8% 0.073 354.6)

  • #190F00

    #190F00

    oklch(17.7% 0.037 81.6)

  • #001610

    #001610

    oklch(17.9% 0.034 173.7)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #020D31, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #020D31 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.