#517AE7

Closest named color: Cornflower (#6A79F7). oklch(60.6% 0.171 266), rgb(81, 122, 231).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (61%)
Chromavivid (0.171)
Temperaturecool
Nearest nameCornflower (#6A79F7)
Black text5.28:1
White text3.97:1

Values

HEX#517AE7
RGBrgb(81, 122, 231)
HSLhsl(224, 76%, 61%)
OKLCHoklch(60.6% 0.171 266)

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 #517AE7 3.97:1 AA large text Lc -72.3 Content text, not long reading
Black text on #517AE7 5.28:1 AA Lc 37.3 Non-text elements, placeholder text
#517AE7 text on white 3.97:1 AA large text Lc 66.7 Content text, not long reading
#517AE7 text on black 5.28:1 AA Lc -34.9 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

    #E2EAFB

    oklch(93.6% 0.025 265.6)

  3. Step 200

    200

    #CBD9F9

    oklch(88.5% 0.047 266.7)

  4. Step 300

    300

    #A7C0F8

    oklch(80.9% 0.084 265.9)

  5. Step 400

    400

    #799DF4

    oklch(70.7% 0.134 266)

  6. Step 500

    500 (this color)

    #517AE7

    oklch(60.6% 0.171 266)

  7. Step 600

    600

    #3F68DE

    oklch(55.5% 0.186 266)

  8. Step 700

    700

    #3256C1

    oklch(49.1% 0.173 266.1)

  9. Step 800

    800

    #29479C

    oklch(42.7% 0.143 265.9)

  10. Step 900

    900

    #253D7C

    oklch(37.8% 0.111 265.7)

  11. Step 950

    950

    #162449

    oklch(27% 0.071 266.2)

Export this scale for Tailwind in the Tailwind colors tool

#517AE7 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)#4287EB0.033
Deuteranopia (no green cones)#2179E50.037
Tritanopia (no blue cones)#0093A50.142
Achromatopsia (no color)#8080800.171

Harmonies

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

Complementary

The opposite hue (180°).

  • #517AE7

    #517AE7

    oklch(60.6% 0.171 266)

  • #A37B00

    #A37B00

    oklch(60.6% 0.124 85.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #517AE7

    #517AE7

    oklch(60.6% 0.171 266)

  • #008CC5

    #008CC5

    oklch(60.6% 0.131 236.2)

  • #8D67DB

    #8D67DB

    oklch(60.6% 0.171 296)

Open the analogous palette in the generator

Split complementary

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

  • #517AE7

    #517AE7

    oklch(60.6% 0.171 266)

  • #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.

  • #517AE7

    #517AE7

    oklch(60.6% 0.171 266)

  • #D54E48

    #D54E48

    oklch(60.6% 0.171 26.1)

  • #229B3A

    #229B3A

    oklch(60.5% 0.171 145.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #517AE7

    #517AE7

    oklch(60.6% 0.171 266)

  • #CC4C85

    #CC4C85

    oklch(60.4% 0.171 355.9)

  • #A37B00

    #A37B00

    oklch(60.6% 0.124 85.7)

  • #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 #517AE7, closest first.

Similar named colors

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

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