#020F1E

Closest named color: Rich Navy (#001219). oklch(16.5% 0.038 249.4), rgb(2, 15, 30).

Aa

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

About this color

#020F1E is a very dark, muted blue. In OKLCH its lightness is 16%, its chroma 0.038 and its hue 249°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Navy (#001219), ΔE 0.018 away. White text reads best on it, at 19.27:1.

Hue familyBlues
Lightnessvery dark (16%)
Chromamuted (0.038)
Temperaturecool
Nearest nameRich Navy (#001219)
Black text1.08:1
White text19.27:1

Values

HEX#020F1E
RGBrgb(2, 15, 30)
HSLhsl(212, 88%, 6%)
OKLCHoklch(16.5% 0.038 249.4)

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 #020F1E 19.27:1 AAA Lc -107.5 Preferred for body text
Black text on #020F1E 1.08:1 Fails Lc 0.0 Not readable
#020F1E text on white 19.27:1 AAA Lc 105.5 Preferred for body text
#020F1E text on black 1.08: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

    #F2F6F9

    oklch(97.1% 0.006 239.8)

  2. Step 100

    100

    #E3EBF3

    oklch(93.6% 0.014 248)

  3. Step 200

    200

    #CDDBEA

    oklch(88.5% 0.026 250)

  4. Step 300

    300

    #ABC4DD

    oklch(81% 0.045 248.4)

  5. Step 400

    400

    #7DA5CD

    oklch(70.8% 0.073 248.9)

  6. Step 500

    500

    #5C8EC0

    oklch(63.2% 0.093 249.5)

  7. Step 600

    600

    #4177AC

    oklch(55.6% 0.101 249.7)

  8. Step 700

    700

    #326494

    oklch(49.1% 0.094 249.5)

  9. Step 800

    800

    #2A5278

    oklch(42.8% 0.078 249)

  10. Step 900

    900

    #274461

    oklch(37.8% 0.061 249.7)

  11. Step 950

    950 (this color)

    #020F1E

    oklch(16.5% 0.038 249.4)

Export this scale for Tailwind in the Tailwind colors tool

#020F1E 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)#08101F0.013
Deuteranopia (no green cones)#050D1E0.009
Tritanopia (no blue cones)#0013150.028
Achromatopsia (no color)#0E0E0E0.038

Harmonies

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

Complementary

The opposite hue (180°).

  • #020F1E

    #020F1E

    oklch(16.5% 0.038 249.4)

  • #180B00

    #180B00

    oklch(16.5% 0.036 69.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #020F1E

    #020F1E

    oklch(16.5% 0.038 249.4)

  • #001117

    #001117

    oklch(16.4% 0.03 219.9)

  • #0B0C1E

    #0B0C1E

    oklch(16.5% 0.037 279)

Open the analogous palette in the generator

Split complementary

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

  • #020F1E

    #020F1E

    oklch(16.5% 0.038 249.4)

  • #1C0803

    #1C0803

    oklch(16.6% 0.038 40.1)

  • #120E00

    #120E00

    oklch(16.4% 0.034 98)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #020F1E

    #020F1E

    oklch(16.5% 0.038 249.4)

  • #1C070B

    #1C070B

    oklch(16.7% 0.038 9.5)

  • #091101

    #091101

    oklch(16.4% 0.039 128.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #020F1E

    #020F1E

    oklch(16.5% 0.038 249.4)

  • #190714

    #190714

    oklch(16.5% 0.04 338.7)

  • #180B00

    #180B00

    oklch(16.5% 0.036 69.6)

  • #001308

    #001308

    oklch(16.5% 0.038 158.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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