#042A28

Closest named color: Jet (#212529). oklch(25.9% 0.041 189.7), rgb(4, 42, 40).

Aa

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

About this color

#042A28 is a dark, muted teal or cyan. In OKLCH its lightness is 26%, its chroma 0.041 and its hue 190°. Its hue sits on the cool side of the wheel. The nearest named color is Jet (#212529), ΔE 0.037 away. White text reads best on it, at 15.36:1.

Hue familyTeals and cyans
Lightnessdark (26%)
Chromamuted (0.041)
Temperaturecool
Nearest nameJet (#212529)
Black text1.36:1
White text15.36:1

Values

HEX#042A28
RGBrgb(4, 42, 40)
HSLhsl(177, 83%, 9%)
OKLCHoklch(25.9% 0.041 189.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 #042A28 15.36:1 AAA Lc -104.8 Preferred for body text
Black text on #042A28 1.36:1 Fails Lc 0.0 Not readable
#042A28 text on white 15.36:1 AAA Lc 102.1 Preferred for body text
#042A28 text on black 1.36: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

    #E0EDEC

    oklch(93.6% 0.014 191.4)

  3. Step 200

    200

    #C6DFDD

    oklch(88.5% 0.027 190.8)

  4. Step 300

    300

    #9DCBC7

    oklch(80.8% 0.049 189.6)

  5. Step 400

    400

    #62B1AB

    oklch(70.8% 0.079 189.2)

  6. Step 500

    500

    #269D97

    oklch(63.2% 0.1 189.8)

  7. Step 600

    600

    #00857F

    oklch(55.6% 0.096 189.2)

  8. Step 700

    700

    #00706B

    oklch(49.2% 0.085 189.4)

  9. Step 800

    800

    #005C58

    oklch(42.8% 0.074 189.6)

  10. Step 900

    900

    #004C49

    oklch(37.6% 0.065 190.2)

  11. Step 950

    950 (this color)

    #042A28

    oklch(25.9% 0.041 189.7)

Export this scale for Tailwind in the Tailwind colors tool

#042A28 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)#2727280.044
Deuteranopia (no green cones)#2123280.041
Tritanopia (no blue cones)#002B290.004
Achromatopsia (no color)#2525250.042

Harmonies

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

Complementary

The opposite hue (180°).

  • #042A28

    #042A28

    oklch(25.9% 0.041 189.7)

  • #351B1F

    #351B1F

    oklch(25.9% 0.041 10.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #042A28

    #042A28

    oklch(25.9% 0.041 189.7)

  • #0F2A1D

    #0F2A1D

    oklch(25.9% 0.042 160.5)

  • #062831

    #062831

    oklch(25.8% 0.041 219.3)

Open the analogous palette in the generator

Split complementary

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

  • #042A28

    #042A28

    oklch(25.9% 0.041 189.7)

  • #311C2A

    #311C2A

    oklch(26% 0.04 340.2)

  • #351C14

    #351C14

    oklch(25.8% 0.042 38.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #042A28

    #042A28

    oklch(25.9% 0.041 189.7)

  • #2A1E33

    #2A1E33

    oklch(25.9% 0.042 309.9)

  • #31200B

    #31200B

    oklch(26% 0.042 69.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #042A28

    #042A28

    oklch(25.9% 0.041 189.7)

  • #202137

    #202137

    oklch(25.8% 0.041 281.1)

  • #351B1F

    #351B1F

    oklch(25.9% 0.041 10.5)

  • #28240A

    #28240A

    oklch(25.8% 0.041 100.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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