#517EE6#517EE6

#517EE6 is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.3% C 0.165 H 264.5°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#517EE6
RGBrgb(81, 126, 230)
HSLhsl(222, 75%, 61%)
HSVhsv(222, 65%, 90%)
CMYKcmyk(64.8%, 45.2%, 0%, 9.8%)
CIE-LABlab(54.43, 17.35, -57.40)
CIE-LCHlch(54.43, 59.97, 286.81°)
OKLaboklab(61.31% -0.0159 -0.1641)
OKLCHoklch(61.31% 0.165 264.5)
XYZxyz(25.1321, 22.3818, 77.8432)
Luminance0.2238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517EE6 #E6B951
analogous
#51C8E6 #517EE6 #6E51E6
triadic
#517EE6 #E6517E #7EE651
tetradic
#517EE6 #E651C8 #E6B951 #51E66E
square
#517EE6 #E651C8 #E6B951 #51E66E
split-complementary
#517EE6 #E66E51 #C8E651
monochromatic
#1842A5 #1F58DA #517EE6 #87A6EE #BCCDF5

Accessibility & contrast

On white

3.83
#517EE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#517EE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517EE6
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517EE6#FFFFFF#000000##000000
##517EE61.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B89EA
Deuteranopia (green-blind)
#307CE4
Tritanopia (blue-blind)
#0096A7
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #517ee6;
/* rgb */ color: rgb(81, 126, 230);
/* oklch */ color: oklch(61.3% 0.165 264.5);
Tailwind
colors: {
  custom: {
    50: '#90a2ee',
    500: '#517ee6',
    950: '#000000',
  },
}
SCSS
$custom: #517ee6;
$custom-light: #90a2ee;
$custom-dark: #000000;
JSON
{
  "hex": "#517ee6",
  "rgb": {
    "r": 81,
    "g": 126,
    "b": 230
  },
  "hsl": {
    "h": 221.879,
    "s": 74.874,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61309,
    "c": 0.16489,
    "h": 264.5
  },
  "luminance": 0.22384
}

Semantic roles & 50–950 ramp

primary
#517EE6
secondary
#E5D5AD
accent
#9A0ED7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F16
muted
#7E7E84

Preview Lab

Preview with #517EE6

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

Preview Lab → · Contrast checker → · Palette generator →

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