#517DF6#517DF6

#517DF6 is a light, vivid blue. Relative luminance 0.231; OKLCH L 62.2% C 0.187 H 266.1°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#517DF6
RGBrgb(81, 125, 246)
HSLhsl(224, 90%, 64%)
HSVhsv(224, 67%, 96%)
CMYKcmyk(67.1%, 49.2%, 0%, 3.5%)
CIE-LABlab(55.14, 23.47, -65.16)
CIE-LCHlch(55.14, 69.26, 289.81°)
OKLaboklab(62.17% -0.0129 -0.187)
OKLCHoklch(62.17% 0.187 266.1)
XYZxyz(27.3557, 23.0677, 90.1818)
Luminance0.2307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517DF6 #F6CA51
analogous
#51D0F6 #517DF6 #7851F6
triadic
#517DF6 #F6517D #7DF651
tetradic
#517DF6 #F651D0 #F6CA51 #51F678
square
#517DF6 #F651D0 #F6CA51 #51F678
split-complementary
#517DF6 #F67851 #D0F651
monochromatic
#0A3BC3 #1752F3 #517DF6 #8BA8F9 #C5D4FC

Accessibility & contrast

On white

3.74
#517DF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#517DF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517DF6
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517DF6#FFFFFF#000000##000000
##517DF61.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#388CFA
Deuteranopia (green-blind)
#007DF4
Tritanopia (blue-blind)
#0099AE
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #517df6;
/* rgb */ color: rgb(81, 125, 246);
/* oklch */ color: oklch(62.2% 0.187 266.1);
Tailwind
colors: {
  custom: {
    50: '#93a2fa',
    500: '#517df6',
    950: '#000000',
  },
}
SCSS
$custom: #517df6;
$custom-light: #93a2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#517df6",
  "rgb": {
    "r": 81,
    "g": 125,
    "b": 246
  },
  "hsl": {
    "h": 224,
    "s": 90.164,
    "l": 64.118
  },
  "oklch": {
    "l": 0.62167,
    "c": 0.18741,
    "h": 266.1
  },
  "luminance": 0.2307
}

Semantic roles & 50–950 ramp

primary
#517DF6
secondary
#EEDFB5
accent
#A800E6
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0F17
muted
#7E7E85

Preview Lab

Preview with #517DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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