#517CE7#517CE7

#517CE7 is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.0% C 0.169 H 265.3°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#517CE7
RGBrgb(81, 124, 231)
HSLhsl(223, 76%, 61%)
HSVhsv(223, 65%, 91%)
CMYKcmyk(64.9%, 46.3%, 0%, 9.4%)
CIE-LABlab(53.95, 18.92, -58.72)
CIE-LCHlch(53.95, 61.70, 287.85°)
OKLaboklab(60.96% -0.0139 -0.168)
OKLCHoklch(60.96% 0.169 265.3)
XYZxyz(25.0198, 21.9318, 78.5005)
Luminance0.2193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517CE7 #E7BC51
analogous
#51C7E7 #517CE7 #7151E7
triadic
#517CE7 #E7517C #7CE751
tetradic
#517CE7 #E751C7 #E7BC51 #51E771
square
#517CE7 #E751C7 #E7BC51 #51E771
split-complementary
#517CE7 #E77151 #C7E751
monochromatic
#1740A7 #1E55DC #517CE7 #87A4EE #BDCDF6

Accessibility & contrast

On white

3.90
#517CE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#517CE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517CE7
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517CE7#FFFFFF#000000##000000
##517CE71.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4688EB
Deuteranopia (green-blind)
#287BE5
Tritanopia (blue-blind)
#0095A6
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #517ce7;
/* rgb */ color: rgb(81, 124, 231);
/* oklch */ color: oklch(61.0% 0.169 265.3);
Tailwind
colors: {
  custom: {
    50: '#90a1ef',
    500: '#517ce7',
    950: '#000000',
  },
}
SCSS
$custom: #517ce7;
$custom-light: #90a1ef;
$custom-dark: #000000;
JSON
{
  "hex": "#517ce7",
  "rgb": {
    "r": 81,
    "g": 124,
    "b": 231
  },
  "hsl": {
    "h": 222.8,
    "s": 75.758,
    "l": 61.176
  },
  "oklch": {
    "l": 0.60964,
    "c": 0.16861,
    "h": 265.3
  },
  "luminance": 0.21934
}

Semantic roles & 50–950 ramp

primary
#517CE7
secondary
#E6D6AE
accent
#9E0ED8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #517CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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