#5B87B2

Closest named color: Dusty Blue (#5A86AD). oklch(60.9% 0.082 248.7), rgb(91, 135, 178).

Aa

Black text reads best on this color (5.55:1).

About this color

#5B87B2 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 61%, its chroma 0.082 and its hue 249°. Its hue sits on the cool side of the wheel. The nearest named color is Dusty Blue (#5A86AD), ΔE 0.008 away. Black text reads best on it, at 5.55:1.

Hue familyBlues
Lightnessmedium-dark (61%)
Chromamoderately saturated (0.082)
Temperaturecool
Nearest nameDusty Blue (#5A86AD)
Black text5.55:1
White text3.78:1

Values

HEX#5B87B2
RGBrgb(91, 135, 178)
HSLhsl(210, 36%, 53%)
OKLCHoklch(60.9% 0.082 248.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 #5B87B2 3.78:1 AA large text Lc -70.8 Content text, not long reading
Black text on #5B87B2 5.55:1 AA Lc 38.8 Non-text elements, placeholder text
#5B87B2 text on white 3.78:1 AA large text Lc 65.3 Content text, not long reading
#5B87B2 text on black 5.55:1 AA Lc -36.4 Non-text elements, placeholder text

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

  1. Step 50

    50

    #F3F6F9

    oklch(97.2% 0.005 247.9)

  2. Step 100

    100

    #E4EBF1

    oklch(93.6% 0.011 243.7)

  3. Step 200

    200

    #CEDBE8

    oklch(88.6% 0.023 248.1)

  4. Step 300

    300

    #ADC3DA

    oklch(80.8% 0.041 249.5)

  5. Step 400

    400

    #82A4C7

    oklch(70.6% 0.064 249.5)

  6. Step 500

    500 (this color)

    #5B87B2

    oklch(60.9% 0.082 248.7)

  7. Step 600

    600

    #4777A5

    oklch(55.5% 0.089 248.7)

  8. Step 700

    700

    #39648D

    oklch(49.1% 0.082 248.8)

  9. Step 800

    800

    #2F5273

    oklch(42.7% 0.069 248.4)

  10. Step 900

    900

    #2A445D

    oklch(37.7% 0.054 248.5)

  11. Step 950

    950

    #192836

    oklch(27% 0.033 247.4)

Export this scale for Tailwind in the Tailwind colors tool

#5B87B2 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)#7688B40.034
Deuteranopia (no green cones)#6A7FB10.027
Tritanopia (no blue cones)#3391960.069
Achromatopsia (no color)#8383830.082

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B87B2

    #5B87B2

    oklch(60.9% 0.082 248.7)

  • #A37A4B

    #A37A4B

    oklch(60.9% 0.082 69.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B87B2

    #5B87B2

    oklch(60.9% 0.082 248.7)

  • #428FA4

    #428FA4

    oklch(61% 0.082 218.3)

  • #787EB4

    #787EB4

    oklch(61% 0.082 278.8)

Open the analogous palette in the generator

Split complementary

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

  • #5B87B2

    #5B87B2

    oklch(60.9% 0.082 248.7)

  • #AD725E

    #AD725E

    oklch(60.9% 0.081 39.5)

  • #8F8448

    #8F8448

    oklch(60.9% 0.082 99.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B87B2

    #5B87B2

    oklch(60.9% 0.082 248.7)

  • #AD6E79

    #AD6E79

    oklch(60.9% 0.081 8.4)

  • #748D57

    #748D57

    oklch(61% 0.082 128.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B87B2

    #5B87B2

    oklch(60.9% 0.082 248.7)

  • #A47093

    #A47093

    oklch(61% 0.081 339.5)

  • #A37A4B

    #A37A4B

    oklch(60.9% 0.082 69.1)

  • #559271

    #559271

    oklch(60.9% 0.082 159)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5B87B2 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.