#042C35

Closest named color: Dark (#1B2431). oklch(27.1% 0.045 216.7), rgb(4, 44, 53).

Aa

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

About this color

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

Hue familyTeals and cyans
Lightnessdark (27%)
Chromamuted (0.045)
Temperaturecool
Nearest nameDark (#1B2431)
Black text1.41:1
White text14.82:1

Values

HEX#042C35
RGBrgb(4, 44, 53)
HSLhsl(191, 86%, 11%)
OKLCHoklch(27.1% 0.045 216.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 #042C35 14.82:1 AAA Lc -104.3 Preferred for body text
Black text on #042C35 1.41:1 Fails Lc 0.0 Not readable
#042C35 text on white 14.82:1 AAA Lc 101.4 Preferred for body text
#042C35 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

    #F0F7F9

    oklch(97.1% 0.008 216.6)

  2. Step 100

    100

    #DFEDF1

    oklch(93.7% 0.016 216.7)

  3. Step 200

    200

    #C4DEE6

    oklch(88.4% 0.03 218.2)

  4. Step 300

    300

    #9ACAD7

    oklch(81% 0.053 216.2)

  5. Step 400

    400

    #5CAEC3

    oklch(70.7% 0.085 216.5)

  6. Step 500

    500

    #1399B4

    oklch(63.1% 0.109 216.7)

  7. Step 600

    600

    #008199

    oklch(55.6% 0.099 216.9)

  8. Step 700

    700

    #006C81

    oklch(49% 0.088 217.4)

  9. Step 800

    800

    #00596A

    oklch(42.8% 0.076 216.6)

  10. Step 900

    900

    #004A59

    oklch(37.7% 0.067 217.2)

  11. Step 950

    950 (this color)

    #042C35

    oklch(27.1% 0.045 216.7)

Export this scale for Tailwind in the Tailwind colors tool

#042C35 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)#262A350.039
Deuteranopia (no green cones)#1F26350.034
Tritanopia (no blue cones)#002F2F0.018
Achromatopsia (no color)#2828280.046

Harmonies

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

Complementary

The opposite hue (180°).

  • #042C35

    #042C35

    oklch(27.1% 0.045 216.7)

  • #3A1E17

    #3A1E17

    oklch(27.1% 0.046 34.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #042C35

    #042C35

    oklch(27.1% 0.045 216.7)

  • #032E2A

    #032E2A

    oklch(27.2% 0.046 185.5)

  • #13293C

    #13293C

    oklch(27.3% 0.045 246.5)

Open the analogous palette in the generator

Split complementary

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

  • #042C35

    #042C35

    oklch(27.1% 0.045 216.7)

  • #391D23

    #391D23

    oklch(27.1% 0.045 6.7)

  • #36220C

    #36220C

    oklch(27.2% 0.046 66.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #042C35

    #042C35

    oklch(27.1% 0.045 216.7)

  • #351E2F

    #351E2F

    oklch(27.2% 0.045 337)

  • #2D270A

    #2D270A

    oklch(27.2% 0.045 97.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #042C35

    #042C35

    oklch(27.1% 0.045 216.7)

  • #2C2138

    #2C2138

    oklch(27.2% 0.044 305.6)

  • #3A1E17

    #3A1E17

    oklch(27.1% 0.046 34.9)

  • #212B11

    #212B11

    oklch(27.2% 0.046 126.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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