#021F1D

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

Aa

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

About this color

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

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

Values

HEX#021F1D
RGBrgb(2, 31, 29)
HSLhsl(176, 88%, 6%)
OKLCHoklch(21.7% 0.035 188.5)

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 #021F1D 17.26:1 AAA Lc -106.3 Preferred for body text
Black text on #021F1D 1.21:1 Fails Lc 0.0 Not readable
#021F1D text on white 17.26:1 AAA Lc 104.0 Preferred for body text
#021F1D 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

    #E1EDEB

    oklch(93.7% 0.013 185.1)

  3. Step 200

    200

    #C9DEDC

    oklch(88.4% 0.023 189.8)

  4. Step 300

    300

    #A3CAC6

    oklch(81% 0.042 188.7)

  5. Step 400

    400

    #6EAEA9

    oklch(70.6% 0.066 189.5)

  6. Step 500

    500

    #419A93

    oklch(63.1% 0.085 188.2)

  7. Step 600

    600

    #12847E

    oklch(55.5% 0.092 189.1)

  8. Step 700

    700

    #00706A

    oklch(49.1% 0.085 188.3)

  9. Step 800

    800

    #095B57

    oklch(42.6% 0.071 189.5)

  10. Step 900

    900

    #154B47

    oklch(37.7% 0.056 188.1)

  11. Step 950

    950 (this color)

    #021F1D

    oklch(21.7% 0.035 188.5)

Export this scale for Tailwind in the Tailwind colors tool

#021F1D 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)#1D1D1D0.038
Deuteranopia (no green cones)#18191D0.036
Tritanopia (no blue cones)#00201E0.004
Achromatopsia (no color)#1B1B1B0.036

Harmonies

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

Complementary

The opposite hue (180°).

  • #021F1D

    #021F1D

    oklch(21.7% 0.035 188.5)

  • #281317

    #281317

    oklch(21.8% 0.035 8.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #021F1D

    #021F1D

    oklch(21.7% 0.035 188.5)

  • #0A1F14

    #0A1F14

    oklch(21.8% 0.035 158.7)

  • #031E25

    #031E25

    oklch(21.8% 0.035 217.8)

Open the analogous palette in the generator

Split complementary

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

  • #021F1D

    #021F1D

    oklch(21.7% 0.035 188.5)

  • #24131F

    #24131F

    oklch(21.5% 0.035 338.4)

  • #28140D

    #28140D

    oklch(21.8% 0.036 40)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #021F1D

    #021F1D

    oklch(21.7% 0.035 188.5)

  • #1E1526

    #1E1526

    oklch(21.6% 0.035 308)

  • #241707

    #241707

    oklch(21.7% 0.034 70.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #021F1D

    #021F1D

    oklch(21.7% 0.035 188.5)

  • #16182A

    #16182A

    oklch(21.7% 0.035 278.2)

  • #281317

    #281317

    oklch(21.8% 0.035 8.1)

  • #1E1A06

    #1E1A06

    oklch(21.7% 0.035 98.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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