#021D27

Closest named color: Rich Black (#0D1B2A). oklch(21.6% 0.038 225.8), rgb(2, 29, 39).

Aa

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

About this color

#021D27 is a very dark, muted teal or cyan. In OKLCH its lightness is 22%, its chroma 0.038 and its hue 226°. 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.38:1.

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

Values

HEX#021D27
RGBrgb(2, 29, 39)
HSLhsl(196, 90%, 8%)
OKLCHoklch(21.6% 0.038 225.8)

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 #021D27 17.38:1 AAA Lc -106.4 Preferred for body text
Black text on #021D27 1.20:1 Fails Lc 0.0 Not readable
#021D27 text on white 17.38:1 AAA Lc 104.1 Preferred for body text
#021D27 text on black 1.20: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

    #A2C7D7

    oklch(80.8% 0.045 226)

  5. Step 400

    400

    #6DAAC3

    oklch(70.6% 0.073 225.9)

  6. Step 500

    500

    #4195B4

    oklch(63.1% 0.093 225.5)

  7. Step 600

    600

    #157FA0

    oklch(55.7% 0.101 225.5)

  8. Step 700

    700

    #006B89

    oklch(49.1% 0.094 225.7)

  9. Step 800

    800

    #0B576F

    oklch(42.6% 0.078 225.9)

  10. Step 900

    900

    #15485A

    oklch(37.7% 0.061 225.6)

  11. Step 950

    950 (this color)

    #021D27

    oklch(21.6% 0.038 225.8)

Export this scale for Tailwind in the Tailwind colors tool

#021D27 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)#181C270.029
Deuteranopia (no green cones)#1218270.026
Tritanopia (no blue cones)#0020200.021
Achromatopsia (no color)#1A1A1A0.038

Harmonies

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

Complementary

The opposite hue (180°).

  • #021D27

    #021D27

    oklch(21.6% 0.038 225.8)

  • #28130A

    #28130A

    oklch(21.5% 0.039 43.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #021D27

    #021D27

    oklch(21.6% 0.038 225.8)

  • #001F1F

    #001F1F

    oklch(21.7% 0.037 194.8)

  • #0D1A2B

    #0D1A2B

    oklch(21.5% 0.038 255.6)

Open the analogous palette in the generator

Split complementary

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

  • #021D27

    #021D27

    oklch(21.6% 0.038 225.8)

  • #291213

    #291213

    oklch(21.6% 0.038 18)

  • #241704

    #241704

    oklch(21.7% 0.038 75.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #021D27

    #021D27

    oklch(21.6% 0.038 225.8)

  • #26121D

    #26121D

    oklch(21.5% 0.038 346.6)

  • #1C1B04

    #1C1B04

    oklch(21.7% 0.039 107)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #021D27

    #021D27

    oklch(21.6% 0.038 225.8)

  • #201426

    #201426

    oklch(21.6% 0.038 313.9)

  • #28130A

    #28130A

    oklch(21.5% 0.039 43.5)

  • #111E0B

    #111E0B

    oklch(21.7% 0.04 136.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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