#021E28

Closest named color: Rich Black (#0D1B2A). oklch(21.9% 0.039 225.2), rgb(2, 30, 40).

Aa

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

About this color

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

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

Values

HEX#021E28
RGBrgb(2, 30, 40)
HSLhsl(196, 90%, 8%)
OKLCHoklch(21.9% 0.039 225.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 #021E28 17.22:1 AAA Lc -106.3 Preferred for body text
Black text on #021E28 1.21:1 Fails Lc 0.0 Not readable
#021E28 text on white 17.22:1 AAA Lc 103.9 Preferred for body text
#021E28 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

    #F1F6F9

    oklch(97% 0.007 233.6)

  2. Step 100

    100

    #E1ECF1

    oklch(93.6% 0.014 226.6)

  3. Step 200

    200

    #C8DDE6

    oklch(88.5% 0.026 225.3)

  4. Step 300

    300

    #A2C8D7

    oklch(81% 0.046 223.9)

  5. Step 400

    400

    #6CABC3

    oklch(70.8% 0.074 224.2)

  6. Step 500

    500

    #3F95B4

    oklch(63% 0.094 225.1)

  7. Step 600

    600

    #0E7FA0

    oklch(55.6% 0.102 225)

  8. Step 700

    700

    #006B88

    oklch(49.1% 0.093 224.9)

  9. Step 800

    800

    #06576F

    oklch(42.6% 0.079 225.3)

  10. Step 900

    900

    #14485A

    oklch(37.7% 0.061 225.3)

  11. Step 950

    950 (this color)

    #021E28

    oklch(21.9% 0.039 225.2)

Export this scale for Tailwind in the Tailwind colors tool

#021E28 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)#181D290.029
Deuteranopia (no green cones)#1319280.026
Tritanopia (no blue cones)#0021210.021
Achromatopsia (no color)#1B1B1B0.039

Harmonies

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

Complementary

The opposite hue (180°).

  • #021E28

    #021E28

    oklch(21.9% 0.039 225.2)

  • #29140A

    #29140A

    oklch(21.9% 0.039 45.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #021E28

    #021E28

    oklch(21.9% 0.039 225.2)

  • #002020

    #002020

    oklch(22% 0.038 194.8)

  • #0D1B2C

    #0D1B2C

    oklch(21.9% 0.039 254.1)

Open the analogous palette in the generator

Split complementary

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

  • #021E28

    #021E28

    oklch(21.9% 0.039 225.2)

  • #2A1214

    #2A1214

    oklch(21.9% 0.04 15.6)

  • #251804

    #251804

    oklch(22.1% 0.039 76.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #021E28

    #021E28

    oklch(21.9% 0.039 225.2)

  • #27131E

    #27131E

    oklch(22% 0.038 346.5)

  • #1D1B04

    #1D1B04

    oklch(21.8% 0.039 104.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #021E28

    #021E28

    oklch(21.9% 0.039 225.2)

  • #211527

    #211527

    oklch(22% 0.038 313.9)

  • #29140A

    #29140A

    oklch(21.9% 0.039 45.6)

  • #121E0B

    #121E0B

    oklch(21.8% 0.039 135)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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