#2F5771

Closest named color: YInMn Blue (#415A77). oklch(43.9% 0.062 238.9), rgb(47, 87, 113).

Aa

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

About this color

#2F5771 is a dark, muted blue. In OKLCH its lightness is 44%, its chroma 0.062 and its hue 239°. Its hue sits on the cool side of the wheel. The nearest named color is YInMn Blue (#415A77), ΔE 0.026 away. White text reads best on it, at 7.71:1.

Hue familyBlues
Lightnessdark (44%)
Chromamuted (0.062)
Temperaturecool
Nearest nameYInMn Blue (#415A77)
Black text2.72:1
White text7.71:1

Values

HEX#2F5771
RGBrgb(47, 87, 113)
HSLhsl(204, 41%, 31%)
OKLCHoklch(43.9% 0.062 238.9)

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 #2F5771 7.71:1 AAA Lc -91.4 Preferred for body text
Black text on #2F5771 2.72:1 Fails Lc 17.4 Dividers and decoration only
#2F5771 text on white 7.71:1 AAA Lc 86.7 Fine for body text
#2F5771 text on black 2.72:1 Fails Lc -15.4 Dividers and decoration only

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 800.

  1. Step 50

    50

    #F3F6F8

    oklch(97.1% 0.004 236.5)

  2. Step 100

    100

    #E4EBF0

    oklch(93.6% 0.01 238.5)

  3. Step 200

    200

    #CEDBE5

    oklch(88.5% 0.02 240.8)

  4. Step 300

    300

    #ACC4D6

    oklch(80.8% 0.036 240.4)

  5. Step 400

    400

    #7FA6C1

    oklch(70.6% 0.058 238.9)

  6. Step 500

    500

    #5D90B2

    oklch(63.1% 0.075 238.8)

  7. Step 600

    600

    #427A9E

    oklch(55.6% 0.082 238.8)

  8. Step 700

    700

    #346687

    oklch(49% 0.076 239.7)

  9. Step 800

    800 (this color)

    #2F5771

    oklch(43.9% 0.062 238.9)

  10. Step 900

    900

    #284559

    oklch(37.7% 0.049 240)

  11. Step 950

    950

    #182934

    oklch(27.1% 0.031 237.8)

Export this scale for Tailwind in the Tailwind colors tool

#2F5771 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)#4B57720.035
Deuteranopia (no green cones)#4250710.029
Tritanopia (no blue cones)#005E600.050
Achromatopsia (no color)#5353530.063

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F5771

    #2F5771

    oklch(43.9% 0.062 238.9)

  • #6C4A2E

    #6C4A2E

    oklch(44% 0.062 59.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F5771

    #2F5771

    oklch(43.9% 0.062 238.9)

  • #1F5C65

    #1F5C65

    oklch(44% 0.063 208.8)

  • #445175

    #445175

    oklch(44% 0.062 268.6)

Open the analogous palette in the generator

Split complementary

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

  • #2F5771

    #2F5771

    oklch(43.9% 0.062 238.9)

  • #71453E

    #71453E

    oklch(44% 0.062 29.6)

  • #605027

    #605027

    oklch(43.8% 0.062 88.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F5771

    #2F5771

    oklch(43.9% 0.062 238.9)

  • #6E4351

    #6E4351

    oklch(43.8% 0.062 359)

  • #4E572E

    #4E572E

    oklch(43.8% 0.063 119.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F5771

    #2F5771

    oklch(43.9% 0.062 238.9)

  • #654663

    #654663

    oklch(43.9% 0.061 328.7)

  • #6C4A2E

    #6C4A2E

    oklch(44% 0.062 59.6)

  • #395C3F

    #395C3F

    oklch(43.9% 0.062 148.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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