#2D4F5F

Closest named color: Dark Slate Gray (#2F4F4F). oklch(40.9% 0.048 229.8), rgb(45, 79, 95).

Aa

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

About this color

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

Hue familyTeals and cyans
Lightnessdark (41%)
Chromamuted (0.048)
Temperaturecool
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.39:1
White text8.76:1

Values

HEX#2D4F5F
RGBrgb(45, 79, 95)
HSLhsl(199, 36%, 27%)
OKLCHoklch(40.9% 0.048 229.8)

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 #2D4F5F 8.76:1 AAA Lc -94.4 Preferred for body text
Black text on #2D4F5F 2.39:1 Fails Lc 14.0 Not readable
#2D4F5F text on white 8.76:1 AAA Lc 89.9 Fine for body text
#2D4F5F text on black 2.39:1 Fails Lc -12.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 800.

  1. Step 50

    50

    #F3F6F7

    oklch(97.1% 0.003 219.5)

  2. Step 100

    100

    #E5EBEE

    oklch(93.6% 0.008 228.9)

  3. Step 200

    200

    #CFDBE1

    oklch(88.4% 0.015 229)

  4. Step 300

    300

    #AFC4CF

    oklch(80.8% 0.028 230.4)

  5. Step 400

    400

    #84A6B7

    oklch(70.6% 0.045 229.8)

  6. Step 500

    500

    #6590A6

    oklch(63% 0.058 231.1)

  7. Step 600

    600

    #4B7A91

    oklch(55.5% 0.062 230.6)

  8. Step 700

    700

    #3C677B

    oklch(49.1% 0.058 229.5)

  9. Step 800

    800 (this color)

    #2D4F5F

    oklch(40.9% 0.048 229.8)

  10. Step 900

    900

    #2C4552

    oklch(37.6% 0.038 231.8)

  11. Step 950

    950

    #1A2930

    oklch(27.1% 0.024 228.7)

Export this scale for Tailwind in the Tailwind colors tool

#2D4F5F 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)#474E600.034
Deuteranopia (no green cones)#40485F0.031
Tritanopia (no blue cones)#1354540.036
Achromatopsia (no color)#4B4B4B0.048

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D4F5F

    #2D4F5F

    oklch(40.9% 0.048 229.8)

  • #5F4232

    #5F4232

    oklch(40.7% 0.048 49.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D4F5F

    #2D4F5F

    oklch(40.9% 0.048 229.8)

  • #275254

    #275254

    oklch(40.9% 0.048 199.5)

  • #3B4B64

    #3B4B64

    oklch(41% 0.047 259.2)

Open the analogous palette in the generator

Split complementary

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

  • #2D4F5F

    #2D4F5F

    oklch(40.9% 0.048 229.8)

  • #62403F

    #62403F

    oklch(41% 0.048 21.2)

  • #58472B

    #58472B

    oklch(40.8% 0.048 79.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D4F5F

    #2D4F5F

    oklch(40.9% 0.048 229.8)

  • #5E3F4E

    #5E3F4E

    oklch(40.8% 0.049 348.9)

  • #4B4C2D

    #4B4C2D

    oklch(40.7% 0.048 109.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D4F5F

    #2D4F5F

    oklch(40.9% 0.048 229.8)

  • #56425A

    #56425A

    oklch(41% 0.047 320.7)

  • #5F4232

    #5F4232

    oklch(40.7% 0.048 49.8)

  • #3C5138

    #3C5138

    oklch(41% 0.048 140.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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