#2F4847

Closest named color: Dark Slate Gray (#2F4F4F). oklch(38.1% 0.031 192.8), rgb(47, 72, 71).

Aa

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

About this color

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

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

Values

HEX#2F4847
RGBrgb(47, 72, 71)
HSLhsl(178, 21%, 23%)
OKLCHoklch(38.1% 0.031 192.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 #2F4847 9.81:1 AAA Lc -96.9 Preferred for body text
Black text on #2F4847 2.13:1 Fails Lc 11.2 Not readable
#2F4847 text on white 9.81:1 AAA Lc 92.7 Preferred for body text
#2F4847 text on black 2.13:1 Fails Lc -9.7 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

    #E5EBEB

    oklch(93.6% 0.006 197)

  3. Step 200

    200

    #D0DCDB

    oklch(88.5% 0.013 190.9)

  4. Step 300

    300

    #B0C6C4

    oklch(80.9% 0.024 190)

  5. Step 400

    400

    #87A8A7

    oklch(70.7% 0.036 194.1)

  6. Step 500

    500

    #689391

    oklch(63.1% 0.047 192.4)

  7. Step 600

    600

    #4E7D7B

    oklch(55.5% 0.051 192.3)

  8. Step 700

    700

    #3F6968

    oklch(49% 0.047 193.8)

  9. Step 800

    800

    #345655

    oklch(42.7% 0.04 193.4)

  10. Step 900

    900 (this color)

    #2F4847

    oklch(38.1% 0.031 192.8)

  11. Step 950

    950

    #1B2A29

    oklch(27.1% 0.02 190.8)

Export this scale for Tailwind in the Tailwind colors tool

#2F4847 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)#4546470.032
Deuteranopia (no green cones)#4042470.030
Tritanopia (no blue cones)#2649480.010
Achromatopsia (no color)#4343430.031

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F4847

    #2F4847

    oklch(38.1% 0.031 192.8)

  • #523C3E

    #523C3E

    oklch(38.1% 0.031 12.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F4847

    #2F4847

    oklch(38.1% 0.031 192.8)

  • #34483E

    #34483E

    oklch(38.1% 0.03 162.8)

  • #30464F

    #30464F

    oklch(38% 0.031 225.3)

Open the analogous palette in the generator

Split complementary

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

  • #2F4847

    #2F4847

    oklch(38.1% 0.031 192.8)

  • #4F3C47

    #4F3C47

    oklch(38.1% 0.032 343.1)

  • #513E36

    #513E36

    oklch(38.2% 0.03 44)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F4847

    #2F4847

    oklch(38.1% 0.031 192.8)

  • #483E4F

    #483E4F

    oklch(38.1% 0.031 311.3)

  • #4D4031

    #4D4031

    oklch(38.1% 0.03 70.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F4847

    #2F4847

    oklch(38.1% 0.031 192.8)

  • #404153

    #404153

    oklch(38.2% 0.031 282.3)

  • #523C3E

    #523C3E

    oklch(38.1% 0.031 12.6)

  • #454430

    #454430

    oklch(38.2% 0.032 105.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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