#2F5877

Closest named color: YInMn Blue (#415A77). oklch(44.5% 0.069 243), rgb(47, 88, 119).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (44%)
Chromamuted (0.069)
Temperaturecool
Nearest nameYInMn Blue (#415A77)
Black text2.78:1
White text7.54:1

Values

HEX#2F5877
RGBrgb(47, 88, 119)
HSLhsl(206, 43%, 33%)
OKLCHoklch(44.5% 0.069 243)

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 #2F5877 7.54:1 AAA Lc -90.9 Preferred for body text
Black text on #2F5877 2.78:1 Fails Lc 17.9 Dividers and decoration only
#2F5877 text on white 7.54:1 AAA Lc 86.1 Fine for body text
#2F5877 text on black 2.78:1 Fails Lc -16.0 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

    #F2F6F9

    oklch(97.1% 0.006 239.8)

  2. Step 100

    100

    #E3EBF1

    oklch(93.6% 0.012 239.9)

  3. Step 200

    200

    #CDDBE7

    oklch(88.4% 0.022 243.8)

  4. Step 300

    300

    #ABC4D9

    oklch(80.8% 0.04 243.6)

  5. Step 400

    400

    #7EA6C6

    oklch(70.8% 0.064 242.9)

  6. Step 500

    500

    #5C8FB8

    oklch(63.1% 0.083 243.9)

  7. Step 600

    600

    #4079A4

    oklch(55.6% 0.09 243.2)

  8. Step 700

    700

    #32668C

    oklch(49.2% 0.083 242.7)

  9. Step 800

    800 (this color)

    #2F5877

    oklch(44.5% 0.069 243)

  10. Step 900

    900

    #27455C

    oklch(37.8% 0.053 243)

  11. Step 950

    950

    #172836

    oklch(26.9% 0.035 244.4)

Export this scale for Tailwind in the Tailwind colors tool

#2F5877 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)#4A58780.033
Deuteranopia (no green cones)#4151760.028
Tritanopia (no blue cones)#0060630.055
Achromatopsia (no color)#5454540.069

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F5877

    #2F5877

    oklch(44.5% 0.069 243)

  • #6F4B29

    #6F4B29

    oklch(44.5% 0.069 62.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F5877

    #2F5877

    oklch(44.5% 0.069 243)

  • #185E6B

    #185E6B

    oklch(44.6% 0.069 213)

  • #47517A

    #47517A

    oklch(44.5% 0.069 272.9)

Open the analogous palette in the generator

Split complementary

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

  • #2F5877

    #2F5877

    oklch(44.5% 0.069 243)

  • #75453B

    #75453B

    oklch(44.5% 0.069 32.5)

  • #615323

    #615323

    oklch(44.5% 0.069 93.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F5877

    #2F5877

    oklch(44.5% 0.069 243)

  • #744350

    #744350

    oklch(44.5% 0.07 3.2)

  • #4D5A2D

    #4D5A2D

    oklch(44.5% 0.069 122.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F5877

    #2F5877

    oklch(44.5% 0.069 243)

  • #6B4564

    #6B4564

    oklch(44.5% 0.069 333.5)

  • #6F4B29

    #6F4B29

    oklch(44.5% 0.069 62.8)

  • #335F41

    #335F41

    oklch(44.5% 0.07 152.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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