#517CED#517CED

#517CED is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.4% C 0.177 H 265.8°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#517CED
RGBrgb(81, 124, 237)
HSLhsl(223, 81%, 62%)
HSVhsv(223, 66%, 93%)
CMYKcmyk(65.8%, 47.7%, 0%, 7.1%)
CIE-LABlab(54.32, 20.98, -61.49)
CIE-LCHlch(54.32, 64.97, 288.84°)
OKLaboklab(61.36% -0.0131 -0.1762)
OKLCHoklch(61.36% 0.177 265.8)
XYZxyz(25.8817, 22.2766, 83.0402)
Luminance0.2228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517CED #EDC251
analogous
#51CAED #517CED #7451ED
triadic
#517CED #ED517C #7CED51
tetradic
#517CED #ED51CA #EDC251 #51ED74
square
#517CED #ED51CA #EDC251 #51ED74
split-complementary
#517CED #ED7451 #CAED51
monochromatic
#123EB1 #1A52E7 #517CED #88A6F3 #C0D0F8

Accessibility & contrast

On white

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

On black

5.46
#517CED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517CED
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517CED#FFFFFF#000000##000000
##517CED1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4089F1
Deuteranopia (green-blind)
#1A7BEB
Tritanopia (blue-blind)
#0096A9
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #517ced;
/* rgb */ color: rgb(81, 124, 237);
/* oklch */ color: oklch(61.4% 0.177 265.8);
Tailwind
colors: {
  custom: {
    50: '#91a1f3',
    500: '#517ced',
    950: '#000000',
  },
}
SCSS
$custom: #517ced;
$custom-light: #91a1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#517ced",
  "rgb": {
    "r": 81,
    "g": 124,
    "b": 237
  },
  "hsl": {
    "h": 223.462,
    "s": 81.25,
    "l": 62.353
  },
  "oklch": {
    "l": 0.6136,
    "c": 0.17665,
    "h": 265.8
  },
  "luminance": 0.22279
}

Semantic roles & 50–950 ramp

primary
#517CED
secondary
#E9DAB0
accent
#A308DE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #517CED

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

Preview Lab → · Contrast checker → · Palette generator →

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