#517ADE#517ADE

#517ADE is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.0% C 0.159 H 265.2°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#517ADE
RGBrgb(81, 122, 222)
HSLhsl(223, 68%, 59%)
HSVhsv(223, 64%, 87%)
CMYKcmyk(63.5%, 45%, 0%, 12.9%)
CIE-LABlab(52.88, 17.05, -55.39)
CIE-LCHlch(52.88, 57.96, 287.11°)
OKLaboklab(59.97% -0.0133 -0.1583)
OKLCHoklch(59.97% 0.159 265.2)
XYZxyz(23.5331, 20.9402, 71.8948)
Luminance0.2094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517ADE #DEB551
analogous
#51C1DE #517ADE #6F51DE
triadic
#517ADE #DE517A #7ADE51
tetradic
#517ADE #DE51C1 #DEB551 #51DE6F
square
#517ADE #DE51C1 #DEB551 #51DE6F
split-complementary
#517ADE #DE6F51 #C1DE51
monochromatic
#1D4198 #2756CB #517ADE #84A1E8 #B8C9F2

Accessibility & contrast

On white

4.05
#517ADE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#517ADE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517ADE
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517ADE#FFFFFF#000000##000000
##517ADE1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A85E2
Deuteranopia (green-blind)
#3178DC
Tritanopia (blue-blind)
#0091A1
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #517ade;
/* rgb */ color: rgb(81, 122, 222);
/* oklch */ color: oklch(60.0% 0.159 265.2);
Tailwind
colors: {
  custom: {
    50: '#8f9fe9',
    500: '#517ade',
    950: '#000000',
  },
}
SCSS
$custom: #517ade;
$custom-light: #8f9fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#517ade",
  "rgb": {
    "r": 81,
    "g": 122,
    "b": 222
  },
  "hsl": {
    "h": 222.553,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.59972,
    "c": 0.15883,
    "h": 265.2
  },
  "luminance": 0.20942
}

Semantic roles & 50–950 ramp

primary
#517ADE
secondary
#E1D1AA
accent
#B83DEB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #517ADE

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

Preview Lab → · Contrast checker → · Palette generator →

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