#517AE4#517AE4

#517AE4 is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.4% C 0.167 H 265.7°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#517AE4
RGBrgb(81, 122, 228)
HSLhsl(223, 73%, 61%)
HSVhsv(223, 64%, 89%)
CMYKcmyk(64.5%, 46.5%, 0%, 10.6%)
CIE-LABlab(53.24, 19.11, -58.19)
CIE-LCHlch(53.24, 61.25, 288.18°)
OKLaboklab(60.36% -0.0124 -0.1665)
OKLCHoklch(60.36% 0.167 265.7)
XYZxyz(24.3516, 21.2676, 76.2055)
Luminance0.2127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517AE4 #E4BB51
analogous
#51C4E4 #517AE4 #7151E4
triadic
#517AE4 #E4517A #7AE451
tetradic
#517AE4 #E451C4 #E4BB51 #51E471
square
#517AE4 #E451C4 #E4BB51 #51E471
split-complementary
#517AE4 #E47151 #C4E451
monochromatic
#193FA2 #2154D7 #517AE4 #86A2EC #BBCBF4

Accessibility & contrast

On white

4.00
#517AE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#517AE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517AE4
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517AE4#FFFFFF#000000##000000
##517AE41.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4486E8
Deuteranopia (green-blind)
#2879E2
Tritanopia (blue-blind)
#0092A4
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #517ae4;
/* rgb */ color: rgb(81, 122, 228);
/* oklch */ color: oklch(60.4% 0.167 265.7);
Tailwind
colors: {
  custom: {
    50: '#909fed',
    500: '#517ae4',
    950: '#000000',
  },
}
SCSS
$custom: #517ae4;
$custom-light: #909fed;
$custom-dark: #000000;
JSON
{
  "hex": "#517ae4",
  "rgb": {
    "r": 81,
    "g": 122,
    "b": 228
  },
  "hsl": {
    "h": 223.265,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60361,
    "c": 0.16695,
    "h": 265.7
  },
  "luminance": 0.2127
}

Semantic roles & 50–950 ramp

primary
#517AE4
secondary
#E4D5AC
accent
#9E10D5
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #517AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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