#517DEB#517DEB

#517DEB is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.4% C 0.173 H 265.3°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#517DEB
RGBrgb(81, 125, 235)
HSLhsl(223, 79%, 62%)
HSVhsv(223, 66%, 92%)
CMYKcmyk(65.5%, 46.8%, 0%, 7.8%)
CIE-LABlab(54.46, 19.68, -60.14)
CIE-LCHlch(54.46, 63.28, 288.12°)
OKLaboklab(61.43% -0.0142 -0.1722)
OKLCHoklch(61.43% 0.173 265.3)
XYZxyz(25.7171, 22.4123, 81.5519)
Luminance0.2241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517DEB #EBBF51
analogous
#51CAEB #517DEB #7251EB
triadic
#517DEB #EB517D #7DEB51
tetradic
#517DEB #EB51CA #EBBF51 #51EB72
square
#517DEB #EB51CA #EBBF51 #51EB72
split-complementary
#517DEB #EB7251 #CAEB51
monochromatic
#1440AE #1A54E5 #517DEB #88A6F1 #BFCFF8

Accessibility & contrast

On white

3.83
#517DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#517DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517DEB
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517DEB#FFFFFF#000000##000000
##517DEB1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#448AEF
Deuteranopia (green-blind)
#247CE9
Tritanopia (blue-blind)
#0096A9
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #517deb;
/* rgb */ color: rgb(81, 125, 235);
/* oklch */ color: oklch(61.4% 0.173 265.3);
Tailwind
colors: {
  custom: {
    50: '#91a2f2',
    500: '#517deb',
    950: '#000000',
  },
}
SCSS
$custom: #517deb;
$custom-light: #91a2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#517deb",
  "rgb": {
    "r": 81,
    "g": 125,
    "b": 235
  },
  "hsl": {
    "h": 222.857,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.6143,
    "c": 0.17279,
    "h": 265.3
  },
  "luminance": 0.22415
}

Semantic roles & 50–950 ramp

primary
#517DEB
secondary
#E8D8B0
accent
#A00ADC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F17
muted
#7E7E85

Preview Lab

Preview with #517DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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