#2D4F5E

Closest named color: Dark Slate Gray (#2F4F4F). oklch(40.8% 0.047 228.1), rgb(45, 79, 94).

Aa

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

About this color

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

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

Values

HEX#2D4F5E
RGBrgb(45, 79, 94)
HSLhsl(198, 35%, 27%)
OKLCHoklch(40.8% 0.047 228.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 #2D4F5E 8.78:1 AAA Lc -94.4 Preferred for body text
Black text on #2D4F5E 2.39:1 Fails Lc 14.0 Not readable
#2D4F5E text on white 8.78:1 AAA Lc 90.0 Fine for body text
#2D4F5E 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

    #AFC5CF

    oklch(81% 0.028 226.9)

  5. Step 400

    400

    #85A7B6

    oklch(70.8% 0.043 226.6)

  6. Step 500

    500

    #6591A4

    oklch(63.2% 0.056 226.7)

  7. Step 600

    600

    #4B7B90

    oklch(55.7% 0.061 227.7)

  8. Step 700

    700

    #3C677A

    oklch(49% 0.057 228.2)

  9. Step 800

    800 (this color)

    #2D4F5E

    oklch(40.8% 0.047 228.1)

  10. Step 900

    900

    #2C4651

    oklch(37.8% 0.037 226.5)

  11. Step 950

    950

    #1A292F

    oklch(27% 0.023 224.8)

Export this scale for Tailwind in the Tailwind colors tool

#2D4F5E 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)#474E5F0.034
Deuteranopia (no green cones)#40485E0.031
Tritanopia (no blue cones)#1453540.033
Achromatopsia (no color)#4B4B4B0.047

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D4F5E

    #2D4F5E

    oklch(40.8% 0.047 228.1)

  • #5F4233

    #5F4233

    oklch(40.7% 0.047 48.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D4F5E

    #2D4F5E

    oklch(40.8% 0.047 228.1)

  • #285253

    #285253

    oklch(40.9% 0.047 197.5)

  • #3A4B63

    #3A4B63

    oklch(40.9% 0.046 257)

Open the analogous palette in the generator

Split complementary

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

  • #2D4F5E

    #2D4F5E

    oklch(40.8% 0.047 228.1)

  • #614040

    #614040

    oklch(40.9% 0.046 19.3)

  • #58472C

    #58472C

    oklch(40.9% 0.047 78.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D4F5E

    #2D4F5E

    oklch(40.8% 0.047 228.1)

  • #5D3F4E

    #5D3F4E

    oklch(40.7% 0.047 348)

  • #4C4C2D

    #4C4C2D

    oklch(40.8% 0.048 108.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D4F5E

    #2D4F5E

    oklch(40.8% 0.047 228.1)

  • #55425A

    #55425A

    oklch(40.9% 0.046 319.2)

  • #5F4233

    #5F4233

    oklch(40.7% 0.047 48.3)

  • #3D5037

    #3D5037

    oklch(40.8% 0.047 138.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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