#5787CD

Closest named color: Cool Blue (#4984B8). oklch(62% 0.119 257.8), rgb(87, 135, 205).

Aa

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

About this color

#5787CD is a medium-light, moderately saturated blue. In OKLCH its lightness is 62%, its chroma 0.119 and its hue 258°. Its hue sits on the cool side of the wheel. The nearest named color is Cool Blue (#4984B8), ΔE 0.036 away. Black text reads best on it, at 5.75:1.

Hue familyBlues
Lightnessmedium-light (62%)
Chromamoderately saturated (0.119)
Temperaturecool
Nearest nameCool Blue (#4984B8)
Black text5.75:1
White text3.65:1

Values

HEX#5787CD
RGBrgb(87, 135, 205)
HSLhsl(216, 54%, 57%)
OKLCHoklch(62% 0.119 257.8)

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 #5787CD 3.65:1 AA large text Lc -69.4 Content text, not long reading
Black text on #5787CD 5.75:1 AA Lc 40.2 Non-text elements, placeholder text
#5787CD text on white 3.65:1 AA large text Lc 63.9 Content text, not long reading
#5787CD text on black 5.75:1 AA Lc -37.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

    #F2F6FB

    oklch(97.2% 0.008 253.9)

  2. Step 100

    100

    #E3EAF5

    oklch(93.5% 0.017 259.4)

  3. Step 200

    200

    #CCDAEF

    oklch(88.4% 0.033 258.4)

  4. Step 300

    300

    #AAC2E7

    oklch(80.9% 0.059 259)

  5. Step 400

    400

    #7CA2DA

    oklch(70.6% 0.093 257.9)

  6. Step 500

    500 (this color)

    #5787CD

    oklch(62% 0.119 257.8)

  7. Step 600

    600

    #3F73BE

    oklch(55.6% 0.13 257.7)

  8. Step 700

    700

    #3160A4

    oklch(49.1% 0.121 257.8)

  9. Step 800

    800

    #2A4F84

    oklch(42.8% 0.098 257.6)

  10. Step 900

    900

    #26426A

    oklch(37.8% 0.077 257.4)

  11. Step 950

    950

    #17273E

    oklch(27.1% 0.048 257.5)

Export this scale for Tailwind in the Tailwind colors tool

#5787CD 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)#6A8CD00.027
Deuteranopia (no green cones)#5B81CC0.016
Tritanopia (no blue cones)#0097A00.105
Achromatopsia (no color)#8686860.119

Harmonies

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

Complementary

The opposite hue (180°).

  • #5787CD

    #5787CD

    oklch(62% 0.119 257.8)

  • #AD7C20

    #AD7C20

    oklch(62% 0.118 78)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5787CD

    #5787CD

    oklch(62% 0.119 257.8)

  • #0B93BE

    #0B93BE

    oklch(62% 0.119 228)

  • #837ACA

    #837ACA

    oklch(62.1% 0.119 287.6)

Open the analogous palette in the generator

Split complementary

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

  • #5787CD

    #5787CD

    oklch(62% 0.119 257.8)

  • #BF6E42

    #BF6E42

    oklch(62% 0.119 48)

  • #8E8B26

    #8E8B26

    oklch(62.1% 0.119 107.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5787CD

    #5787CD

    oklch(62% 0.119 257.8)

  • #C3666B

    #C3666B

    oklch(62% 0.119 17.8)

  • #61974D

    #61974D

    oklch(62.1% 0.12 137.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5787CD

    #5787CD

    oklch(62% 0.119 257.8)

  • #BA6793

    #BA6793

    oklch(62.1% 0.119 348.1)

  • #AD7C20

    #AD7C20

    oklch(62% 0.118 78)

  • #1E9D78

    #1E9D78

    oklch(62.1% 0.119 167.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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