#517EF6#517EF6

#517EF6 is a light, vivid blue. Relative luminance 0.233; OKLCH L 62.4% C 0.186 H 265.8°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#517EF6
RGBrgb(81, 126, 246)
HSLhsl(224, 90%, 64%)
HSVhsv(224, 67%, 96%)
CMYKcmyk(67.1%, 48.8%, 0%, 3.5%)
CIE-LABlab(55.40, 22.86, -64.74)
CIE-LCHlch(55.40, 68.66, 289.45°)
OKLaboklab(62.37% -0.0137 -0.1857)
OKLCHoklch(62.37% 0.186 265.8)
XYZxyz(27.4830, 23.3222, 90.2242)
Luminance0.2333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517EF6 #F6C951
analogous
#51D1F6 #517EF6 #7751F6
triadic
#517EF6 #F6517E #7EF651
tetradic
#517EF6 #F651D1 #F6C951 #51F677
square
#517EF6 #F651D1 #F6C951 #51F677
split-complementary
#517EF6 #F67751 #D1F651
monochromatic
#0A3CC3 #1753F3 #517EF6 #8BA9F9 #C5D4FC

Accessibility & contrast

On white

3.71
#517EF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#517EF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517EF6
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517EF6#FFFFFF#000000##000000
##517EF61.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8DFA
Deuteranopia (green-blind)
#007EF4
Tritanopia (blue-blind)
#009AAE
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #517ef6;
/* rgb */ color: rgb(81, 126, 246);
/* oklch */ color: oklch(62.4% 0.186 265.8);
Tailwind
colors: {
  custom: {
    50: '#93a2fa',
    500: '#517ef6',
    950: '#000000',
  },
}
SCSS
$custom: #517ef6;
$custom-light: #93a2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#517ef6",
  "rgb": {
    "r": 81,
    "g": 126,
    "b": 246
  },
  "hsl": {
    "h": 223.636,
    "s": 90.164,
    "l": 64.118
  },
  "oklch": {
    "l": 0.62365,
    "c": 0.18623,
    "h": 265.8
  },
  "luminance": 0.23325
}

Semantic roles & 50–950 ramp

primary
#517EF6
secondary
#EEDEB5
accent
#A700E6
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0F17
muted
#7E7E85

Preview Lab

Preview with #517EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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