#517AEB#517AEB

#517AEB is a mid, vivid blue. Relative luminance 0.217; OKLCH L 60.8% C 0.176 H 266.3°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#517AEB
RGBrgb(81, 122, 235)
HSLhsl(224, 79%, 62%)
HSVhsv(224, 66%, 92%)
CMYKcmyk(65.5%, 48.1%, 0%, 7.8%)
CIE-LABlab(53.67, 21.52, -61.42)
CIE-LCHlch(53.67, 65.08, 289.31°)
OKLaboklab(60.83% -0.0115 -0.176)
OKLCHoklch(60.83% 0.176 266.3)
XYZxyz(25.3431, 21.6641, 81.4272)
Luminance0.2167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517AEB #EBC251
analogous
#51C7EB #517AEB #7551EB
triadic
#517AEB #EB517A #7AEB51
tetradic
#517AEB #EB51C7 #EBC251 #51EB75
square
#517AEB #EB51C7 #EBC251 #51EB75
split-complementary
#517AEB #EB7551 #C7EB51
monochromatic
#143DAE #1A50E5 #517AEB #88A4F1 #BFCEF8

Accessibility & contrast

On white

3.94
#517AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#517AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517AEB
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517AEB#FFFFFF#000000##000000
##517AEB1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D88EF
Deuteranopia (green-blind)
#177AE9
Tritanopia (blue-blind)
#0094A7
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #517aeb;
/* rgb */ color: rgb(81, 122, 235);
/* oklch */ color: oklch(60.8% 0.176 266.3);
Tailwind
colors: {
  custom: {
    50: '#919ff2',
    500: '#517aeb',
    950: '#000000',
  },
}
SCSS
$custom: #517aeb;
$custom-light: #919ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#517aeb",
  "rgb": {
    "r": 81,
    "g": 122,
    "b": 235
  },
  "hsl": {
    "h": 224.026,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.60825,
    "c": 0.17637,
    "h": 266.3
  },
  "luminance": 0.21667
}

Semantic roles & 50–950 ramp

primary
#517AEB
secondary
#E8D9B0
accent
#A40ADC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #517AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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