#020F2C

Closest named color: Dark Navy (#000435). oklch(17.8% 0.063 260.7), rgb(2, 15, 44).

Aa

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

About this color

#020F2C is a very dark, muted blue. In OKLCH its lightness is 18%, its chroma 0.063 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 18.96:1.

Hue familyBlues
Lightnessvery dark (18%)
Chromamuted (0.063)
Temperaturecool
Nearest nameDark Navy (#000435)
Black text1.10:1
White text18.96:1

Values

HEX#020F2C
RGBrgb(2, 15, 44)
HSLhsl(221, 91%, 9%)
OKLCHoklch(17.8% 0.063 260.7)

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 #020F2C 18.96:1 AAA Lc -107.3 Preferred for body text
Black text on #020F2C 1.10:1 Fails Lc 0.0 Not readable
#020F2C text on white 18.96:1 AAA Lc 105.2 Preferred for body text
#020F2C 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

    #F2F6FC

    oklch(97.2% 0.009 258.3)

  2. Step 100

    100

    #E2EAF9

    oklch(93.5% 0.022 263.2)

  3. Step 200

    200

    #CADAF5

    oklch(88.5% 0.041 260.9)

  4. Step 300

    300

    #A5C2F1

    oklch(80.9% 0.074 260)

  5. Step 400

    400

    #75A1EB

    oklch(70.8% 0.119 260.4)

  6. Step 500

    500

    #5187E4

    oklch(63.1% 0.152 260.6)

  7. Step 600

    600

    #366FD2

    oklch(55.7% 0.164 260.6)

  8. Step 700

    700

    #285CB6

    oklch(49.1% 0.153 260.6)

  9. Step 800

    800

    #234C93

    oklch(42.8% 0.126 260.6)

  10. Step 900

    900

    #214075

    oklch(37.7% 0.098 260.4)

  11. Step 950

    950 (this color)

    #020F2C

    oklch(17.8% 0.063 260.7)

Export this scale for Tailwind in the Tailwind colors tool

#020F2C 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)#00132D0.013
Deuteranopia (no green cones)#000E2B0.006
Tritanopia (no blue cones)#00161B0.048
Achromatopsia (no color)#1010100.063

Harmonies

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

Complementary

The opposite hue (180°).

  • #020F2C

    #020F2C

    oklch(17.8% 0.063 260.7)

  • #190F00

    #190F00

    oklch(17.7% 0.037 81.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #020F2C

    #020F2C

    oklch(17.8% 0.063 260.7)

  • #00141E

    #00141E

    oklch(17.9% 0.036 230)

  • #120A2A

    #120A2A

    oklch(17.9% 0.062 290.2)

Open the analogous palette in the generator

Split complementary

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

  • #020F2C

    #020F2C

    oklch(17.8% 0.063 260.7)

  • #200A00

    #200A00

    oklch(17.8% 0.045 52.3)

  • #121200

    #121200

    oklch(17.6% 0.038 109.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #020F2C

    #020F2C

    oklch(17.8% 0.063 260.7)

  • #270305

    #270305

    oklch(18% 0.062 21.9)

  • #021700

    #021700

    oklch(17.9% 0.058 140.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #020F2C

    #020F2C

    oklch(17.8% 0.063 260.7)

  • #240314

    #240314

    oklch(17.8% 0.063 352)

  • #190F00

    #190F00

    oklch(17.7% 0.037 81.6)

  • #00160F

    #00160F

    oklch(17.8% 0.035 170.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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