#517CE6#517CE6

#517CE6 is a mid, vivid blue. Relative luminance 0.219; OKLCH L 60.9% C 0.167 H 265.2°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#517CE6
RGBrgb(81, 124, 230)
HSLhsl(223, 75%, 61%)
HSVhsv(223, 65%, 90%)
CMYKcmyk(64.8%, 46.1%, 0%, 9.8%)
CIE-LABlab(53.89, 18.57, -58.26)
CIE-LCHlch(53.89, 61.15, 287.68°)
OKLaboklab(60.9% -0.014 -0.1667)
OKLCHoklch(60.9% 0.167 265.2)
XYZxyz(24.8790, 21.8755, 77.7588)
Luminance0.2188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517CE6 #E6BB51
analogous
#51C6E6 #517CE6 #7051E6
triadic
#517CE6 #E6517C #7CE651
tetradic
#517CE6 #E651C6 #E6BB51 #51E670
square
#517CE6 #E651C6 #E6BB51 #51E670
split-complementary
#517CE6 #E67051 #C6E651
monochromatic
#1840A5 #1F55DA #517CE6 #87A4EE #BCCDF5

Accessibility & contrast

On white

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

On black

5.38
#517CE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517CE6
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517CE6#FFFFFF#000000##000000
##517CE61.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4788EA
Deuteranopia (green-blind)
#2A7AE4
Tritanopia (blue-blind)
#0094A6
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #517ce6;
/* rgb */ color: rgb(81, 124, 230);
/* oklch */ color: oklch(60.9% 0.167 265.2);
Tailwind
colors: {
  custom: {
    50: '#90a1ee',
    500: '#517ce6',
    950: '#000000',
  },
}
SCSS
$custom: #517ce6;
$custom-light: #90a1ee;
$custom-dark: #000000;
JSON
{
  "hex": "#517ce6",
  "rgb": {
    "r": 81,
    "g": 124,
    "b": 230
  },
  "hsl": {
    "h": 222.685,
    "s": 74.874,
    "l": 60.98
  },
  "oklch": {
    "l": 0.60899,
    "c": 0.16726,
    "h": 265.2
  },
  "luminance": 0.21878
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #517CE6

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

Preview Lab → · Contrast checker → · Palette generator →

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