#042D28

Closest named color: Jet (#212529). oklch(26.8% 0.045 182.9), rgb(4, 45, 40).

Aa

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

About this color

#042D28 is a dark, muted teal or cyan. In OKLCH its lightness is 27%, its chroma 0.045 and its hue 183°. Its hue sits on the cool side of the wheel. The nearest named color is Jet (#212529), ΔE 0.042 away. White text reads best on it, at 14.88:1.

Hue familyTeals and cyans
Lightnessdark (27%)
Chromamuted (0.045)
Temperaturecool
Nearest nameJet (#212529)
Black text1.41:1
White text14.88:1

Values

HEX#042D28
RGBrgb(4, 45, 40)
HSLhsl(173, 84%, 10%)
OKLCHoklch(26.8% 0.045 182.9)

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 #042D28 14.88:1 AAA Lc -104.4 Preferred for body text
Black text on #042D28 1.41:1 Fails Lc 0.0 Not readable
#042D28 text on white 14.88:1 AAA Lc 101.5 Preferred for body text
#042D28 text on black 1.41: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

    #DFEDEB

    oklch(93.5% 0.015 186.7)

  3. Step 200

    200

    #C5E0DB

    oklch(88.5% 0.029 183.3)

  4. Step 300

    300

    #9BCCC4

    oklch(80.8% 0.052 183.9)

  5. Step 400

    400

    #5EB2A5

    oklch(70.7% 0.085 182.6)

  6. Step 500

    500

    #189E8F

    oklch(63% 0.108 182.8)

  7. Step 600

    600

    #008679

    oklch(55.7% 0.099 183.1)

  8. Step 700

    700

    #007065

    oklch(49% 0.087 183.1)

  9. Step 800

    800

    #005C53

    oklch(42.6% 0.076 183.4)

  10. Step 900

    900

    #004D45

    oklch(37.7% 0.067 183.1)

  11. Step 950

    950 (this color)

    #042D28

    oklch(26.8% 0.045 182.9)

Export this scale for Tailwind in the Tailwind colors tool

#042D28 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)#2A2A280.047
Deuteranopia (no green cones)#2526280.044
Tritanopia (no blue cones)#002E2B0.006
Achromatopsia (no color)#2727270.045

Harmonies

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

Complementary

The opposite hue (180°).

  • #042D28

    #042D28

    oklch(26.8% 0.045 182.9)

  • #381C24

    #381C24

    oklch(26.8% 0.045 2.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #042D28

    #042D28

    oklch(26.8% 0.045 182.9)

  • #132C1B

    #132C1B

    oklch(26.7% 0.045 152.7)

  • #032C33

    #032C33

    oklch(27% 0.045 211.9)

Open the analogous palette in the generator

Split complementary

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

  • #042D28

    #042D28

    oklch(26.8% 0.045 182.9)

  • #331E2F

    #331E2F

    oklch(26.9% 0.043 333.8)

  • #391D18

    #391D18

    oklch(26.8% 0.045 31)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #042D28

    #042D28

    oklch(26.8% 0.045 182.9)

  • #2A2038

    #2A2038

    oklch(26.7% 0.046 302.6)

  • #35210D

    #35210D

    oklch(26.8% 0.044 63.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #042D28

    #042D28

    oklch(26.8% 0.045 182.9)

  • #1F243C

    #1F243C

    oklch(26.8% 0.045 274)

  • #381C24

    #381C24

    oklch(26.8% 0.045 2.3)

  • #2E2509

    #2E2509

    oklch(26.8% 0.045 91.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #042D28 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.