#517CE5#517CE5

#517CE5 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 60.8% C 0.166 H 265.1°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#517CE5
RGBrgb(81, 124, 229)
HSLhsl(223, 74%, 61%)
HSVhsv(223, 65%, 90%)
CMYKcmyk(64.6%, 45.9%, 0%, 10.2%)
CIE-LABlab(53.84, 18.23, -57.80)
CIE-LCHlch(53.84, 60.60, 287.50°)
OKLaboklab(60.83% -0.0142 -0.1653)
OKLCHoklch(60.83% 0.166 265.1)
XYZxyz(24.7389, 21.8195, 77.0214)
Luminance0.2182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517CE5 #E5BA51
analogous
#51C6E5 #517CE5 #7051E5
triadic
#517CE5 #E5517C #7CE551
tetradic
#517CE5 #E551C6 #E5BA51 #51E570
square
#517CE5 #E551C6 #E5BA51 #51E570
split-complementary
#517CE5 #E57051 #C6E551
monochromatic
#1841A3 #2056D8 #517CE5 #86A4ED #BBCCF5

Accessibility & contrast

On white

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

On black

5.36
#517CE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517CE5
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517CE5#FFFFFF#000000##000000
##517CE51.003.915.365.36
#FFFFFF3.911.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4888E9
Deuteranopia (green-blind)
#2C7AE3
Tritanopia (blue-blind)
#0094A5
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #517ce5;
/* rgb */ color: rgb(81, 124, 229);
/* oklch */ color: oklch(60.8% 0.166 265.1);
Tailwind
colors: {
  custom: {
    50: '#90a1ee',
    500: '#517ce5',
    950: '#000000',
  },
}
SCSS
$custom: #517ce5;
$custom-light: #90a1ee;
$custom-dark: #000000;
JSON
{
  "hex": "#517ce5",
  "rgb": {
    "r": 81,
    "g": 124,
    "b": 229
  },
  "hsl": {
    "h": 222.568,
    "s": 74,
    "l": 60.784
  },
  "oklch": {
    "l": 0.60834,
    "c": 0.16592,
    "h": 265.1
  },
  "luminance": 0.21822
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #517CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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