#020D28

Closest named color: Dark Navy (#000435). oklch(16.8% 0.059 261.3), rgb(2, 13, 40).

Aa

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

About this color

#020D28 is a very dark, muted blue. In OKLCH its lightness is 17%, its chroma 0.059 and its hue 261°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Navy (#000435), ΔE 0.038 away. White text reads best on it, at 19.25:1.

Hue familyBlues
Lightnessvery dark (17%)
Chromamuted (0.059)
Temperaturecool
Nearest nameDark Navy (#000435)
Black text1.09:1
White text19.25:1

Values

HEX#020D28
RGBrgb(2, 13, 40)
HSLhsl(223, 90%, 8%)
OKLCHoklch(16.8% 0.059 261.3)

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 #020D28 19.25:1 AAA Lc -107.4 Preferred for body text
Black text on #020D28 1.09:1 Fails Lc 0.0 Not readable
#020D28 text on white 19.25:1 AAA Lc 105.4 Preferred for body text
#020D28 text on black 1.09: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

    #F2F6FC

    oklch(97.2% 0.009 258.3)

  2. Step 100

    100

    #E2EAF8

    oklch(93.5% 0.021 261.8)

  3. Step 200

    200

    #CBDAF4

    oklch(88.5% 0.039 261.5)

  4. Step 300

    300

    #A8C2EF

    oklch(81% 0.07 261.3)

  5. Step 400

    400

    #79A1E6

    oklch(70.8% 0.111 260.9)

  6. Step 500

    500

    #5687DF

    oklch(63% 0.143 261.2)

  7. Step 600

    600

    #3C6FCD

    oklch(55.6% 0.156 261.4)

  8. Step 700

    700

    #2E5CB1

    oklch(49% 0.145 261.4)

  9. Step 800

    800

    #274C8F

    oklch(42.7% 0.119 261.2)

  10. Step 900

    900

    #244072

    oklch(37.7% 0.092 261.1)

  11. Step 950

    950 (this color)

    #020D28

    oklch(16.8% 0.059 261.3)

Export this scale for Tailwind in the Tailwind colors tool

#020D28 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)#0010290.010
Deuteranopia (no green cones)#000D270.005
Tritanopia (no blue cones)#0014180.047
Achromatopsia (no color)#0E0E0E0.059

Harmonies

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

Complementary

The opposite hue (180°).

  • #020D28

    #020D28

    oklch(16.8% 0.059 261.3)

  • #170D00

    #170D00

    oklch(16.9% 0.035 79.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #020D28

    #020D28

    oklch(16.8% 0.059 261.3)

  • #00111B

    #00111B

    oklch(16.7% 0.034 232.5)

  • #100826

    #100826

    oklch(16.8% 0.059 291.1)

Open the analogous palette in the generator

Split complementary

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

  • #020D28

    #020D28

    oklch(16.8% 0.059 261.3)

  • #1D0800

    #1D0800

    oklch(16.7% 0.044 50.9)

  • #101000

    #101000

    oklch(16.8% 0.037 109.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #020D28

    #020D28

    oklch(16.8% 0.059 261.3)

  • #230204

    #230204

    oklch(16.7% 0.06 21.4)

  • #011400

    #011400

    oklch(16.7% 0.055 141.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #020D28

    #020D28

    oklch(16.8% 0.059 261.3)

  • #200312

    #200312

    oklch(16.8% 0.058 351.1)

  • #170D00

    #170D00

    oklch(16.9% 0.035 79.7)

  • #00130D

    #00130D

    oklch(16.6% 0.032 172.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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