#042E28

Closest named color: Jet (#212529). oklch(27.2% 0.046 180.9), rgb(4, 46, 40).

Aa

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

About this color

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

Hue familyTeals and cyans
Lightnessdark (27%)
Chromamuted (0.046)
Temperaturecool
Nearest nameJet (#212529)
Black text1.42:1
White text14.72:1

Values

HEX#042E28
RGBrgb(4, 46, 40)
HSLhsl(171, 84%, 10%)
OKLCHoklch(27.2% 0.046 180.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 #042E28 14.72:1 AAA Lc -104.2 Preferred for body text
Black text on #042E28 1.42:1 Fails Lc 0.0 Not readable
#042E28 text on white 14.72:1 AAA Lc 101.3 Preferred for body text
#042E28 text on black 1.42: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

    #DFEDEA

    oklch(93.5% 0.015 181.8)

  3. Step 200

    200

    #C5E0DA

    oklch(88.5% 0.03 180.7)

  4. Step 300

    300

    #9ACDC2

    oklch(80.9% 0.055 180.1)

  5. Step 400

    400

    #5CB2A3

    oklch(70.5% 0.087 180.9)

  6. Step 500

    500

    #129F8D

    oklch(63.1% 0.111 180.8)

  7. Step 600

    600

    #008676

    oklch(55.6% 0.1 180.5)

  8. Step 700

    700

    #007163

    oklch(49.2% 0.089 180.3)

  9. Step 800

    800

    #005C51

    oklch(42.6% 0.077 181.1)

  10. Step 900

    900

    #004D44

    oklch(37.7% 0.068 181.7)

  11. Step 950

    950 (this color)

    #042E28

    oklch(27.2% 0.046 180.9)

Export this scale for Tailwind in the Tailwind colors tool

#042E28 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)#2B2B280.048
Deuteranopia (no green cones)#2626290.048
Tritanopia (no blue cones)#002F2C0.007
Achromatopsia (no color)#2828280.046

Harmonies

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

Complementary

The opposite hue (180°).

  • #042E28

    #042E28

    oklch(27.2% 0.046 180.9)

  • #391D25

    #391D25

    oklch(27.2% 0.045 2.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #042E28

    #042E28

    oklch(27.2% 0.046 180.9)

  • #142D1B

    #142D1B

    oklch(27.1% 0.046 151.4)

  • #022D33

    #022D33

    oklch(27.3% 0.045 209.1)

Open the analogous palette in the generator

Split complementary

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

  • #042E28

    #042E28

    oklch(27.2% 0.046 180.9)

  • #341E31

    #341E31

    oklch(27.2% 0.046 331.7)

  • #3A1E19

    #3A1E19

    oklch(27.2% 0.045 31)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #042E28

    #042E28

    oklch(27.2% 0.046 180.9)

  • #2B213A

    #2B213A

    oklch(27.2% 0.047 301.8)

  • #37210E

    #37210E

    oklch(27.1% 0.046 59.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #042E28

    #042E28

    oklch(27.2% 0.046 180.9)

  • #1E253D

    #1E253D

    oklch(27% 0.046 270.7)

  • #391D25

    #391D25

    oklch(27.2% 0.045 2.2)

  • #2F2609

    #2F2609

    oklch(27.2% 0.046 91.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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