#517EDE#517EDE

#517EDE is a mid, vivid blue. Relative luminance 0.219; OKLCH L 60.8% C 0.154 H 263.6°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#517EDE
RGBrgb(81, 126, 222)
HSLhsl(221, 68%, 59%)
HSVhsv(221, 64%, 87%)
CMYKcmyk(63.5%, 43.2%, 0%, 12.9%)
CIE-LABlab(53.97, 14.60, -53.66)
CIE-LCHlch(53.97, 55.61, 285.22°)
OKLaboklab(60.8% -0.0173 -0.1531)
OKLCHoklch(60.8% 0.154 263.6)
XYZxyz(24.0344, 21.9427, 72.0619)
Luminance0.2195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517EDE #DEB151
analogous
#51C5DE #517EDE #6B51DE
triadic
#517EDE #DE517E #7EDE51
tetradic
#517EDE #DE51C5 #DEB151 #51DE6B
square
#517EDE #DE51C5 #DEB151 #51DE6B
split-complementary
#517EDE #DE6B51 #C5DE51
monochromatic
#1D4498 #275BCB #517EDE #84A4E8 #B8CAF2

Accessibility & contrast

On white

3.90
#517EDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#517EDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517EDE
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517EDE#FFFFFF#000000##000000
##517EDE1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5188E2
Deuteranopia (green-blind)
#3B7BDC
Tritanopia (blue-blind)
#0094A3
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #517ede;
/* rgb */ color: rgb(81, 126, 222);
/* oklch */ color: oklch(60.8% 0.154 263.6);
Tailwind
colors: {
  custom: {
    50: '#8fa2e9',
    500: '#517ede',
    950: '#000000',
  },
}
SCSS
$custom: #517ede;
$custom-light: #8fa2e9;
$custom-dark: #000000;
JSON
{
  "hex": "#517ede",
  "rgb": {
    "r": 81,
    "g": 126,
    "b": 222
  },
  "hsl": {
    "h": 220.851,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.60803,
    "c": 0.1541,
    "h": 263.6
  },
  "luminance": 0.21945
}

Semantic roles & 50–950 ramp

primary
#517EDE
secondary
#E1CFAA
accent
#B33DEB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F16
muted
#7E7E84

Preview Lab

Preview with #517EDE

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

Preview Lab → · Contrast checker → · Palette generator →

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