#517DE5#517DE5

#517DE5 is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.0% C 0.165 H 264.7°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#517DE5
RGBrgb(81, 125, 229)
HSLhsl(222, 74%, 61%)
HSVhsv(222, 65%, 90%)
CMYKcmyk(64.6%, 45.4%, 0%, 10.2%)
CIE-LABlab(54.10, 17.61, -57.37)
CIE-LCHlch(54.10, 60.01, 287.07°)
OKLaboklab(61.04% -0.0151 -0.164)
OKLCHoklch(61.04% 0.165 264.7)
XYZxyz(24.8649, 22.0714, 77.0634)
Luminance0.2207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517DE5 #E5B951
analogous
#51C7E5 #517DE5 #6F51E5
triadic
#517DE5 #E5517D #7DE551
tetradic
#517DE5 #E551C7 #E5B951 #51E56F
square
#517DE5 #E551C7 #E5B951 #51E56F
split-complementary
#517DE5 #E56F51 #C7E551
monochromatic
#1842A3 #2057D8 #517DE5 #86A5ED #BBCDF5

Accessibility & contrast

On white

3.88
#517DE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#517DE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517DE5
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517DE5#FFFFFF#000000##000000
##517DE51.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A89E9
Deuteranopia (green-blind)
#2F7BE3
Tritanopia (blue-blind)
#0095A6
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #517de5;
/* rgb */ color: rgb(81, 125, 229);
/* oklch */ color: oklch(61.0% 0.165 264.7);
Tailwind
colors: {
  custom: {
    50: '#90a2ee',
    500: '#517de5',
    950: '#000000',
  },
}
SCSS
$custom: #517de5;
$custom-light: #90a2ee;
$custom-dark: #000000;
JSON
{
  "hex": "#517de5",
  "rgb": {
    "r": 81,
    "g": 125,
    "b": 229
  },
  "hsl": {
    "h": 222.162,
    "s": 74,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61039,
    "c": 0.16473,
    "h": 264.7
  },
  "luminance": 0.22074
}

Semantic roles & 50–950 ramp

primary
#517DE5
secondary
#E5D4AD
accent
#9B0FD6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F16
muted
#7E7E84

Preview Lab

Preview with #517DE5

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

Preview Lab → · Contrast checker → · Palette generator →

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