#5871AB

Closest named color: Flat Blue (#3C73A8). oklch(55.4% 0.095 265.7), rgb(88, 113, 171).

Aa

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

About this color

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

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

Values

HEX#5871AB
RGBrgb(88, 113, 171)
HSLhsl(222, 33%, 51%)
OKLCHoklch(55.4% 0.095 265.7)

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 #5871AB 4.81:1 AA Lc -78.7 Fine for body text
Black text on #5871AB 4.36:1 AA large text Lc 30.8 Non-text elements, placeholder text
#5871AB text on white 4.81:1 AA Lc 73.3 Content text, not long reading
#5871AB text on black 4.36:1 AA large text Lc -28.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 600.

  1. Step 50

    50

    #F3F5F9

    oklch(97% 0.006 264.5)

  2. Step 100

    100

    #E6EAF2

    oklch(93.6% 0.012 264.5)

  3. Step 200

    200

    #D2D9E9

    oklch(88.5% 0.023 266.9)

  4. Step 300

    300

    #B3C1DD

    oklch(80.9% 0.043 264.3)

  5. Step 400

    400

    #8CA0CC

    oklch(70.6% 0.069 265.6)

  6. Step 500

    500

    #7088BF

    oklch(63% 0.088 265.8)

  7. Step 600

    600 (this color)

    #5871AB

    oklch(55.4% 0.095 265.7)

  8. Step 700

    700

    #485F93

    oklch(49.1% 0.088 265.2)

  9. Step 800

    800

    #3C4E77

    oklch(42.8% 0.072 265.4)

  10. Step 900

    900

    #334160

    oklch(37.7% 0.057 265.2)

  11. Step 950

    950

    #1E2638

    oklch(27% 0.036 265.6)

Export this scale for Tailwind in the Tailwind colors tool

#5871AB 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)#5B76AD0.015
Deuteranopia (no green cones)#526FAA0.010
Tritanopia (no blue cones)#367D860.085
Achromatopsia (no color)#7272720.095

Harmonies

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

Complementary

The opposite hue (180°).

  • #5871AB

    #5871AB

    oklch(55.4% 0.095 265.7)

  • #8C6E27

    #8C6E27

    oklch(55.4% 0.095 85.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5871AB

    #5871AB

    oklch(55.4% 0.095 265.7)

  • #307BA3

    #307BA3

    oklch(55.4% 0.096 235.7)

  • #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°).

  • #5871AB

    #5871AB

    oklch(55.4% 0.095 265.7)

  • #9D6338

    #9D6338

    oklch(55.4% 0.095 55.8)

  • #707933

    #707933

    oklch(55.3% 0.095 115.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5871AB

    #5871AB

    oklch(55.4% 0.095 265.7)

  • #A35B55

    #A35B55

    oklch(55.3% 0.096 25.6)

  • #4C8250

    #4C8250

    oklch(55.5% 0.096 145.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5871AB

    #5871AB

    oklch(55.4% 0.095 265.7)

  • #9F5A75

    #9F5A75

    oklch(55.5% 0.096 355.8)

  • #8C6E27

    #8C6E27

    oklch(55.4% 0.095 85.4)

  • #1E8570

    #1E8570

    oklch(55.5% 0.096 175.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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