#5B87FF

Closest named color: Soft Blue (#6488EA). oklch(65.2% 0.184 266.3), rgb(91, 135, 255).

Aa

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

About this color

#5B87FF is a medium-light, vivid blue. In OKLCH its lightness is 65%, its chroma 0.184 and its hue 266°. Its hue sits on the cool side of the wheel. The nearest named color is Soft Blue (#6488EA), ΔE 0.033 away. Black text reads best on it, at 6.35:1.

Hue familyBlues
Lightnessmedium-light (65%)
Chromavivid (0.184)
Temperaturecool
Nearest nameSoft Blue (#6488EA)
Black text6.35:1
White text3.30:1

Values

HEX#5B87FF
RGBrgb(91, 135, 255)
HSLhsl(224, 100%, 68%)
OKLCHoklch(65.2% 0.184 266.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 #5B87FF 3.30:1 AA large text Lc -65.5 Content text, not long reading
Black text on #5B87FF 6.35:1 AA Lc 44.0 Non-text elements, placeholder text
#5B87FF text on white 3.30:1 AA large text Lc 60.1 Content text, not long reading
#5B87FF text on black 6.35:1 AA Lc -41.6 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

    #F2F5FE

    oklch(97% 0.012 271.3)

  2. Step 100

    100

    #E2EAFC

    oklch(93.6% 0.026 266.6)

  3. Step 200

    200

    #CAD9FB

    oklch(88.5% 0.05 266.5)

  4. Step 300

    300

    #A6C0FC

    oklch(81% 0.09 266.3)

  5. Step 400

    400

    #779CFA

    oklch(70.7% 0.144 266.5)

  6. Step 500

    500 (this color)

    #5B87FF

    oklch(65.2% 0.184 266.3)

  7. Step 600

    600

    #3C66E7

    oklch(55.6% 0.201 266.2)

  8. Step 700

    700

    #2F54C8

    oklch(49.1% 0.185 266.1)

  9. Step 800

    800

    #2745A2

    oklch(42.6% 0.155 266.3)

  10. Step 900

    900

    #233B80

    oklch(37.5% 0.12 266.2)

  11. Step 950

    950

    #15234B

    oklch(26.9% 0.076 266.7)

Export this scale for Tailwind in the Tailwind colors tool

#5B87FF 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)#4995FF0.036
Deuteranopia (no green cones)#2686FD0.041
Tritanopia (no blue cones)#00A3B70.154
Achromatopsia (no color)#8D8D8D0.185

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B87FF

    #5B87FF

    oklch(65.2% 0.184 266.3)

  • #B48900

    #B48900

    oklch(65.3% 0.134 86.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B87FF

    #5B87FF

    oklch(65.2% 0.184 266.3)

  • #009BDA

    #009BDA

    oklch(65.2% 0.141 236.4)

  • #9C72F1

    #9C72F1

    oklch(65.2% 0.184 296.2)

Open the analogous palette in the generator

Split complementary

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

  • #5B87FF

    #5B87FF

    oklch(65.2% 0.184 266.3)

  • #D67100

    #D67100

    oklch(65.2% 0.159 56.4)

  • #8C9A00

    #8C9A00

    oklch(65.2% 0.149 116.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B87FF

    #5B87FF

    oklch(65.2% 0.184 266.3)

  • #EB5750

    #EB5750

    oklch(65.2% 0.184 26.2)

  • #24AC42

    #24AC42

    oklch(65.3% 0.185 146.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B87FF

    #5B87FF

    oklch(65.2% 0.184 266.3)

  • #E25593

    #E25593

    oklch(65.2% 0.184 356.2)

  • #B48900

    #B48900

    oklch(65.3% 0.134 86.2)

  • #00A78D

    #00A78D

    oklch(65.1% 0.121 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 #5B87FF, closest first.

Similar named colors

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

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