#2F5C71

Closest named color: YInMn Blue (#415A77). oklch(45.2% 0.06 230.3), rgb(47, 92, 113).

Aa

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

About this color

#2F5C71 is a medium-dark, muted blue. In OKLCH its lightness is 45%, its chroma 0.060 and its hue 230°. Its hue sits on the cool side of the wheel. The nearest named color is YInMn Blue (#415A77), ΔE 0.024 away. White text reads best on it, at 7.26:1.

Hue familyBlues
Lightnessmedium-dark (45%)
Chromamuted (0.060)
Temperaturecool
Nearest nameYInMn Blue (#415A77)
Black text2.89:1
White text7.26:1

Values

HEX#2F5C71
RGBrgb(47, 92, 113)
HSLhsl(199, 41%, 31%)
OKLCHoklch(45.2% 0.06 230.3)

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 #2F5C71 7.26:1 AAA Lc -90.0 Fine for body text
Black text on #2F5C71 2.89:1 Fails Lc 18.9 Dividers and decoration only
#2F5C71 text on white 7.26:1 AAA Lc 85.1 Fine for body text
#2F5C71 text on black 2.89:1 Fails Lc -16.9 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

    #F2F6F8

    oklch(97.1% 0.005 228.8)

  2. Step 100

    100

    #E3EBEF

    oklch(93.5% 0.01 228.9)

  3. Step 200

    200

    #CDDCE4

    oklch(88.6% 0.02 230.7)

  4. Step 300

    300

    #AAC5D3

    oklch(80.8% 0.035 230.3)

  5. Step 400

    400

    #7CA8BD

    oklch(70.7% 0.056 229)

  6. Step 500

    500

    #5992AD

    oklch(63.1% 0.072 229.9)

  7. Step 600

    600

    #3D7C99

    oklch(55.7% 0.079 230.3)

  8. Step 700

    700

    #2F6882

    oklch(49.1% 0.072 230.5)

  9. Step 800

    800 (this color)

    #2F5C71

    oklch(45.2% 0.06 230.3)

  10. Step 900

    900

    #254656

    oklch(37.6% 0.047 230.9)

  11. Step 950

    950

    #172932

    oklch(27% 0.029 231)

Export this scale for Tailwind in the Tailwind colors tool

#2F5C71 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)#515B720.042
Deuteranopia (no green cones)#4854710.036
Tritanopia (no blue cones)#0062630.043
Achromatopsia (no color)#5757570.060

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F5C71

    #2F5C71

    oklch(45.2% 0.06 230.3)

  • #714C37

    #714C37

    oklch(45.2% 0.06 50.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F5C71

    #2F5C71

    oklch(45.2% 0.06 230.3)

  • #256063

    #256063

    oklch(45.2% 0.061 199.9)

  • #425677

    #425677

    oklch(45.1% 0.06 260.2)

Open the analogous palette in the generator

Split complementary

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

  • #2F5C71

    #2F5C71

    oklch(45.2% 0.06 230.3)

  • #744848

    #744848

    oklch(45.2% 0.061 19.7)

  • #67522D

    #67522D

    oklch(45.1% 0.06 80.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F5C71

    #2F5C71

    oklch(45.2% 0.06 230.3)

  • #6F485A

    #6F485A

    oklch(45.2% 0.059 350.5)

  • #575930

    #575930

    oklch(45.2% 0.061 111)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F5C71

    #2F5C71

    oklch(45.2% 0.06 230.3)

  • #654B6B

    #654B6B

    oklch(45.3% 0.06 319.9)

  • #714C37

    #714C37

    oklch(45.2% 0.06 50.3)

  • #435E3E

    #435E3E

    oklch(45.1% 0.06 140.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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