#2D4845

Closest named color: Dark Slate Gray (#2F4F4F). oklch(37.9% 0.033 187.1), rgb(45, 72, 69).

Aa

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

About this color

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

Hue familyTeals and cyans
Lightnessdark (38%)
Chromamuted (0.033)
Temperaturecool
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.12:1
White text9.88:1

Values

HEX#2D4845
RGBrgb(45, 72, 69)
HSLhsl(173, 23%, 23%)
OKLCHoklch(37.9% 0.033 187.1)

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 #2D4845 9.88:1 AAA Lc -97.0 Preferred for body text
Black text on #2D4845 2.12:1 Fails Lc 11.1 Not readable
#2D4845 text on white 9.88:1 AAA Lc 92.9 Preferred for body text
#2D4845 text on black 2.12:1 Fails Lc -9.6 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 900.

  1. Step 50

    50

    #F3F6F6

    oklch(97.1% 0.003 197.1)

  2. Step 100

    100

    #E5EBEA

    oklch(93.5% 0.007 185.3)

  3. Step 200

    200

    #D0DCDA

    oklch(88.5% 0.013 185.1)

  4. Step 300

    300

    #AFC6C3

    oklch(80.8% 0.025 187.2)

  5. Step 400

    400

    #85A9A5

    oklch(70.7% 0.04 187.9)

  6. Step 500

    500

    #65948F

    oklch(63.1% 0.051 187.6)

  7. Step 600

    600

    #4B7E79

    oklch(55.6% 0.056 187.7)

  8. Step 700

    700

    #3C6A66

    oklch(49% 0.051 188.5)

  9. Step 800

    800

    #325753

    oklch(42.8% 0.043 186.9)

  10. Step 900

    900 (this color)

    #2D4845

    oklch(37.9% 0.033 187.1)

  11. Step 950

    950

    #1A2A28

    oklch(27% 0.022 186.2)

Export this scale for Tailwind in the Tailwind colors tool

#2D4845 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)#4545450.035
Deuteranopia (no green cones)#4042450.032
Tritanopia (no blue cones)#2449470.010
Achromatopsia (no color)#4343430.033

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D4845

    #2D4845

    oklch(37.9% 0.033 187.1)

  • #523B3F

    #523B3F

    oklch(37.9% 0.033 7.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D4845

    #2D4845

    oklch(37.9% 0.033 187.1)

  • #33483B

    #33483B

    oklch(38% 0.034 157.2)

  • #2D474E

    #2D474E

    oklch(38% 0.034 216.5)

Open the analogous palette in the generator

Split complementary

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

  • #2D4845

    #2D4845

    oklch(37.9% 0.033 187.1)

  • #4E3B49

    #4E3B49

    oklch(37.8% 0.035 335.9)

  • #523C36

    #523C36

    oklch(37.9% 0.033 35.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D4845

    #2D4845

    oklch(37.9% 0.033 187.1)

  • #473E50

    #473E50

    oklch(38% 0.032 307.5)

  • #4E3F2F

    #4E3F2F

    oklch(37.9% 0.033 68.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D4845

    #2D4845

    oklch(37.9% 0.033 187.1)

  • #3D4154

    #3D4154

    oklch(37.9% 0.033 275.5)

  • #523B3F

    #523B3F

    oklch(37.9% 0.033 7.2)

  • #47422E

    #47422E

    oklch(37.8% 0.033 95.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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