#517DE4#517DE4

#517DE4 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.0% C 0.163 H 264.6°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#517DE4
RGBrgb(81, 125, 228)
HSLhsl(222, 73%, 61%)
HSVhsv(222, 64%, 89%)
CMYKcmyk(64.5%, 45.2%, 0%, 10.6%)
CIE-LABlab(54.04, 17.27, -56.90)
CIE-LCHlch(54.04, 59.47, 286.88°)
OKLaboklab(60.98% -0.0153 -0.1627)
OKLCHoklch(60.98% 0.163 264.6)
XYZxyz(24.7257, 22.0157, 76.3302)
Luminance0.2202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517DE4 #E4B851
analogous
#51C6E4 #517DE4 #6E51E4
triadic
#517DE4 #E4517D #7DE451
tetradic
#517DE4 #E451C6 #E4B851 #51E46E
square
#517DE4 #E451C6 #E4B851 #51E46E
split-complementary
#517DE4 #E46E51 #C6E451
monochromatic
#1942A2 #2158D7 #517DE4 #86A5EC #BBCCF4

Accessibility & contrast

On white

3.89
#517DE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#517DE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517DE4
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517DE4#FFFFFF#000000##000000
##517DE41.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B88E8
Deuteranopia (green-blind)
#307BE2
Tritanopia (blue-blind)
#0095A5
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #517de4;
/* rgb */ color: rgb(81, 125, 228);
/* oklch */ color: oklch(61.0% 0.163 264.6);
Tailwind
colors: {
  custom: {
    50: '#90a2ed',
    500: '#517de4',
    950: '#000000',
  },
}
SCSS
$custom: #517de4;
$custom-light: #90a2ed;
$custom-dark: #000000;
JSON
{
  "hex": "#517de4",
  "rgb": {
    "r": 81,
    "g": 125,
    "b": 228
  },
  "hsl": {
    "h": 222.041,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60975,
    "c": 0.16339,
    "h": 264.6
  },
  "luminance": 0.22018
}

Semantic roles & 50–950 ramp

primary
#517DE4
secondary
#E4D4AC
accent
#9A10D5
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F16
muted
#7E7E84

Preview Lab

Preview with #517DE4

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

Preview Lab → · Contrast checker → · Palette generator →

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