#042C2F

Closest named color: Dark (#1B2431). oklch(26.8% 0.043 202.5), rgb(4, 44, 47).

Aa

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

About this color

#042C2F is a dark, muted teal or cyan. In OKLCH its lightness is 27%, its chroma 0.043 and its hue 202°. Its hue sits on the cool side of the wheel. The nearest named color is Dark (#1B2431), ΔE 0.037 away. White text reads best on it, at 14.93:1.

Hue familyTeals and cyans
Lightnessdark (27%)
Chromamuted (0.043)
Temperaturecool
Nearest nameDark (#1B2431)
Black text1.40:1
White text14.93:1

Values

HEX#042C2F
RGBrgb(4, 44, 47)
HSLhsl(184, 84%, 10%)
OKLCHoklch(26.8% 0.043 202.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 #042C2F 14.93:1 AAA Lc -104.4 Preferred for body text
Black text on #042C2F 1.40:1 Fails Lc 0.0 Not readable
#042C2F text on white 14.93:1 AAA Lc 101.6 Preferred for body text
#042C2F text on black 1.40: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

    #F1F7F7

    oklch(97.2% 0.006 197.1)

  2. Step 100

    100

    #DFEDEE

    oklch(93.6% 0.015 202)

  3. Step 200

    200

    #C5DFE1

    oklch(88.5% 0.028 202.3)

  4. Step 300

    300

    #9BCBCF

    oklch(81% 0.05 202.6)

  5. Step 400

    400

    #5EB0B6

    oklch(70.8% 0.081 201.7)

  6. Step 500

    500

    #189BA4

    oklch(63% 0.103 202.4)

  7. Step 600

    600

    #00838B

    oklch(55.5% 0.095 202.3)

  8. Step 700

    700

    #006E75

    oklch(49% 0.083 202.5)

  9. Step 800

    800

    #005A60

    oklch(42.6% 0.073 202.7)

  10. Step 900

    900

    #004B50

    oklch(37.6% 0.064 202.5)

  11. Step 950

    950 (this color)

    #042C2F

    oklch(26.8% 0.043 202.5)

Export this scale for Tailwind in the Tailwind colors tool

#042C2F 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)#282A2F0.043
Deuteranopia (no green cones)#22252F0.040
Tritanopia (no blue cones)#002E2D0.010
Achromatopsia (no color)#2727270.043

Harmonies

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

Complementary

The opposite hue (180°).

  • #042C2F

    #042C2F

    oklch(26.8% 0.043 202.5)

  • #381D1C

    #381D1C

    oklch(26.7% 0.043 22.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #042C2F

    #042C2F

    oklch(26.8% 0.043 202.5)

  • #0B2D24

    #0B2D24

    oklch(26.9% 0.043 172.4)

  • #0D2937

    #0D2937

    oklch(26.7% 0.042 233.3)

Open the analogous palette in the generator

Split complementary

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

  • #042C2F

    #042C2F

    oklch(26.8% 0.043 202.5)

  • #361D28

    #361D28

    oklch(26.8% 0.043 352.5)

  • #362011

    #362011

    oklch(26.8% 0.042 54.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #042C2F

    #042C2F

    oklch(26.8% 0.043 202.5)

  • #301F32

    #301F32

    oklch(26.9% 0.042 323)

  • #30240B

    #30240B

    oklch(26.8% 0.043 83.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #042C2F

    #042C2F

    oklch(26.8% 0.043 202.5)

  • #272239

    #272239

    oklch(26.9% 0.042 293.3)

  • #381D1C

    #381D1C

    oklch(26.7% 0.043 22.6)

  • #26280E

    #26280E

    oklch(26.8% 0.042 112.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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