#5787EA

Closest named color: Soft Blue (#6488EA). oklch(63.7% 0.158 263.2), rgb(87, 135, 234).

Aa

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

About this color

#5787EA is a medium-light, vivid blue. In OKLCH its lightness is 64%, its chroma 0.158 and its hue 263°. Its hue sits on the cool side of the wheel. The nearest named color is Soft Blue (#6488EA), ΔE 0.015 away. Black text reads best on it, at 6.05:1.

Hue familyBlues
Lightnessmedium-light (64%)
Chromavivid (0.158)
Temperaturecool
Nearest nameSoft Blue (#6488EA)
Black text6.05:1
White text3.46:1

Values

HEX#5787EA
RGBrgb(87, 135, 234)
HSLhsl(220, 78%, 63%)
OKLCHoklch(63.7% 0.158 263.2)

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 #5787EA 3.46:1 AA large text Lc -67.4 Content text, not long reading
Black text on #5787EA 6.05:1 AA Lc 42.1 Non-text elements, placeholder text
#5787EA text on white 3.46:1 AA large text Lc 61.9 Content text, not long reading
#5787EA text on black 6.05:1 AA Lc -39.7 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

    #F2F6FD

    oklch(97.2% 0.01 261.8)

  2. Step 100

    100

    #E2EAF9

    oklch(93.5% 0.022 263.2)

  3. Step 200

    200

    #CADAF6

    oklch(88.5% 0.042 261.7)

  4. Step 300

    300

    #A7C1F3

    oklch(80.9% 0.077 263.3)

  5. Step 400

    400

    #789FEE

    oklch(70.7% 0.124 263.5)

  6. Step 500

    500 (this color)

    #5787EA

    oklch(63.7% 0.158 263.2)

  7. Step 600

    600

    #3B6CD6

    oklch(55.5% 0.172 263.3)

  8. Step 700

    700

    #2E5ABA

    oklch(49.2% 0.16 263.2)

  9. Step 800

    800

    #264A96

    oklch(42.7% 0.132 263)

  10. Step 900

    900

    #233F78

    oklch(37.8% 0.103 262.8)

  11. Step 950

    950

    #152546

    oklch(27% 0.065 263.2)

Export this scale for Tailwind in the Tailwind colors tool

#5787EA 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)#5991EE0.027
Deuteranopia (no green cones)#4383E80.023
Tritanopia (no blue cones)#009DAD0.132
Achromatopsia (no color)#8A8A8A0.158

Harmonies

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

Complementary

The opposite hue (180°).

  • #5787EA

    #5787EA

    oklch(63.7% 0.158 263.2)

  • #B18200

    #B18200

    oklch(63.6% 0.131 83)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5787EA

    #5787EA

    oklch(63.7% 0.158 263.2)

  • #0097CE

    #0097CE

    oklch(63.7% 0.132 233.4)

  • #9175E1

    #9175E1

    oklch(63.7% 0.158 293.3)

Open the analogous palette in the generator

Split complementary

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

  • #5787EA

    #5787EA

    oklch(63.7% 0.158 263.2)

  • #D36B0D

    #D36B0D

    oklch(63.8% 0.158 53.2)

  • #8C9300

    #8C9300

    oklch(63.6% 0.142 113.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5787EA

    #5787EA

    oklch(63.7% 0.158 263.2)

  • #DA5D5C

    #DA5D5C

    oklch(63.6% 0.158 23.1)

  • #47A345

    #47A345

    oklch(63.8% 0.158 143.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5787EA

    #5787EA

    oklch(63.7% 0.158 263.2)

  • #D15D93

    #D15D93

    oklch(63.8% 0.157 353.4)

  • #B18200

    #B18200

    oklch(63.6% 0.131 83)

  • #00A384

    #00A384

    oklch(63.8% 0.123 172.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5787EA 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.