#517CE3#517CE3

#517CE3 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 60.7% C 0.163 H 264.9°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#517CE3
RGBrgb(81, 124, 227)
HSLhsl(222, 72%, 60%)
HSVhsv(222, 64%, 89%)
CMYKcmyk(64.3%, 45.4%, 0%, 11%)
CIE-LABlab(53.72, 17.54, -56.87)
CIE-LCHlch(53.72, 59.51, 287.14°)
OKLaboklab(60.71% -0.0145 -0.1626)
OKLCHoklch(60.71% 0.163 264.9)
XYZxyz(24.4613, 21.7084, 75.5592)
Luminance0.2171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517CE3 #E3B851
analogous
#51C5E3 #517CE3 #6F51E3
triadic
#517CE3 #E3517C #7CE351
tetradic
#517CE3 #E351C5 #E3B851 #51E36F
square
#517CE3 #E351C5 #E3B851 #51E36F
split-complementary
#517CE3 #E36F51 #C5E351
monochromatic
#1A41A0 #2257D5 #517CE3 #86A4EB #BACBF4

Accessibility & contrast

On white

3.93
#517CE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#517CE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517CE3
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517CE3#FFFFFF#000000##000000
##517CE31.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4987E7
Deuteranopia (green-blind)
#2F7AE1
Tritanopia (blue-blind)
#0094A4
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #517ce3;
/* rgb */ color: rgb(81, 124, 227);
/* oklch */ color: oklch(60.7% 0.163 264.9);
Tailwind
colors: {
  custom: {
    50: '#90a1ec',
    500: '#517ce3',
    950: '#000000',
  },
}
SCSS
$custom: #517ce3;
$custom-light: #90a1ec;
$custom-dark: #000000;
JSON
{
  "hex": "#517ce3",
  "rgb": {
    "r": 81,
    "g": 124,
    "b": 227
  },
  "hsl": {
    "h": 222.329,
    "s": 72.277,
    "l": 60.392
  },
  "oklch": {
    "l": 0.60705,
    "c": 0.16321,
    "h": 264.9
  },
  "luminance": 0.21711
}

Semantic roles & 50–950 ramp

primary
#517CE3
secondary
#E4D3AC
accent
#9B11D4
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #517CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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