#517EE4#517EE4

#517EE4 is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.2% C 0.162 H 264.3°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#517EE4
RGBrgb(81, 126, 228)
HSLhsl(222, 73%, 61%)
HSVhsv(222, 64%, 89%)
CMYKcmyk(64.5%, 44.7%, 0%, 10.6%)
CIE-LABlab(54.31, 16.66, -56.47)
CIE-LCHlch(54.31, 58.88, 286.44°)
OKLaboklab(61.18% -0.0162 -0.1614)
OKLCHoklch(61.18% 0.162 264.3)
XYZxyz(24.8529, 22.2701, 76.3726)
Luminance0.2227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517EE4 #E4B751
analogous
#51C7E4 #517EE4 #6E51E4
triadic
#517EE4 #E4517E #7EE451
tetradic
#517EE4 #E451C7 #E4B751 #51E46E
square
#517EE4 #E451C7 #E4B751 #51E46E
split-complementary
#517EE4 #E46E51 #C7E451
monochromatic
#1943A2 #2159D7 #517EE4 #86A5EC #BBCDF4

Accessibility & contrast

On white

3.85
#517EE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#517EE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517EE4
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517EE4#FFFFFF#000000##000000
##517EE41.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C89E8
Deuteranopia (green-blind)
#337CE2
Tritanopia (blue-blind)
#0095A6
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #517ee4;
/* rgb */ color: rgb(81, 126, 228);
/* oklch */ color: oklch(61.2% 0.162 264.3);
Tailwind
colors: {
  custom: {
    50: '#90a2ed',
    500: '#517ee4',
    950: '#000000',
  },
}
SCSS
$custom: #517ee4;
$custom-light: #90a2ed;
$custom-dark: #000000;
JSON
{
  "hex": "#517ee4",
  "rgb": {
    "r": 81,
    "g": 126,
    "b": 228
  },
  "hsl": {
    "h": 221.633,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61181,
    "c": 0.16221,
    "h": 264.3
  },
  "luminance": 0.22272
}

Semantic roles & 50–950 ramp

primary
#517EE4
secondary
#E4D3AC
accent
#9910D5
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F16
muted
#7E7E84

Preview Lab

Preview with #517EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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