#517AE3#517AE3

#517AE3 is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.3% C 0.166 H 265.6°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#517AE3
RGBrgb(81, 122, 227)
HSLhsl(223, 72%, 60%)
HSVhsv(223, 64%, 89%)
CMYKcmyk(64.3%, 46.3%, 0%, 11%)
CIE-LABlab(53.18, 18.77, -57.73)
CIE-LCHlch(53.18, 60.70, 288.01°)
OKLaboklab(60.3% -0.0126 -0.1651)
OKLCHoklch(60.3% 0.166 265.6)
XYZxyz(24.2132, 21.2122, 75.4765)
Luminance0.2121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517AE3 #E3BA51
analogous
#51C3E3 #517AE3 #7151E3
triadic
#517AE3 #E3517A #7AE351
tetradic
#517AE3 #E351C3 #E3BA51 #51E371
square
#517AE3 #E351C3 #E3BA51 #51E371
split-complementary
#517AE3 #E37151 #C3E351
monochromatic
#1A3FA0 #2254D5 #517AE3 #86A2EB #BACBF4

Accessibility & contrast

On white

4.01
#517AE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#517AE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517AE3
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517AE3#FFFFFF#000000##000000
##517AE31.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4586E7
Deuteranopia (green-blind)
#2979E1
Tritanopia (blue-blind)
#0092A3
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #517ae3;
/* rgb */ color: rgb(81, 122, 227);
/* oklch */ color: oklch(60.3% 0.166 265.6);
Tailwind
colors: {
  custom: {
    50: '#909fec',
    500: '#517ae3',
    950: '#000000',
  },
}
SCSS
$custom: #517ae3;
$custom-light: #909fec;
$custom-dark: #000000;
JSON
{
  "hex": "#517ae3",
  "rgb": {
    "r": 81,
    "g": 122,
    "b": 227
  },
  "hsl": {
    "h": 223.151,
    "s": 72.277,
    "l": 60.392
  },
  "oklch": {
    "l": 0.60295,
    "c": 0.16561,
    "h": 265.6
  },
  "luminance": 0.21214
}

Semantic roles & 50–950 ramp

primary
#517AE3
secondary
#E4D4AC
accent
#9E11D4
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #517AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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