#517AE5#517AE5

#517AE5 is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.4% C 0.168 H 265.8°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#517AE5
RGBrgb(81, 122, 229)
HSLhsl(223, 74%, 61%)
HSVhsv(223, 65%, 90%)
CMYKcmyk(64.6%, 46.7%, 0%, 10.2%)
CIE-LABlab(53.30, 19.46, -58.65)
CIE-LCHlch(53.30, 61.80, 288.35°)
OKLaboklab(60.43% -0.0123 -0.1678)
OKLCHoklch(60.43% 0.168 265.8)
XYZxyz(24.4908, 21.3233, 76.9387)
Luminance0.2133 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517AE5 #E5BC51
analogous
#51C4E5 #517AE5 #7251E5
triadic
#517AE5 #E5517A #7AE551
tetradic
#517AE5 #E551C4 #E5BC51 #51E572
square
#517AE5 #E551C4 #E5BC51 #51E572
split-complementary
#517AE5 #E57251 #C4E551
monochromatic
#183FA3 #2053D8 #517AE5 #86A3ED #BBCBF5

Accessibility & contrast

On white

3.99
#517AE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#517AE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517AE5
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517AE5#FFFFFF#000000##000000
##517AE51.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4386E9
Deuteranopia (green-blind)
#2679E3
Tritanopia (blue-blind)
#0093A4
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #517ae5;
/* rgb */ color: rgb(81, 122, 229);
/* oklch */ color: oklch(60.4% 0.168 265.8);
Tailwind
colors: {
  custom: {
    50: '#909fee',
    500: '#517ae5',
    950: '#000000',
  },
}
SCSS
$custom: #517ae5;
$custom-light: #909fee;
$custom-dark: #000000;
JSON
{
  "hex": "#517ae5",
  "rgb": {
    "r": 81,
    "g": 122,
    "b": 229
  },
  "hsl": {
    "h": 223.378,
    "s": 74,
    "l": 60.784
  },
  "oklch": {
    "l": 0.60426,
    "c": 0.1683,
    "h": 265.8
  },
  "luminance": 0.21326
}

Semantic roles & 50–950 ramp

primary
#517AE5
secondary
#E5D5AD
accent
#9F0FD6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #517AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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