#517AED#517AED

#517AED is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.0% C 0.179 H 266.4°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#517AED
RGBrgb(81, 122, 237)
HSLhsl(224, 81%, 62%)
HSVhsv(224, 66%, 93%)
CMYKcmyk(65.8%, 48.5%, 0%, 7.1%)
CIE-LABlab(53.79, 22.21, -62.33)
CIE-LCHlch(53.79, 66.17, 289.61°)
OKLaboklab(60.96% -0.0113 -0.1787)
OKLCHoklch(60.96% 0.179 266.4)
XYZxyz(25.6336, 21.7804, 82.9575)
Luminance0.2178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517AED #EDC451
analogous
#51C8ED #517AED #7651ED
triadic
#517AED #ED517A #7AED51
tetradic
#517AED #ED51C8 #EDC451 #51ED76
square
#517AED #ED51C8 #EDC451 #51ED76
split-complementary
#517AED #ED7651 #C8ED51
monochromatic
#123CB1 #1A50E7 #517AED #88A4F3 #C0CFF8

Accessibility & contrast

On white

3.92
#517AED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#517AED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517AED
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517AED#FFFFFF#000000##000000
##517AED1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B88F1
Deuteranopia (green-blind)
#0F7AEB
Tritanopia (blue-blind)
#0095A8
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #517aed;
/* rgb */ color: rgb(81, 122, 237);
/* oklch */ color: oklch(61.0% 0.179 266.4);
Tailwind
colors: {
  custom: {
    50: '#919ff3',
    500: '#517aed',
    950: '#000000',
  },
}
SCSS
$custom: #517aed;
$custom-light: #919ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#517aed",
  "rgb": {
    "r": 81,
    "g": 122,
    "b": 237
  },
  "hsl": {
    "h": 224.231,
    "s": 81.25,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60959,
    "c": 0.17904,
    "h": 266.4
  },
  "luminance": 0.21783
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #517AED

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

Preview Lab → · Contrast checker → · Palette generator →

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