#517CF6#517CF6

#517CF6 is a mid, vivid blue. Relative luminance 0.228; OKLCH L 62.0% C 0.189 H 266.3°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#517CF6
RGBrgb(81, 124, 246)
HSLhsl(224, 90%, 64%)
HSVhsv(224, 67%, 96%)
CMYKcmyk(67.1%, 49.6%, 0%, 3.5%)
CIE-LABlab(54.88, 24.09, -65.58)
CIE-LCHlch(54.88, 69.87, 290.17°)
OKLaboklab(61.97% -0.012 -0.1882)
OKLCHoklch(61.97% 0.189 266.3)
XYZxyz(27.2298, 22.8158, 90.1398)
Luminance0.2282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517CF6 #F6CB51
analogous
#51CEF6 #517CF6 #7951F6
triadic
#517CF6 #F6517C #7CF651
tetradic
#517CF6 #F651CE #F6CB51 #51F679
square
#517CF6 #F651CE #F6CB51 #51F679
split-complementary
#517CF6 #F67951 #CEF651
monochromatic
#0A3AC3 #1750F3 #517CF6 #8BA8F9 #C5D4FC

Accessibility & contrast

On white

3.77
#517CF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#517CF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517CF6
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517CF6#FFFFFF#000000##000000
##517CF61.003.775.565.56
#FFFFFF3.771.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#358BFA
Deuteranopia (green-blind)
#007CF4
Tritanopia (blue-blind)
#0099AD
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #517cf6;
/* rgb */ color: rgb(81, 124, 246);
/* oklch */ color: oklch(62.0% 0.189 266.3);
Tailwind
colors: {
  custom: {
    50: '#93a1fa',
    500: '#517cf6',
    950: '#000000',
  },
}
SCSS
$custom: #517cf6;
$custom-light: #93a1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#517cf6",
  "rgb": {
    "r": 81,
    "g": 124,
    "b": 246
  },
  "hsl": {
    "h": 224.364,
    "s": 90.164,
    "l": 64.118
  },
  "oklch": {
    "l": 0.61969,
    "c": 0.1886,
    "h": 266.3
  },
  "luminance": 0.22818
}

Semantic roles & 50–950 ramp

primary
#517CF6
secondary
#EEDFB5
accent
#AA00E6
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #517CF6

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

Preview Lab → · Contrast checker → · Palette generator →

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