#517AE8#517AE8

#517AE8 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.6% C 0.172 H 266.0°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#517AE8
RGBrgb(81, 122, 232)
HSLhsl(224, 77%, 61%)
HSVhsv(224, 65%, 91%)
CMYKcmyk(65.1%, 47.4%, 0%, 9%)
CIE-LABlab(53.48, 20.49, -60.04)
CIE-LCHlch(53.48, 63.44, 288.84°)
OKLaboklab(60.62% -0.0119 -0.1719)
OKLCHoklch(60.62% 0.172 266)
XYZxyz(24.9133, 21.4922, 79.1638)
Luminance0.2150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517AE8 #E8BF51
analogous
#51C5E8 #517AE8 #7451E8
triadic
#517AE8 #E8517A #7AE851
tetradic
#517AE8 #E851C5 #E8BF51 #51E874
square
#517AE8 #E851C5 #E8BF51 #51E874
split-complementary
#517AE8 #E87451 #C5E851
monochromatic
#163EA8 #1D52DE #517AE8 #87A3EF #BDCDF6

Accessibility & contrast

On white

3.96
#517AE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#517AE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517AE8
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517AE8#FFFFFF#000000##000000
##517AE81.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4187EC
Deuteranopia (green-blind)
#1F79E6
Tritanopia (blue-blind)
#0093A6
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #517ae8;
/* rgb */ color: rgb(81, 122, 232);
/* oklch */ color: oklch(60.6% 0.172 266.0);
Tailwind
colors: {
  custom: {
    50: '#909ff0',
    500: '#517ae8',
    950: '#000000',
  },
}
SCSS
$custom: #517ae8;
$custom-light: #909ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#517ae8",
  "rgb": {
    "r": 81,
    "g": 122,
    "b": 232
  },
  "hsl": {
    "h": 223.709,
    "s": 76.65,
    "l": 61.373
  },
  "oklch": {
    "l": 0.60624,
    "c": 0.17234,
    "h": 266
  },
  "luminance": 0.21495
}

Semantic roles & 50–950 ramp

primary
#517AE8
secondary
#E7D7AE
accent
#A10DD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #517AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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