#517AEE#517AEE

#517AEE is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.0% C 0.180 H 266.5°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#517AEE
RGBrgb(81, 122, 238)
HSLhsl(224, 82%, 63%)
HSVhsv(224, 66%, 93%)
CMYKcmyk(66%, 48.7%, 0%, 6.7%)
CIE-LABlab(53.86, 22.55, -62.79)
CIE-LCHlch(53.86, 66.72, 289.76°)
OKLaboklab(61.03% -0.0111 -0.18)
OKLCHoklch(61.03% 0.18 266.5)
XYZxyz(25.7801, 21.8390, 83.7291)
Luminance0.2184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517AEE #EEC551
analogous
#51C9EE #517AEE #7651EE
triadic
#517AEE #EE517A #7AEE51
tetradic
#517AEE #EE51C9 #EEC551 #51EE76
square
#517AEE #EE51C9 #EEC551 #51EE76
split-complementary
#517AEE #EE7651 #C9EE51
monochromatic
#113CB3 #194FE9 #517AEE #89A5F3 #C1CFF9

Accessibility & contrast

On white

3.91
#517AEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#517AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517AEE
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517AEE#FFFFFF#000000##000000
##517AEE1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A88F2
Deuteranopia (green-blind)
#097AEC
Tritanopia (blue-blind)
#0095A9
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #517aee;
/* rgb */ color: rgb(81, 122, 238);
/* oklch */ color: oklch(61.0% 0.180 266.5);
Tailwind
colors: {
  custom: {
    50: '#929ff4',
    500: '#517aee',
    950: '#000000',
  },
}
SCSS
$custom: #517aee;
$custom-light: #929ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#517aee",
  "rgb": {
    "r": 81,
    "g": 122,
    "b": 238
  },
  "hsl": {
    "h": 224.331,
    "s": 82.199,
    "l": 62.549
  },
  "oklch": {
    "l": 0.61027,
    "c": 0.18037,
    "h": 266.5
  },
  "luminance": 0.21841
}

Semantic roles & 50–950 ramp

primary
#517AEE
secondary
#EADBB1
accent
#A607DF
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #517AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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