#021B0F

Closest named color: Rich Navy (#001219). oklch(19.8% 0.041 160.2), rgb(2, 27, 15).

Aa

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

About this color

#021B0F is a very dark, muted green. In OKLCH its lightness is 20%, its chroma 0.041 and its hue 160°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rich Navy (#001219), ΔE 0.048 away. White text reads best on it, at 18.00:1.

Hue familyGreens
Lightnessvery dark (20%)
Chromamuted (0.041)
Temperaturein between
Nearest nameRich Navy (#001219)
Black text1.16:1
White text18.00:1

Values

HEX#021B0F
RGBrgb(2, 27, 15)
HSLhsl(151, 86%, 6%)
OKLCHoklch(19.8% 0.041 160.2)

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 #021B0F 18.00:1 AAA Lc -106.8 Preferred for body text
Black text on #021B0F 1.16:1 Fails Lc 0.0 Not readable
#021B0F text on white 18.00:1 AAA Lc 104.6 Preferred for body text
#021B0F text on black 1.16: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

    #F2F7F4

    oklch(97.2% 0.007 160.1)

  2. Step 100

    100

    #E2EDE7

    oklch(93.6% 0.014 162.5)

  3. Step 200

    200

    #CBDFD3

    oklch(88.5% 0.027 159.5)

  4. Step 300

    300

    #A6CBB6

    oklch(80.9% 0.049 160.2)

  5. Step 400

    400

    #75B090

    oklch(70.7% 0.078 159.9)

  6. Step 500

    500

    #4D9C75

    oklch(63.2% 0.099 160.2)

  7. Step 600

    600

    #2A865D

    oklch(55.5% 0.108 160.1)

  8. Step 700

    700

    #1B724D

    oklch(49.2% 0.1 160.2)

  9. Step 800

    800

    #1A5D3F

    oklch(42.8% 0.084 159.9)

  10. Step 900

    900

    #1D4C36

    oklch(37.7% 0.064 160.6)

  11. Step 950

    950 (this color)

    #021B0F

    oklch(19.8% 0.041 160.2)

Export this scale for Tailwind in the Tailwind colors tool

#021B0F 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)#1B180E0.039
Deuteranopia (no green cones)#1716100.037
Tritanopia (no blue cones)#001B180.017
Achromatopsia (no color)#1717170.041

Harmonies

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

Complementary

The opposite hue (180°).

  • #021B0F

    #021B0F

    oklch(19.8% 0.041 160.2)

  • #210E1B

    #210E1B

    oklch(19.8% 0.039 340.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #021B0F

    #021B0F

    oklch(19.8% 0.041 160.2)

  • #0F1905

    #0F1905

    oklch(19.7% 0.04 130.6)

  • #001A19

    #001A19

    oklch(19.7% 0.034 191.4)

Open the analogous palette in the generator

Split complementary

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

  • #021B0F

    #021B0F

    oklch(19.8% 0.041 160.2)

  • #1B1023

    #1B1023

    oklch(19.8% 0.04 309.8)

  • #250D11

    #250D11

    oklch(19.8% 0.041 11.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #021B0F

    #021B0F

    oklch(19.8% 0.041 160.2)

  • #121327

    #121327

    oklch(19.7% 0.04 279.9)

  • #250E07

    #250E07

    oklch(19.8% 0.042 38.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #021B0F

    #021B0F

    oklch(19.8% 0.041 160.2)

  • #061627

    #061627

    oklch(19.6% 0.041 251.2)

  • #210E1B

    #210E1B

    oklch(19.8% 0.039 340.1)

  • #211201

    #211201

    oklch(19.8% 0.04 70.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #021B0F 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.