#517AE5

Closest named color: Cornflower (#6A79F7). oklch(60.4% 0.168 265.8), rgb(81, 122, 229).

Aa

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

About this color

#517AE5 is a medium-dark, vivid blue. In OKLCH its lightness is 60%, its chroma 0.168 and its hue 266°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower (#6A79F7), ΔE 0.041 away. Black text reads best on it, at 5.26:1.

Hue familyBlues
Lightnessmedium-dark (60%)
Chromavivid (0.168)
Temperaturecool
Nearest nameCornflower (#6A79F7)
Black text5.26:1
White text3.98:1

Values

HEX#517AE5
RGBrgb(81, 122, 229)
HSLhsl(223, 74%, 61%)
OKLCHoklch(60.4% 0.168 265.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 #517AE5 3.98:1 AA large text Lc -72.4 Content text, not long reading
Black text on #517AE5 5.26:1 AA Lc 37.2 Non-text elements, placeholder text
#517AE5 text on white 3.98:1 AA large text Lc 66.9 Content text, not long reading
#517AE5 text on black 5.26:1 AA Lc -34.8 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

    #F2F5FD

    oklch(97% 0.011 269.6)

  2. Step 100

    100

    #E2EAFA

    oklch(93.6% 0.023 264.5)

  3. Step 200

    200

    #CBD9F8

    oklch(88.5% 0.045 266.2)

  4. Step 300

    300

    #A8C0F7

    oklch(80.9% 0.083 266.3)

  5. Step 400

    400

    #799DF3

    oklch(70.6% 0.133 265.9)

  6. Step 500

    500 (this color)

    #517AE5

    oklch(60.4% 0.168 265.8)

  7. Step 600

    600

    #4069DD

    oklch(55.6% 0.183 265.9)

  8. Step 700

    700

    #3257C0

    oklch(49.2% 0.17 265.7)

  9. Step 800

    800

    #2A479B

    oklch(42.6% 0.142 266.1)

  10. Step 900

    900

    #253D7B

    oklch(37.7% 0.11 265.5)

  11. Step 950

    950

    #162448

    oklch(26.9% 0.07 265.9)

Export this scale for Tailwind in the Tailwind colors tool

#517AE5 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)#4386E90.031
Deuteranopia (no green cones)#2679E30.035
Tritanopia (no blue cones)#0093A40.141
Achromatopsia (no color)#7F7F7F0.168

Harmonies

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

Complementary

The opposite hue (180°).

  • #517AE5

    #517AE5

    oklch(60.4% 0.168 265.8)

  • #A27B00

    #A27B00

    oklch(60.4% 0.124 86.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #517AE5

    #517AE5

    oklch(60.4% 0.168 265.8)

  • #008CC4

    #008CC4

    oklch(60.5% 0.13 235.7)

  • #8C67D9

    #8C67D9

    oklch(60.4% 0.168 295.9)

Open the analogous palette in the generator

Split complementary

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

  • #517AE5

    #517AE5

    oklch(60.4% 0.168 265.8)

  • #C26500

    #C26500

    oklch(60.4% 0.148 55.9)

  • #7E8B00

    #7E8B00

    oklch(60.5% 0.139 116.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #517AE5

    #517AE5

    oklch(60.4% 0.168 265.8)

  • #D34F49

    #D34F49

    oklch(60.4% 0.168 26)

  • #269A3B

    #269A3B

    oklch(60.3% 0.168 145.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #517AE5

    #517AE5

    oklch(60.4% 0.168 265.8)

  • #CB4D85

    #CB4D85

    oklch(60.4% 0.169 355.8)

  • #A27B00

    #A27B00

    oklch(60.4% 0.124 86.3)

  • #00977F

    #00977F

    oklch(60.4% 0.113 176.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #517AE5 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.