#5D7BF5

Closest named color: Cornflower (#6A79F7). oklch(62.3% 0.185 269.9), rgb(93, 123, 245).

Aa

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

About this color

#5D7BF5 is a medium-light, vivid blue. In OKLCH its lightness is 62%, its chroma 0.185 and its hue 270°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower (#6A79F7), ΔE 0.016 away. Black text reads best on it, at 5.61:1.

Hue familyBlues
Lightnessmedium-light (62%)
Chromavivid (0.185)
Temperaturecool
Nearest nameCornflower (#6A79F7)
Black text5.61:1
White text3.73:1

Values

HEX#5D7BF5
RGBrgb(93, 123, 245)
HSLhsl(228, 88%, 66%)
OKLCHoklch(62.3% 0.185 269.9)

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 #5D7BF5 3.73:1 AA large text Lc -70.1 Content text, not long reading
Black text on #5D7BF5 5.61:1 AA Lc 39.5 Non-text elements, placeholder text
#5D7BF5 text on white 3.73:1 AA large text Lc 64.6 Content text, not long reading
#5D7BF5 text on black 5.61:1 AA Lc -37.0 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

    #E3EAFC

    oklch(93.7% 0.025 268.8)

  3. Step 200

    200

    #CCD8FB

    oklch(88.4% 0.05 270.4)

  4. Step 300

    300

    #AABEFC

    oklch(80.9% 0.091 270.5)

  5. Step 400

    400

    #7E9AFA

    oklch(70.7% 0.144 270.1)

  6. Step 500

    500 (this color)

    #5D7BF5

    oklch(62.3% 0.185 269.9)

  7. Step 600

    600

    #4863E7

    oklch(55.6% 0.201 269.8)

  8. Step 700

    700

    #3A51C9

    oklch(49.2% 0.187 269.8)

  9. Step 800

    800

    #3043A2

    oklch(42.7% 0.155 270)

  10. Step 900

    900

    #2A3A81

    oklch(37.8% 0.121 270.1)

  11. Step 950

    950

    #18234B

    oklch(27.1% 0.075 269.3)

Export this scale for Tailwind in the Tailwind colors tool

#5D7BF5 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)#378BF90.047
Deuteranopia (no green cones)#087EF20.054
Tritanopia (no blue cones)#0097AC0.157
Achromatopsia (no color)#8484840.185

Harmonies

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

Complementary

The opposite hue (180°).

  • #5D7BF5

    #5D7BF5

    oklch(62.3% 0.185 269.9)

  • #A58200

    #A58200

    oklch(62.2% 0.127 89.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5D7BF5

    #5D7BF5

    oklch(62.3% 0.185 269.9)

  • #0090D3

    #0090D3

    oklch(62.3% 0.142 239.8)

  • #9A66E4

    #9A66E4

    oklch(62.3% 0.185 300.1)

Open the analogous palette in the generator

Split complementary

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

  • #5D7BF5

    #5D7BF5

    oklch(62.3% 0.185 269.9)

  • #C56E00

    #C56E00

    oklch(62.3% 0.146 60.2)

  • #7D9300

    #7D9300

    oklch(62.4% 0.148 119.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5D7BF5

    #5D7BF5

    oklch(62.3% 0.185 269.9)

  • #E14E3D

    #E14E3D

    oklch(62.3% 0.186 29.8)

  • #00A24A

    #00A24A

    oklch(62.3% 0.171 150)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5D7BF5

    #5D7BF5

    oklch(62.3% 0.185 269.9)

  • #DA4A83

    #DA4A83

    oklch(62.3% 0.186 359.7)

  • #A58200

    #A58200

    oklch(62.2% 0.127 89.6)

  • #009D8A

    #009D8A

    oklch(62.4% 0.113 180.2)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #5D7BF5.

Similar named colors

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

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