#2F4856

Closest named color: Charcoal (#264653). oklch(38.7% 0.039 233.7), rgb(47, 72, 86).

Aa

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

About this color

#2F4856 is a dark, muted blue. In OKLCH its lightness is 39%, its chroma 0.039 and its hue 234°. Its hue sits on the cool side of the wheel. The nearest named color is Charcoal (#264653), ΔE 0.014 away. White text reads best on it, at 9.62:1.

Hue familyBlues
Lightnessdark (39%)
Chromamuted (0.039)
Temperaturecool
Nearest nameCharcoal (#264653)
Black text2.18:1
White text9.62:1

Values

HEX#2F4856
RGBrgb(47, 72, 86)
HSLhsl(202, 29%, 26%)
OKLCHoklch(38.7% 0.039 233.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 #2F4856 9.62:1 AAA Lc -96.5 Preferred for body text
Black text on #2F4856 2.18:1 Fails Lc 11.7 Not readable
#2F4856 text on white 9.62:1 AAA Lc 92.2 Preferred for body text
#2F4856 text on black 2.18:1 Fails Lc -10.2 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

    #F3F6F8

    oklch(97.1% 0.004 236.5)

  2. Step 100

    100

    #E5EBEF

    oklch(93.7% 0.008 236.6)

  3. Step 200

    200

    #CFDBE2

    oklch(88.4% 0.016 233)

  4. Step 300

    300

    #AFC4D1

    oklch(80.9% 0.029 234.9)

  5. Step 400

    400

    #84A6B9

    oklch(70.6% 0.047 232.8)

  6. Step 500

    500

    #6590A8

    oklch(63.1% 0.059 233.4)

  7. Step 600

    600

    #4B7A94

    oklch(55.6% 0.065 233.9)

  8. Step 700

    700

    #3C677E

    oklch(49.2% 0.06 233.2)

  9. Step 800

    800

    #325466

    oklch(42.8% 0.05 232.7)

  10. Step 900

    900 (this color)

    #2F4856

    oklch(38.7% 0.039 233.7)

  11. Step 950

    950

    #1A2931

    oklch(27.1% 0.025 232.2)

Export this scale for Tailwind in the Tailwind colors tool

#2F4856 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)#4147570.025
Deuteranopia (no green cones)#3C43560.023
Tritanopia (no blue cones)#204C4C0.030
Achromatopsia (no color)#4545450.039

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F4856

    #2F4856

    oklch(38.7% 0.039 233.7)

  • #553F31

    #553F31

    oklch(38.8% 0.038 53.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F4856

    #2F4856

    oklch(38.7% 0.039 233.7)

  • #2A4B4E

    #2A4B4E

    oklch(38.9% 0.039 203.1)

  • #3A4459

    #3A4459

    oklch(38.7% 0.038 264.8)

Open the analogous palette in the generator

Split complementary

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

  • #2F4856

    #2F4856

    oklch(38.7% 0.039 233.7)

  • #573C3A

    #573C3A

    oklch(38.6% 0.039 23.8)

  • #4E432C

    #4E432C

    oklch(38.8% 0.039 85.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F4856

    #2F4856

    oklch(38.7% 0.039 233.7)

  • #553C46

    #553C46

    oklch(38.8% 0.038 353.3)

  • #44472E

    #44472E

    oklch(38.8% 0.04 113.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F4856

    #2F4856

    oklch(38.7% 0.039 233.7)

  • #4F3D50

    #4F3D50

    oklch(38.7% 0.039 324.6)

  • #553F31

    #553F31

    oklch(38.8% 0.038 53.7)

  • #384A37

    #384A37

    oklch(38.8% 0.039 143.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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