#021F1E

Closest named color: Rich Black (#0D1B2A). oklch(21.7% 0.035 191.7), rgb(2, 31, 30).

Aa

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

About this color

#021F1E is a very dark, muted teal or cyan. In OKLCH its lightness is 22%, its chroma 0.035 and its hue 192°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.035 away. White text reads best on it, at 17.25:1.

Hue familyTeals and cyans
Lightnessvery dark (22%)
Chromamuted (0.035)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.21:1
White text17.25:1

Values

HEX#021F1E
RGBrgb(2, 31, 30)
HSLhsl(178, 88%, 6%)
OKLCHoklch(21.7% 0.035 191.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 #021F1E 17.25:1 AAA Lc -106.3 Preferred for body text
Black text on #021F1E 1.21:1 Fails Lc 0.0 Not readable
#021F1E text on white 17.25:1 AAA Lc 104.0 Preferred for body text
#021F1E text on black 1.21: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

    #F1F7F6

    oklch(97.1% 0.006 185.3)

  2. Step 100

    100

    #E1EDEC

    oklch(93.7% 0.013 190.9)

  3. Step 200

    200

    #C9DEDD

    oklch(88.5% 0.022 193.3)

  4. Step 300

    300

    #A3CAC7

    oklch(81% 0.042 190.6)

  5. Step 400

    400

    #6EAEAB

    oklch(70.7% 0.066 192)

  6. Step 500

    500

    #419A96

    oklch(63.2% 0.085 191.2)

  7. Step 600

    600

    #128481

    oklch(55.6% 0.092 191.9)

  8. Step 700

    700

    #00706D

    oklch(49.2% 0.085 191.5)

  9. Step 800

    800

    #085B59

    oklch(42.7% 0.071 192.2)

  10. Step 900

    900

    #154B49

    oklch(37.8% 0.055 191.5)

  11. Step 950

    950 (this color)

    #021F1E

    oklch(21.7% 0.035 191.7)

Export this scale for Tailwind in the Tailwind colors tool

#021F1E 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)#1C1D1E0.036
Deuteranopia (no green cones)#18191E0.036
Tritanopia (no blue cones)#00201F0.004
Achromatopsia (no color)#1B1B1B0.035

Harmonies

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

Complementary

The opposite hue (180°).

  • #021F1E

    #021F1E

    oklch(21.7% 0.035 191.7)

  • #281316

    #281316

    oklch(21.8% 0.035 11.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #021F1E

    #021F1E

    oklch(21.7% 0.035 191.7)

  • #091F15

    #091F15

    oklch(21.8% 0.035 161.8)

  • #041D25

    #041D25

    oklch(21.6% 0.035 222.2)

Open the analogous palette in the generator

Split complementary

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

  • #021F1E

    #021F1E

    oklch(21.7% 0.035 191.7)

  • #25131F

    #25131F

    oklch(21.7% 0.036 340.4)

  • #28140D

    #28140D

    oklch(21.8% 0.036 40)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #021F1E

    #021F1E

    oklch(21.7% 0.035 191.7)

  • #1F1526

    #1F1526

    oklch(21.7% 0.035 310.6)

  • #241706

    #241706

    oklch(21.7% 0.036 72.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #021F1E

    #021F1E

    oklch(21.7% 0.035 191.7)

  • #17182A

    #17182A

    oklch(21.8% 0.035 280.6)

  • #281316

    #281316

    oklch(21.8% 0.035 11.2)

  • #1D1A06

    #1D1A06

    oklch(21.6% 0.034 101.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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