#517CE8#517CE8

#517CE8 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.0% C 0.170 H 265.4°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#517CE8
RGBrgb(81, 124, 232)
HSLhsl(223, 77%, 61%)
HSVhsv(223, 65%, 91%)
CMYKcmyk(65.1%, 46.6%, 0%, 9%)
CIE-LABlab(54.01, 19.26, -59.19)
CIE-LCHlch(54.01, 62.24, 288.02°)
OKLaboklab(61.03% -0.0137 -0.1694)
OKLCHoklch(61.03% 0.17 265.4)
XYZxyz(25.1614, 21.9884, 79.2465)
Luminance0.2199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517CE8 #E8BD51
analogous
#51C8E8 #517CE8 #7251E8
triadic
#517CE8 #E8517C #7CE851
tetradic
#517CE8 #E851C8 #E8BD51 #51E872
square
#517CE8 #E851C8 #E8BD51 #51E872
split-complementary
#517CE8 #E87251 #C8E851
monochromatic
#1640A8 #1D54DE #517CE8 #87A5EF #BDCDF6

Accessibility & contrast

On white

3.89
#517CE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#517CE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517CE8
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517CE8#FFFFFF#000000##000000
##517CE81.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4588EC
Deuteranopia (green-blind)
#267BE6
Tritanopia (blue-blind)
#0095A7
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #517ce8;
/* rgb */ color: rgb(81, 124, 232);
/* oklch */ color: oklch(61.0% 0.170 265.4);
Tailwind
colors: {
  custom: {
    50: '#90a1f0',
    500: '#517ce8',
    950: '#000000',
  },
}
SCSS
$custom: #517ce8;
$custom-light: #90a1f0;
$custom-dark: #000000;
JSON
{
  "hex": "#517ce8",
  "rgb": {
    "r": 81,
    "g": 124,
    "b": 232
  },
  "hsl": {
    "h": 222.914,
    "s": 76.65,
    "l": 61.373
  },
  "oklch": {
    "l": 0.6103,
    "c": 0.16996,
    "h": 265.4
  },
  "luminance": 0.21991
}

Semantic roles & 50–950 ramp

primary
#517CE8
secondary
#E7D7AE
accent
#9F0DD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #517CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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