#042020

Closest named color: Rich Black (#0D1B2A). oklch(22.3% 0.034 195), rgb(4, 32, 32).

Aa

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

About this color

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

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

Values

HEX#042020
RGBrgb(4, 32, 32)
HSLhsl(180, 78%, 7%)
OKLCHoklch(22.3% 0.034 195)

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 #042020 17.03:1 AAA Lc -106.2 Preferred for body text
Black text on #042020 1.23:1 Fails Lc 0.0 Not readable
#042020 text on white 17.03:1 AAA Lc 103.8 Preferred for body text
#042020 text on black 1.23: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

    #F2F7F6

    oklch(97.2% 0.005 183)

  2. Step 100

    100

    #E2ECEC

    oklch(93.6% 0.011 197)

  3. Step 200

    200

    #C9DEDD

    oklch(88.5% 0.022 193.3)

  4. Step 300

    300

    #A4C9C8

    oklch(80.9% 0.039 194.4)

  5. Step 400

    400

    #70ADAD

    oklch(70.6% 0.063 195.8)

  6. Step 500

    500

    #449999

    oklch(63.1% 0.082 195.3)

  7. Step 600

    600

    #1B8383

    oklch(55.5% 0.088 194.9)

  8. Step 700

    700

    #076F6F

    oklch(49.1% 0.082 194.8)

  9. Step 800

    800

    #0F5A5A

    oklch(42.6% 0.068 194.9)

  10. Step 900

    900

    #184A4A

    oklch(37.6% 0.053 195.2)

  11. Step 950

    950 (this color)

    #042020

    oklch(22.3% 0.034 195)

Export this scale for Tailwind in the Tailwind colors tool

#042020 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)#1D1E200.035
Deuteranopia (no green cones)#191B200.032
Tritanopia (no blue cones)#0021200.005
Achromatopsia (no color)#1C1C1C0.034

Harmonies

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

Complementary

The opposite hue (180°).

  • #042020

    #042020

    oklch(22.3% 0.034 195)

  • #291416

    #291416

    oklch(22.2% 0.035 14.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #042020

    #042020

    oklch(22.3% 0.034 195)

  • #0A2017

    #0A2017

    oklch(22.2% 0.033 164.5)

  • #071E27

    #071E27

    oklch(22.2% 0.034 226.8)

Open the analogous palette in the generator

Split complementary

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

  • #042020

    #042020

    oklch(22.3% 0.034 195)

  • #26151F

    #26151F

    oklch(22.3% 0.033 343.9)

  • #28160E

    #28160E

    oklch(22.2% 0.033 44.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #042020

    #042020

    oklch(22.3% 0.034 195)

  • #211626

    #211626

    oklch(22.2% 0.034 314.9)

  • #241908

    #241908

    oklch(22.3% 0.033 76.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #042020

    #042020

    oklch(22.3% 0.034 195)

  • #1A192A

    #1A192A

    oklch(22.3% 0.033 286.1)

  • #291416

    #291416

    oklch(22.2% 0.035 14.1)

  • #1D1C08

    #1D1C08

    oklch(22.2% 0.034 106.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #042020 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.