#517AE7#517AE7

#517AE7 is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.6% C 0.171 H 266.0°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#517AE7
RGBrgb(81, 122, 231)
HSLhsl(224, 76%, 61%)
HSVhsv(224, 65%, 91%)
CMYKcmyk(64.9%, 47.2%, 0%, 9.4%)
CIE-LABlab(53.42, 20.14, -59.58)
CIE-LCHlch(53.42, 62.89, 288.68°)
OKLaboklab(60.56% -0.012 -0.1706)
OKLCHoklch(60.56% 0.171 266)
XYZxyz(24.7717, 21.4356, 78.4178)
Luminance0.2144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517AE7 #E7BE51
analogous
#51C5E7 #517AE7 #7351E7
triadic
#517AE7 #E7517A #7AE751
tetradic
#517AE7 #E751C5 #E7BE51 #51E773
square
#517AE7 #E751C5 #E7BE51 #51E773
split-complementary
#517AE7 #E77351 #C5E751
monochromatic
#173EA7 #1E52DC #517AE7 #87A3EE #BDCCF6

Accessibility & contrast

On white

3.97
#517AE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#517AE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517AE7
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517AE7#FFFFFF#000000##000000
##517AE71.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4287EB
Deuteranopia (green-blind)
#2179E5
Tritanopia (blue-blind)
#0093A5
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #517ae7;
/* rgb */ color: rgb(81, 122, 231);
/* oklch */ color: oklch(60.6% 0.171 266.0);
Tailwind
colors: {
  custom: {
    50: '#909fef',
    500: '#517ae7',
    950: '#000000',
  },
}
SCSS
$custom: #517ae7;
$custom-light: #909fef;
$custom-dark: #000000;
JSON
{
  "hex": "#517ae7",
  "rgb": {
    "r": 81,
    "g": 122,
    "b": 231
  },
  "hsl": {
    "h": 223.6,
    "s": 75.758,
    "l": 61.176
  },
  "oklch": {
    "l": 0.60558,
    "c": 0.171,
    "h": 266
  },
  "luminance": 0.21438
}

Semantic roles & 50–950 ramp

primary
#517AE7
secondary
#E6D7AE
accent
#A10ED8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #517AE7

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#517AE7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva