#254F47

Closest named color: Dark Slate Gray (#2F4F4F). oklch(39.5% 0.049 179.7), rgb(37, 79, 71).

Aa

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

About this color

#254F47 is a dark, muted teal or cyan. In OKLCH its lightness is 39%, its chroma 0.049 and its hue 180°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.019 away. White text reads best on it, at 9.17:1.

Hue familyTeals and cyans
Lightnessdark (39%)
Chromamuted (0.049)
Temperaturecool
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.28:1
White text9.17:1

Values

HEX#254F47
RGBrgb(37, 79, 71)
HSLhsl(169, 36%, 23%)
OKLCHoklch(39.5% 0.049 179.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 #254F47 9.17:1 AAA Lc -95.4 Preferred for body text
Black text on #254F47 2.28:1 Fails Lc 12.9 Not readable
#254F47 text on white 9.17:1 AAA Lc 91.0 Preferred for body text
#254F47 text on black 2.28:1 Fails Lc -11.3 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

    #F2F7F5

    oklch(97.2% 0.006 170.4)

  2. Step 100

    100

    #E3ECEA

    oklch(93.6% 0.01 181.4)

  3. Step 200

    200

    #CBDED9

    oklch(88.5% 0.021 178.3)

  4. Step 300

    300

    #A8C9C1

    oklch(80.9% 0.037 179)

  5. Step 400

    400

    #77ADA2

    oklch(70.7% 0.059 180.4)

  6. Step 500

    500

    #51998B

    oklch(63.2% 0.076 179.6)

  7. Step 600

    600

    #318375

    oklch(55.6% 0.082 179.9)

  8. Step 700

    700

    #226F62

    oklch(49.2% 0.077 179.5)

  9. Step 800

    800

    #1F5A50

    oklch(42.6% 0.063 180)

  10. Step 900

    900 (this color)

    #254F47

    oklch(39.5% 0.049 179.7)

  11. Step 950

    950

    #142B27

    oklch(26.9% 0.03 181.4)

Export this scale for Tailwind in the Tailwind colors tool

#254F47 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)#4C4B470.052
Deuteranopia (no green cones)#4546480.049
Tritanopia (no blue cones)#12504D0.015
Achromatopsia (no color)#4848480.050

Harmonies

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

Complementary

The opposite hue (180°).

  • #254F47

    #254F47

    oklch(39.5% 0.049 179.7)

  • #5C3B45

    #5C3B45

    oklch(39.4% 0.049 359.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #254F47

    #254F47

    oklch(39.5% 0.049 179.7)

  • #334E38

    #334E38

    oklch(39.5% 0.049 149.5)

  • #224E55

    #224E55

    oklch(39.6% 0.05 209.1)

Open the analogous palette in the generator

Split complementary

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

  • #254F47

    #254F47

    oklch(39.5% 0.049 179.7)

  • #553D53

    #553D53

    oklch(39.5% 0.048 329.3)

  • #5E3C37

    #5E3C37

    oklch(39.4% 0.049 28.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #254F47

    #254F47

    oklch(39.5% 0.049 179.7)

  • #4A405D

    #4A405D

    oklch(39.4% 0.05 300)

  • #5A402B

    #5A402B

    oklch(39.5% 0.049 59.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #254F47

    #254F47

    oklch(39.5% 0.049 179.7)

  • #3C4561

    #3C4561

    oklch(39.5% 0.049 270.3)

  • #5C3B45

    #5C3B45

    oklch(39.4% 0.049 359.9)

  • #514526

    #514526

    oklch(39.5% 0.049 88.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #254F47 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.