#517AF0#517AF0

#517AF0 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.2% C 0.183 H 266.6°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#517AF0
RGBrgb(81, 122, 240)
HSLhsl(225, 84%, 63%)
HSVhsv(225, 66%, 94%)
CMYKcmyk(66.3%, 49.2%, 0%, 5.9%)
CIE-LABlab(53.98, 23.24, -63.70)
CIE-LCHlch(53.98, 67.81, 290.05°)
OKLaboklab(61.16% -0.0109 -0.1827)
OKLCHoklch(61.16% 0.183 266.6)
XYZxyz(26.0756, 21.9572, 85.2851)
Luminance0.2196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517AF0 #F0C751
analogous
#51CAF0 #517AF0 #7751F0
triadic
#517AF0 #F0517A #7AF051
tetradic
#517AF0 #F051CA #F0C751 #51F077
square
#517AF0 #F051CA #F0C751 #51F077
split-complementary
#517AF0 #F07751 #CAF051
monochromatic
#103BB7 #194FEB #517AF0 #89A5F5 #C2D0FA

Accessibility & contrast

On white

3.89
#517AF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#517AF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517AF0
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517AF0#FFFFFF#000000##000000
##517AF01.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3789F4
Deuteranopia (green-blind)
#007AEE
Tritanopia (blue-blind)
#0096AA
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #517af0;
/* rgb */ color: rgb(81, 122, 240);
/* oklch */ color: oklch(61.2% 0.183 266.6);
Tailwind
colors: {
  custom: {
    50: '#929ff6',
    500: '#517af0',
    950: '#000000',
  },
}
SCSS
$custom: #517af0;
$custom-light: #929ff6;
$custom-dark: #000000;
JSON
{
  "hex": "#517af0",
  "rgb": {
    "r": 81,
    "g": 122,
    "b": 240
  },
  "hsl": {
    "h": 224.528,
    "s": 84.127,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61163,
    "c": 0.18304,
    "h": 266.6
  },
  "luminance": 0.2196
}

Semantic roles & 50–950 ramp

primary
#517AF0
secondary
#EBDCB2
accent
#A805E1
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #517AF0

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

Preview Lab → · Contrast checker → · Palette generator →

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