#5871AC

Closest named color: Flat Blue (#3C73A8). oklch(55.5% 0.097 265.9), rgb(88, 113, 172).

Aa

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

About this color

#5871AC is a medium-dark, moderately saturated blue. In OKLCH its lightness is 55%, its chroma 0.097 and its hue 266°. Its hue sits on the cool side of the wheel. The nearest named color is Flat Blue (#3C73A8), ΔE 0.032 away. White text reads best on it, at 4.80:1.

Hue familyBlues
Lightnessmedium-dark (55%)
Chromamoderately saturated (0.097)
Temperaturecool
Nearest nameFlat Blue (#3C73A8)
Black text4.37:1
White text4.80:1

Values

HEX#5871AC
RGBrgb(88, 113, 172)
HSLhsl(222, 34%, 51%)
OKLCHoklch(55.5% 0.097 265.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 #5871AC 4.80:1 AA Lc -78.7 Fine for body text
Black text on #5871AC 4.37:1 AA large text Lc 30.9 Non-text elements, placeholder text
#5871AC text on white 4.80:1 AA Lc 73.2 Content text, not long reading
#5871AC text on black 4.37:1 AA large text Lc -28.5 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 600.

  1. Step 50

    50

    #F3F5F9

    oklch(97% 0.006 264.5)

  2. Step 100

    100

    #E6EAF3

    oklch(93.7% 0.013 266.7)

  3. Step 200

    200

    #D2D9EA

    oklch(88.5% 0.025 267.9)

  4. Step 300

    300

    #B3C1DE

    oklch(81% 0.044 264.9)

  5. Step 400

    400

    #8CA0CD

    oklch(70.7% 0.07 266)

  6. Step 500

    500

    #7088C0

    oklch(63.1% 0.089 266.1)

  7. Step 600

    600 (this color)

    #5871AC

    oklch(55.5% 0.097 265.9)

  8. Step 700

    700

    #485F94

    oklch(49.1% 0.09 265.4)

  9. Step 800

    800

    #3B4E78

    oklch(42.8% 0.074 264.9)

  10. Step 900

    900

    #334161

    oklch(37.8% 0.058 265.6)

  11. Step 950

    950

    #1E2639

    oklch(27% 0.037 266.4)

Export this scale for Tailwind in the Tailwind colors tool

#5871AC 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)#5B76AE0.015
Deuteranopia (no green cones)#526FAB0.010
Tritanopia (no blue cones)#357E860.088
Achromatopsia (no color)#7272720.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #5871AC

    #5871AC

    oklch(55.5% 0.097 265.9)

  • #8C6E25

    #8C6E25

    oklch(55.4% 0.097 85.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5871AC

    #5871AC

    oklch(55.5% 0.097 265.9)

  • #2F7BA4

    #2F7BA4

    oklch(55.4% 0.097 236.1)

  • #7867A5

    #7867A5

    oklch(55.6% 0.096 295.7)

Open the analogous palette in the generator

Split complementary

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

  • #5871AC

    #5871AC

    oklch(55.5% 0.097 265.9)

  • #9E6337

    #9E6337

    oklch(55.5% 0.097 55.8)

  • #707A32

    #707A32

    oklch(55.5% 0.097 116.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5871AC

    #5871AC

    oklch(55.5% 0.097 265.9)

  • #A45B55

    #A45B55

    oklch(55.4% 0.097 25.6)

  • #4B824F

    #4B824F

    oklch(55.5% 0.097 145.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5871AC

    #5871AC

    oklch(55.5% 0.097 265.9)

  • #9F5A75

    #9F5A75

    oklch(55.5% 0.096 355.8)

  • #8C6E25

    #8C6E25

    oklch(55.4% 0.097 85.8)

  • #1B8571

    #1B8571

    oklch(55.5% 0.096 176.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5871AC 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.