#517CE4#517CE4

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

Color values

HEX#517CE4
RGBrgb(81, 124, 228)
HSLhsl(222, 73%, 61%)
HSVhsv(222, 64%, 89%)
CMYKcmyk(64.5%, 45.6%, 0%, 10.6%)
CIE-LABlab(53.78, 17.88, -57.33)
CIE-LCHlch(53.78, 60.06, 287.32°)
OKLaboklab(60.77% -0.0143 -0.1639)
OKLCHoklch(60.77% 0.165 265)
XYZxyz(24.5997, 21.7638, 76.2882)
Luminance0.2177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517CE4 #E4B951
analogous
#51C5E4 #517CE4 #6F51E4
triadic
#517CE4 #E4517C #7CE451
tetradic
#517CE4 #E451C5 #E4B951 #51E46F
square
#517CE4 #E451C5 #E4B951 #51E46F
split-complementary
#517CE4 #E46F51 #C5E451
monochromatic
#1941A2 #2156D7 #517CE4 #86A4EC #BBCCF4

Accessibility & contrast

On white

3.92
#517CE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#517CE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517CE4
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517CE4#FFFFFF#000000##000000
##517CE41.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4988E8
Deuteranopia (green-blind)
#2E7AE2
Tritanopia (blue-blind)
#0094A5
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #517ce4;
/* rgb */ color: rgb(81, 124, 228);
/* oklch */ color: oklch(60.8% 0.165 265.0);
Tailwind
colors: {
  custom: {
    50: '#90a1ed',
    500: '#517ce4',
    950: '#000000',
  },
}
SCSS
$custom: #517ce4;
$custom-light: #90a1ed;
$custom-dark: #000000;
JSON
{
  "hex": "#517ce4",
  "rgb": {
    "r": 81,
    "g": 124,
    "b": 228
  },
  "hsl": {
    "h": 222.449,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.6077,
    "c": 0.16457,
    "h": 265
  },
  "luminance": 0.21766
}

Semantic roles & 50–950 ramp

primary
#517CE4
secondary
#E4D4AC
accent
#9C10D5
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #517CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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