#517DFD#517DFD

#517DFD is a light, vivid blue. Relative luminance 0.235; OKLCH L 62.6% C 0.197 H 266.5°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#517DFD
RGBrgb(81, 125, 253)
HSLhsl(225, 98%, 65%)
HSVhsv(225, 68%, 99%)
CMYKcmyk(68%, 50.6%, 0%, 0.8%)
CIE-LABlab(55.59, 25.89, -68.31)
CIE-LCHlch(55.59, 73.06, 290.76°)
OKLaboklab(62.65% -0.0121 -0.1962)
OKLCHoklch(62.65% 0.197 266.5)
XYZxyz(28.4504, 23.5056, 95.9471)
Luminance0.2351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517DFD #FDD151
analogous
#51D3FD #517DFD #7B51FD
triadic
#517DFD #FD517D #7DFD51
tetradic
#517DFD #FD51D3 #FDD151 #51FD7B
square
#517DFD #FD51D3 #FDD151 #51FD7B
split-complementary
#517DFD #FD7B51 #D3FD51
monochromatic
#0237D1 #1450FC #517DFD #8EAAFE #CAD7FE

Accessibility & contrast

On white

3.68
#517DFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#517DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517DFD
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517DFD#FFFFFF#000000##000000
##517DFD1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E8DFF
Deuteranopia (green-blind)
#007EFA
Tritanopia (blue-blind)
#009BB1
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #517dfd;
/* rgb */ color: rgb(81, 125, 253);
/* oklch */ color: oklch(62.6% 0.197 266.5);
Tailwind
colors: {
  custom: {
    50: '#94a2ff',
    500: '#517dfd',
    950: '#000000',
  },
}
SCSS
$custom: #517dfd;
$custom-light: #94a2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#517dfd",
  "rgb": {
    "r": 81,
    "g": 125,
    "b": 253
  },
  "hsl": {
    "h": 224.651,
    "s": 97.727,
    "l": 65.49
  },
  "oklch": {
    "l": 0.6265,
    "c": 0.19661,
    "h": 266.5
  },
  "luminance": 0.23508
}

Semantic roles & 50–950 ramp

primary
#517DFD
secondary
#F2E3B8
accent
#AB00E6
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0F18
muted
#7E7E86

Preview Lab

Preview with #517DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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