#2F404F

Closest named color: Charcoal (#264653). oklch(36.3% 0.034 245.6), rgb(47, 64, 79).

Aa

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

About this color

#2F404F is a dark, muted blue. In OKLCH its lightness is 36%, its chroma 0.034 and its hue 246°. Its hue sits on the cool side of the wheel. The nearest named color is Charcoal (#264653), ΔE 0.020 away. White text reads best on it, at 10.67:1.

Hue familyBlues
Lightnessdark (36%)
Chromamuted (0.034)
Temperaturecool
Nearest nameCharcoal (#264653)
Black text1.96:1
White text10.67:1

Values

HEX#2F404F
RGBrgb(47, 64, 79)
HSLhsl(208, 25%, 25%)
OKLCHoklch(36.3% 0.034 245.6)

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 #2F404F 10.67:1 AAA Lc -98.7 Preferred for body text
Black text on #2F404F 1.96:1 Fails Lc 9.2 Not readable
#2F404F text on white 10.67:1 AAA Lc 94.7 Preferred for body text
#2F404F text on black 1.96:1 Fails Lc -7.9 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

    #F4F6F8

    oklch(97.2% 0.003 247.9)

  2. Step 100

    100

    #E6EAEF

    oklch(93.5% 0.008 253.9)

  3. Step 200

    200

    #D2DAE2

    oklch(88.5% 0.014 248)

  4. Step 300

    300

    #B4C3D0

    oklch(81% 0.025 244.2)

  5. Step 400

    400

    #8CA4B9

    oklch(70.7% 0.041 244.8)

  6. Step 500

    500

    #6F8DA8

    oklch(63% 0.053 245.9)

  7. Step 600

    600

    #577793

    oklch(55.6% 0.057 245.5)

  8. Step 700

    700

    #47647D

    oklch(49.1% 0.053 245.2)

  9. Step 800

    800

    #3B5266

    oklch(42.8% 0.044 245.3)

  10. Step 900

    900 (this color)

    #2F404F

    oklch(36.3% 0.034 245.6)

  11. Step 950

    950

    #1E2830

    oklch(27.1% 0.02 242.7)

Export this scale for Tailwind in the Tailwind colors tool

#2F404F 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)#3A40500.017
Deuteranopia (no green cones)#363D4F0.013
Tritanopia (no blue cones)#2444450.029
Achromatopsia (no color)#3E3E3E0.034

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F404F

    #2F404F

    oklch(36.3% 0.034 245.6)

  • #4B3A2B

    #4B3A2B

    oklch(36.3% 0.034 62.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F404F

    #2F404F

    oklch(36.3% 0.034 245.6)

  • #284349

    #284349

    oklch(36.4% 0.034 213.3)

  • #393D50

    #393D50

    oklch(36.4% 0.033 275.4)

Open the analogous palette in the generator

Split complementary

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

  • #2F404F

    #2F404F

    oklch(36.3% 0.034 245.6)

  • #4E3832

    #4E3832

    oklch(36.4% 0.033 35.8)

  • #433E29

    #433E29

    oklch(36.3% 0.034 96.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F404F

    #2F404F

    oklch(36.3% 0.034 245.6)

  • #4E373B

    #4E373B

    oklch(36.4% 0.033 7.3)

  • #3A412E

    #3A412E

    oklch(36.3% 0.033 124.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F404F

    #2F404F

    oklch(36.3% 0.034 245.6)

  • #4A3745

    #4A3745

    oklch(36.3% 0.035 336)

  • #4B3A2B

    #4B3A2B

    oklch(36.3% 0.034 62.8)

  • #2F4336

    #2F4336

    oklch(36.2% 0.034 155.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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