#517AE6#517AE6

#517AE6 is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.5% C 0.170 H 265.9°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#517AE6
RGBrgb(81, 122, 230)
HSLhsl(223, 75%, 61%)
HSVhsv(223, 65%, 90%)
CMYKcmyk(64.8%, 47%, 0%, 9.8%)
CIE-LABlab(53.36, 19.80, -59.12)
CIE-LCHlch(53.36, 62.34, 288.52°)
OKLaboklab(60.49% -0.0122 -0.1692)
OKLCHoklch(60.49% 0.17 265.9)
XYZxyz(24.6309, 21.3793, 77.6761)
Luminance0.2138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517AE6 #E6BD51
analogous
#51C4E6 #517AE6 #7251E6
triadic
#517AE6 #E6517A #7AE651
tetradic
#517AE6 #E651C4 #E6BD51 #51E672
square
#517AE6 #E651C4 #E6BD51 #51E672
split-complementary
#517AE6 #E67251 #C4E651
monochromatic
#183FA5 #1F53DA #517AE6 #87A3EE #BCCCF5

Accessibility & contrast

On white

3.98
#517AE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#517AE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517AE6
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517AE6#FFFFFF#000000##000000
##517AE61.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4287EA
Deuteranopia (green-blind)
#2479E4
Tritanopia (blue-blind)
#0093A5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #517ae6;
/* rgb */ color: rgb(81, 122, 230);
/* oklch */ color: oklch(60.5% 0.170 265.9);
Tailwind
colors: {
  custom: {
    50: '#909fee',
    500: '#517ae6',
    950: '#000000',
  },
}
SCSS
$custom: #517ae6;
$custom-light: #909fee;
$custom-dark: #000000;
JSON
{
  "hex": "#517ae6",
  "rgb": {
    "r": 81,
    "g": 122,
    "b": 230
  },
  "hsl": {
    "h": 223.49,
    "s": 74.874,
    "l": 60.98
  },
  "oklch": {
    "l": 0.60492,
    "c": 0.16966,
    "h": 265.9
  },
  "luminance": 0.21382
}

Semantic roles & 50–950 ramp

primary
#517AE6
secondary
#E5D6AD
accent
#A00ED7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #517AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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