#2F4159

Closest named color: Dark Grey Blue (#29465B). oklch(37.1% 0.048 255.8), rgb(47, 65, 89).

Aa

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

About this color

#2F4159 is a dark, muted blue. In OKLCH its lightness is 37%, its chroma 0.048 and its hue 256°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.016 away. White text reads best on it, at 10.38:1.

Hue familyBlues
Lightnessdark (37%)
Chromamuted (0.048)
Temperaturecool
Nearest nameDark Grey Blue (#29465B)
Black text2.02:1
White text10.38:1

Values

HEX#2F4159
RGBrgb(47, 65, 89)
HSLhsl(214, 31%, 27%)
OKLCHoklch(37.1% 0.048 255.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 #2F4159 10.38:1 AAA Lc -98.1 Preferred for body text
Black text on #2F4159 2.02:1 Fails Lc 9.9 Not readable
#2F4159 text on white 10.38:1 AAA Lc 94.1 Preferred for body text
#2F4159 text on black 2.02:1 Fails Lc -8.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

    #F3F6F9

    oklch(97.2% 0.005 247.9)

  2. Step 100

    100

    #E5EAF1

    oklch(93.5% 0.011 256.7)

  3. Step 200

    200

    #D1DAE6

    oklch(88.5% 0.019 255.5)

  4. Step 300

    300

    #B2C2D8

    oklch(80.9% 0.036 256.4)

  5. Step 400

    400

    #89A3C4

    oklch(70.7% 0.057 254.6)

  6. Step 500

    500

    #6C8CB6

    oklch(63.2% 0.073 255.4)

  7. Step 600

    600

    #5475A1

    oklch(55.6% 0.079 255.9)

  8. Step 700

    700

    #44628A

    oklch(49% 0.074 255.9)

  9. Step 800

    800

    #385070

    oklch(42.6% 0.061 255.9)

  10. Step 900

    900 (this color)

    #2F4159

    oklch(37.1% 0.048 255.8)

  11. Step 950

    950

    #1D2735

    oklch(27% 0.03 256.9)

Export this scale for Tailwind in the Tailwind colors tool

#2F4159 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)#38425A0.014
Deuteranopia (no green cones)#333E580.010
Tritanopia (no blue cones)#1F46490.042
Achromatopsia (no color)#4040400.048

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F4159

    #2F4159

    oklch(37.1% 0.048 255.8)

  • #4F3C22

    #4F3C22

    oklch(37% 0.048 74.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F4159

    #2F4159

    oklch(37.1% 0.048 255.8)

  • #214553

    #214553

    oklch(37% 0.048 225.7)

  • #3E3C58

    #3E3C58

    oklch(37% 0.048 287.1)

Open the analogous palette in the generator

Split complementary

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

  • #2F4159

    #2F4159

    oklch(37.1% 0.048 255.8)

  • #55382A

    #55382A

    oklch(37.1% 0.048 46.6)

  • #434223

    #434223

    oklch(37.2% 0.048 106.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F4159

    #2F4159

    oklch(37.1% 0.048 255.8)

  • #563537

    #563537

    oklch(36.9% 0.048 15.7)

  • #35462C

    #35462C

    oklch(37.2% 0.048 135.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F4159

    #2F4159

    oklch(37.1% 0.048 255.8)

  • #523645

    #523645

    oklch(37.1% 0.046 346.2)

  • #4F3C22

    #4F3C22

    oklch(37% 0.048 74.1)

  • #25483A

    #25483A

    oklch(37% 0.048 166.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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