#2F4748

Closest named color: Charcoal (#264653). oklch(37.9% 0.03 199.3), rgb(47, 71, 72).

Aa

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

About this color

#2F4748 is a dark close to neutral grey. In OKLCH its lightness is 38%, its chroma 0.030. It has too little chroma to lean warm or cool. The nearest named color is Charcoal (#264653), ΔE 0.022 away. White text reads best on it, at 9.92:1.

Hue familyNeutrals
Lightnessdark (38%)
Chromaclose to neutral grey (0.030)
Temperatureneutral
Nearest nameCharcoal (#264653)
Black text2.11:1
White text9.92:1

Values

HEX#2F4748
RGBrgb(47, 71, 72)
HSLhsl(182, 21%, 23%)
OKLCHoklch(37.9% 0.03 199.3)

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 #2F4748 9.92:1 AAA Lc -97.1 Preferred for body text
Black text on #2F4748 2.11:1 Fails Lc 10.9 Not readable
#2F4748 text on white 9.92:1 AAA Lc 93.0 Preferred for body text
#2F4748 text on black 2.11:1 Fails Lc -9.5 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

    #D0DCDC

    oklch(88.5% 0.013 196.9)

  4. Step 300

    300

    #B1C5C6

    oklch(80.9% 0.022 200.4)

  5. Step 400

    400

    #87A8A9

    oklch(70.7% 0.036 198.7)

  6. Step 500

    500

    #699294

    oklch(63.1% 0.045 199.9)

  7. Step 600

    600

    #507C7E

    oklch(55.5% 0.049 199.5)

  8. Step 700

    700

    #40696B

    oklch(49.1% 0.046 199.7)

  9. Step 800

    800

    #355657

    oklch(42.8% 0.039 198.3)

  10. Step 900

    900 (this color)

    #2F4748

    oklch(37.9% 0.03 199.3)

  11. Step 950

    950

    #1C292A

    oklch(26.9% 0.018 202.1)

Export this scale for Tailwind in the Tailwind colors tool

#2F4748 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)#4445480.031
Deuteranopia (no green cones)#3F41480.029
Tritanopia (no blue cones)#2649470.012
Achromatopsia (no color)#4343430.030

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F4748

    #2F4748

    oklch(37.9% 0.03 199.3)

  • #513C3C

    #513C3C

    oklch(37.9% 0.03 18.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F4748

    #2F4748

    oklch(37.9% 0.03 199.3)

  • #32473F

    #32473F

    oklch(37.8% 0.03 169.2)

  • #32454F

    #32454F

    oklch(37.8% 0.029 231.4)

Open the analogous palette in the generator

Split complementary

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

  • #2F4748

    #2F4748

    oklch(37.9% 0.03 199.3)

  • #4F3C44

    #4F3C44

    oklch(38% 0.029 351.5)

  • #4F3E34

    #4F3E34

    oklch(37.9% 0.029 52)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F4748

    #2F4748

    oklch(37.9% 0.03 199.3)

  • #493D4C

    #493D4C

    oklch(37.8% 0.03 319.5)

  • #4B4030

    #4B4030

    oklch(37.8% 0.03 76.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F4748

    #2F4748

    oklch(37.9% 0.03 199.3)

  • #414051

    #414051

    oklch(37.9% 0.029 287.6)

  • #513C3C

    #513C3C

    oklch(37.9% 0.03 18.6)

  • #434431

    #434431

    oklch(38% 0.031 110.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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