#2F404E

Closest named color: Charcoal (#264653). oklch(36.3% 0.033 243.7), rgb(47, 64, 78).

Aa

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

About this color

#2F404E is a dark, muted blue. In OKLCH its lightness is 36%, its chroma 0.033 and its hue 244°. 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.69:1.

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

Values

HEX#2F404E
RGBrgb(47, 64, 78)
HSLhsl(207, 25%, 25%)
OKLCHoklch(36.3% 0.033 243.7)

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 #2F404E 10.69:1 AAA Lc -98.7 Preferred for body text
Black text on #2F404E 1.96:1 Fails Lc 9.1 Not readable
#2F404E text on white 10.69:1 AAA Lc 94.8 Preferred for body text
#2F404E text on black 1.96:1 Fails Lc -7.8 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

    #F4F6F7

    oklch(97.2% 0.003 228.8)

  2. Step 100

    100

    #E6EAEE

    oklch(93.5% 0.007 247.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

    #8CA4B8

    oklch(70.7% 0.04 243.5)

  6. Step 500

    500

    #708DA6

    oklch(63% 0.05 244.7)

  7. Step 600

    600

    #587791

    oklch(55.6% 0.054 244.3)

  8. Step 700

    700

    #48647C

    oklch(49.1% 0.051 245)

  9. Step 800

    800

    #3B5265

    oklch(42.8% 0.042 243.9)

  10. Step 900

    900 (this color)

    #2F404E

    oklch(36.3% 0.033 243.7)

  11. Step 950

    950

    #1E2830

    oklch(27.1% 0.02 242.7)

Export this scale for Tailwind in the Tailwind colors tool

#2F404E 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)#3A404F0.017
Deuteranopia (no green cones)#363D4E0.013
Tritanopia (no blue cones)#2543450.025
Achromatopsia (no color)#3E3E3E0.033

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F404E

    #2F404E

    oklch(36.3% 0.033 243.7)

  • #4A3A2C

    #4A3A2C

    oklch(36.2% 0.032 62.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F404E

    #2F404E

    oklch(36.3% 0.033 243.7)

  • #294248

    #294248

    oklch(36.1% 0.032 214.5)

  • #383D4F

    #383D4F

    oklch(36.3% 0.032 272.6)

Open the analogous palette in the generator

Split complementary

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

  • #2F404E

    #2F404E

    oklch(36.3% 0.033 243.7)

  • #4E3833

    #4E3833

    oklch(36.4% 0.033 33.1)

  • #433E2A

    #433E2A

    oklch(36.3% 0.033 95.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F404E

    #2F404E

    oklch(36.3% 0.033 243.7)

  • #4D373C

    #4D373C

    oklch(36.3% 0.032 3.8)

  • #3A412E

    #3A412E

    oklch(36.3% 0.033 124.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F404E

    #2F404E

    oklch(36.3% 0.033 243.7)

  • #493845

    #493845

    oklch(36.4% 0.032 334.7)

  • #4A3A2C

    #4A3A2C

    oklch(36.2% 0.032 62.7)

  • #314336

    #314336

    oklch(36.3% 0.032 153.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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