#517ADF#517ADF

#517ADF is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.0% C 0.160 H 265.3°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#517ADF
RGBrgb(81, 122, 223)
HSLhsl(223, 69%, 60%)
HSVhsv(223, 64%, 87%)
CMYKcmyk(63.7%, 45.3%, 0%, 12.5%)
CIE-LABlab(52.94, 17.40, -55.86)
CIE-LCHlch(52.94, 58.51, 287.30°)
OKLaboklab(60.04% -0.0132 -0.1596)
OKLCHoklch(60.04% 0.16 265.3)
XYZxyz(23.6675, 20.9939, 72.6027)
Luminance0.2100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517ADF #DFB651
analogous
#51C1DF #517ADF #6F51DF
triadic
#517ADF #DF517A #7ADF51
tetradic
#517ADF #DF51C1 #DFB651 #51DF6F
square
#517ADF #DF51C1 #DFB651 #51DF6F
split-complementary
#517ADF #DF6F51 #C1DF51
monochromatic
#1C4099 #2656CD #517ADF #85A2E9 #B8C9F2

Accessibility & contrast

On white

4.04
#517ADF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#517ADF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517ADF
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517ADF#FFFFFF#000000##000000
##517ADF1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4985E3
Deuteranopia (green-blind)
#3078DD
Tritanopia (blue-blind)
#0091A2
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #517adf;
/* rgb */ color: rgb(81, 122, 223);
/* oklch */ color: oklch(60.0% 0.160 265.3);
Tailwind
colors: {
  custom: {
    50: '#8f9fe9',
    500: '#517adf',
    950: '#000000',
  },
}
SCSS
$custom: #517adf;
$custom-light: #8f9fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#517adf",
  "rgb": {
    "r": 81,
    "g": 122,
    "b": 223
  },
  "hsl": {
    "h": 222.676,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.60036,
    "c": 0.16018,
    "h": 265.3
  },
  "luminance": 0.20996
}

Semantic roles & 50–950 ramp

primary
#517ADF
secondary
#E1D2AA
accent
#B93CEC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #517ADF

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

Preview Lab → · Contrast checker → · Palette generator →

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