#04221E

Closest named color: Rich Black (#0D1B2A). oklch(22.8% 0.036 182.7), rgb(4, 34, 30).

Aa

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

About this color

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

Hue familyTeals and cyans
Lightnessvery dark (23%)
Chromamuted (0.036)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.25:1
White text16.76:1

Values

HEX#04221E
RGBrgb(4, 34, 30)
HSLhsl(172, 79%, 7%)
OKLCHoklch(22.8% 0.036 182.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 #04221E 16.76:1 AAA Lc -106.0 Preferred for body text
Black text on #04221E 1.25:1 Fails Lc 0.0 Not readable
#04221E text on white 16.76:1 AAA Lc 103.5 Preferred for body text
#04221E text on black 1.25: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

    #E1EDEA

    oklch(93.6% 0.013 179.5)

  3. Step 200

    200

    #C9DFDA

    oklch(88.6% 0.024 180.6)

  4. Step 300

    300

    #A3CAC3

    oklch(80.9% 0.043 183.1)

  5. Step 400

    400

    #6EAFA4

    oklch(70.7% 0.069 182.4)

  6. Step 500

    500

    #419B8E

    oklch(63.1% 0.088 182.5)

  7. Step 600

    600

    #118578

    oklch(55.5% 0.096 182.7)

  8. Step 700

    700

    #007165

    oklch(49.2% 0.088 182.2)

  9. Step 800

    800

    #085C53

    oklch(42.8% 0.074 183.2)

  10. Step 900

    900

    #154B44

    oklch(37.6% 0.057 183)

  11. Step 950

    950 (this color)

    #04221E

    oklch(22.8% 0.036 182.7)

Export this scale for Tailwind in the Tailwind colors tool

#04221E 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)#201F1E0.039
Deuteranopia (no green cones)#1B1C1E0.036
Tritanopia (no blue cones)#0023210.006
Achromatopsia (no color)#1E1E1E0.037

Harmonies

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

Complementary

The opposite hue (180°).

  • #04221E

    #04221E

    oklch(22.8% 0.036 182.7)

  • #2B151B

    #2B151B

    oklch(22.9% 0.037 2.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #04221E

    #04221E

    oklch(22.8% 0.036 182.7)

  • #0E2114

    #0E2114

    oklch(22.7% 0.036 152.8)

  • #032127

    #032127

    oklch(22.9% 0.037 213.4)

Open the analogous palette in the generator

Split complementary

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

  • #04221E

    #04221E

    oklch(22.8% 0.036 182.7)

  • #271624

    #271624

    oklch(22.9% 0.037 333.2)

  • #2B1611

    #2B1611

    oklch(22.8% 0.036 34.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #04221E

    #04221E

    oklch(22.8% 0.036 182.7)

  • #20182B

    #20182B

    oklch(22.8% 0.038 302.9)

  • #291809

    #291809

    oklch(22.8% 0.037 60.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #04221E

    #04221E

    oklch(22.8% 0.036 182.7)

  • #171B2E

    #171B2E

    oklch(22.8% 0.037 274)

  • #2B151B

    #2B151B

    oklch(22.9% 0.037 2.8)

  • #221C07

    #221C07

    oklch(22.8% 0.036 93.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #04221E 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.