#517CEB#517CEB

#517CEB is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.2% C 0.174 H 265.6°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#517CEB
RGBrgb(81, 124, 235)
HSLhsl(223, 79%, 62%)
HSVhsv(223, 66%, 92%)
CMYKcmyk(65.5%, 47.2%, 0%, 7.8%)
CIE-LABlab(54.20, 20.29, -60.57)
CIE-LCHlch(54.20, 63.88, 288.52°)
OKLaboklab(61.23% -0.0133 -0.1735)
OKLCHoklch(61.23% 0.174 265.6)
XYZxyz(25.5912, 22.1604, 81.5099)
Luminance0.2216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517CEB #EBC051
analogous
#51C9EB #517CEB #7351EB
triadic
#517CEB #EB517C #7CEB51
tetradic
#517CEB #EB51C9 #EBC051 #51EB73
square
#517CEB #EB51C9 #EBC051 #51EB73
split-complementary
#517CEB #EB7351 #C9EB51
monochromatic
#143FAE #1A53E5 #517CEB #88A5F1 #BFCFF8

Accessibility & contrast

On white

3.87
#517CEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#517CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517CEB
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517CEB#FFFFFF#000000##000000
##517CEB1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4289EF
Deuteranopia (green-blind)
#207BE9
Tritanopia (blue-blind)
#0096A8
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #517ceb;
/* rgb */ color: rgb(81, 124, 235);
/* oklch */ color: oklch(61.2% 0.174 265.6);
Tailwind
colors: {
  custom: {
    50: '#91a1f2',
    500: '#517ceb',
    950: '#000000',
  },
}
SCSS
$custom: #517ceb;
$custom-light: #91a1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#517ceb",
  "rgb": {
    "r": 81,
    "g": 124,
    "b": 235
  },
  "hsl": {
    "h": 223.247,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.61227,
    "c": 0.17397,
    "h": 265.6
  },
  "luminance": 0.22163
}

Semantic roles & 50–950 ramp

primary
#517CEB
secondary
#E8D8B0
accent
#A10ADC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #517CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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