#2D4F52

Closest named color: Dark Slate Gray (#2F4F4F). oklch(40.3% 0.04 202.9), rgb(45, 79, 82).

Aa

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

About this color

#2D4F52 is a dark, muted teal or cyan. In OKLCH its lightness is 40%, its chroma 0.040 and its hue 203°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.005 away. White text reads best on it, at 8.92:1.

Hue familyTeals and cyans
Lightnessdark (40%)
Chromamuted (0.040)
Temperaturecool
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.35:1
White text8.92:1

Values

HEX#2D4F52
RGBrgb(45, 79, 82)
HSLhsl(185, 29%, 25%)
OKLCHoklch(40.3% 0.04 202.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 #2D4F52 8.92:1 AAA Lc -94.8 Preferred for body text
Black text on #2D4F52 2.35:1 Fails Lc 13.6 Not readable
#2D4F52 text on white 8.92:1 AAA Lc 90.4 Preferred for body text
#2D4F52 text on black 2.35:1 Fails Lc -11.9 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 800.

  1. Step 50

    50

    #F3F6F6

    oklch(97.1% 0.003 197.1)

  2. Step 100

    100

    #E5EBEC

    oklch(93.6% 0.007 208.8)

  3. Step 200

    200

    #D0DCDD

    oklch(88.6% 0.013 202.9)

  4. Step 300

    300

    #B0C5C7

    oklch(80.8% 0.023 203.7)

  5. Step 400

    400

    #86A8AB

    oklch(70.7% 0.037 203)

  6. Step 500

    500

    #679296

    oklch(63% 0.047 203.3)

  7. Step 600

    600

    #4D7D81

    oklch(55.7% 0.052 202.5)

  8. Step 700

    700

    #3E696D

    oklch(49.1% 0.048 203.3)

  9. Step 800

    800 (this color)

    #2D4F52

    oklch(40.3% 0.04 202.9)

  10. Step 900

    900

    #2D4749

    oklch(37.8% 0.032 202)

  11. Step 950

    950

    #1B292B

    oklch(26.9% 0.019 207.1)

Export this scale for Tailwind in the Tailwind colors tool

#2D4F52 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)#4A4C520.040
Deuteranopia (no green cones)#4448520.036
Tritanopia (no blue cones)#1C51500.018
Achromatopsia (no color)#4A4A4A0.040

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D4F52

    #2D4F52

    oklch(40.3% 0.04 202.9)

  • #5C403E

    #5C403E

    oklch(40.2% 0.04 23.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D4F52

    #2D4F52

    oklch(40.3% 0.04 202.9)

  • #315046

    #315046

    oklch(40.4% 0.041 171.8)

  • #324C5B

    #324C5B

    oklch(40.2% 0.04 234.5)

Open the analogous palette in the generator

Split complementary

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

  • #2D4F52

    #2D4F52

    oklch(40.3% 0.04 202.9)

  • #5A404A

    #5A404A

    oklch(40.4% 0.039 354.1)

  • #5A4334

    #5A4334

    oklch(40.4% 0.04 54.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D4F52

    #2D4F52

    oklch(40.3% 0.04 202.9)

  • #534155

    #534155

    oklch(40.2% 0.04 323)

  • #53472F

    #53472F

    oklch(40.4% 0.041 84.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D4F52

    #2D4F52

    oklch(40.3% 0.04 202.9)

  • #49455C

    #49455C

    oklch(40.4% 0.039 292.6)

  • #5C403E

    #5C403E

    oklch(40.2% 0.04 23.6)

  • #484B32

    #484B32

    oklch(40.3% 0.04 113.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2D4F52 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.