#04231B

Closest named color: Rich Black (#0D1B2A). oklch(23.1% 0.04 172.5), rgb(4, 35, 27).

Aa

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

About this color

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

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

Values

HEX#04231B
RGBrgb(4, 35, 27)
HSLhsl(165, 79%, 8%)
OKLCHoklch(23.1% 0.04 172.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 #04231B 16.64:1 AAA Lc -105.9 Preferred for body text
Black text on #04231B 1.26:1 Fails Lc 0.0 Not readable
#04231B text on white 16.64:1 AAA Lc 103.4 Preferred for body text
#04231B text on black 1.26: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

    #F1F7F5

    oklch(97.1% 0.007 174.4)

  2. Step 100

    100

    #E1EDE9

    oklch(93.6% 0.014 174.2)

  3. Step 200

    200

    #C9DFD7

    oklch(88.5% 0.026 171.9)

  4. Step 300

    300

    #A2CBBD

    oklch(80.9% 0.048 172.2)

  5. Step 400

    400

    #6DB09C

    oklch(70.6% 0.075 173.1)

  6. Step 500

    500

    #3F9C83

    oklch(63% 0.096 172.5)

  7. Step 600

    600

    #0C876D

    oklch(55.7% 0.105 172.5)

  8. Step 700

    700

    #00725B

    oklch(49.2% 0.095 172.3)

  9. Step 800

    800

    #055D4A

    oklch(42.7% 0.081 172.2)

  10. Step 900

    900

    #144C3E

    oklch(37.6% 0.062 172.8)

  11. Step 950

    950 (this color)

    #04231B

    oklch(23.1% 0.04 172.5)

Export this scale for Tailwind in the Tailwind colors tool

#04231B 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)#22201B0.042
Deuteranopia (no green cones)#1D1D1C0.039
Tritanopia (no blue cones)#0023210.012
Achromatopsia (no color)#1E1E1E0.040

Harmonies

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

Complementary

The opposite hue (180°).

  • #04231B

    #04231B

    oklch(23.1% 0.04 172.5)

  • #2B151F

    #2B151F

    oklch(23.1% 0.039 351.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #04231B

    #04231B

    oklch(23.1% 0.04 172.5)

  • #112210

    #112210

    oklch(23.1% 0.041 142.9)

  • #002225

    #002225

    oklch(23% 0.039 203.3)

Open the analogous palette in the generator

Split complementary

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

  • #04231B

    #04231B

    oklch(23.1% 0.04 172.5)

  • #261628

    #261628

    oklch(23% 0.041 322.9)

  • #2D1514

    #2D1514

    oklch(23% 0.039 23.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #04231B

    #04231B

    oklch(23.1% 0.04 172.5)

  • #1E192E

    #1E192E

    oklch(23% 0.04 293.9)

  • #2C170A

    #2C170A

    oklch(23% 0.041 51.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #04231B

    #04231B

    oklch(23.1% 0.04 172.5)

  • #131D30

    #131D30

    oklch(23.2% 0.04 262.5)

  • #2B151F

    #2B151F

    oklch(23.1% 0.039 351.9)

  • #261B05

    #261B05

    oklch(23% 0.039 82.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #04231B 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.