#517EEB#517EEB

#517EEB is a mid, vivid blue. Relative luminance 0.227; OKLCH L 61.6% C 0.172 H 264.9°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#517EEB
RGBrgb(81, 126, 235)
HSLhsl(222, 79%, 62%)
HSVhsv(222, 66%, 92%)
CMYKcmyk(65.5%, 46.4%, 0%, 7.8%)
CIE-LABlab(54.73, 19.07, -59.72)
CIE-LCHlch(54.73, 62.69, 287.71°)
OKLaboklab(61.63% -0.0152 -0.1709)
OKLCHoklch(61.63% 0.172 264.9)
XYZxyz(25.8444, 22.6667, 81.5943)
Luminance0.2267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517EEB #EBBE51
analogous
#51CBEB #517EEB #7151EB
triadic
#517EEB #EB517E #7EEB51
tetradic
#517EEB #EB51CB #EBBE51 #51EB71
square
#517EEB #EB51CB #EBBE51 #51EB71
split-complementary
#517EEB #EB7151 #CBEB51
monochromatic
#1441AE #1A55E5 #517EEB #88A7F1 #BFCFF8

Accessibility & contrast

On white

3.79
#517EEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#517EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517EEB
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517EEB#FFFFFF#000000##000000
##517EEB1.003.795.535.53
#FFFFFF3.791.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#468AEF
Deuteranopia (green-blind)
#277CE9
Tritanopia (blue-blind)
#0097A9
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #517eeb;
/* rgb */ color: rgb(81, 126, 235);
/* oklch */ color: oklch(61.6% 0.172 264.9);
Tailwind
colors: {
  custom: {
    50: '#91a2f2',
    500: '#517eeb',
    950: '#000000',
  },
}
SCSS
$custom: #517eeb;
$custom-light: #91a2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#517eeb",
  "rgb": {
    "r": 81,
    "g": 126,
    "b": 235
  },
  "hsl": {
    "h": 222.468,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.61633,
    "c": 0.1716,
    "h": 264.9
  },
  "luminance": 0.22669
}

Semantic roles & 50–950 ramp

primary
#517EEB
secondary
#E8D8B0
accent
#9E0ADC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F17
muted
#7E7E85

Preview Lab

Preview with #517EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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