#517EED#517EED

#517EED is a mid, vivid blue. Relative luminance 0.228; OKLCH L 61.8% C 0.174 H 265.1°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#517EED
RGBrgb(81, 126, 237)
HSLhsl(223, 81%, 62%)
HSVhsv(223, 66%, 93%)
CMYKcmyk(65.8%, 46.8%, 0%, 7.1%)
CIE-LABlab(54.85, 19.76, -60.64)
CIE-LCHlch(54.85, 63.78, 288.05°)
OKLaboklab(61.76% -0.0149 -0.1736)
OKLCHoklch(61.76% 0.174 265.1)
XYZxyz(26.1349, 22.7829, 83.1246)
Luminance0.2278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517EED #EDC051
analogous
#51CCED #517EED #7251ED
triadic
#517EED #ED517E #7EED51
tetradic
#517EED #ED51CC #EDC051 #51ED72
square
#517EED #ED51CC #EDC051 #51ED72
split-complementary
#517EED #ED7251 #CCED51
monochromatic
#1240B1 #1A55E7 #517EED #88A7F3 #C0D0F8

Accessibility & contrast

On white

3.78
#517EED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#517EED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517EED
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517EED#FFFFFF#000000##000000
##517EED1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#448BF1
Deuteranopia (green-blind)
#237DEB
Tritanopia (blue-blind)
#0098AA
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #517eed;
/* rgb */ color: rgb(81, 126, 237);
/* oklch */ color: oklch(61.8% 0.174 265.1);
Tailwind
colors: {
  custom: {
    50: '#91a2f3',
    500: '#517eed',
    950: '#000000',
  },
}
SCSS
$custom: #517eed;
$custom-light: #91a2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#517eed",
  "rgb": {
    "r": 81,
    "g": 126,
    "b": 237
  },
  "hsl": {
    "h": 222.692,
    "s": 81.25,
    "l": 62.353
  },
  "oklch": {
    "l": 0.61764,
    "c": 0.17428,
    "h": 265.1
  },
  "luminance": 0.22785
}

Semantic roles & 50–950 ramp

primary
#517EED
secondary
#E9D9B0
accent
#A008DE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F17
muted
#7E7E85

Preview Lab

Preview with #517EED

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

Preview Lab → · Contrast checker → · Palette generator →

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