#517BEB#517BEB

#517BEB is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.0% C 0.175 H 265.9°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#517BEB
RGBrgb(81, 123, 235)
HSLhsl(224, 79%, 62%)
HSVhsv(224, 66%, 92%)
CMYKcmyk(65.5%, 47.7%, 0%, 7.8%)
CIE-LABlab(53.93, 20.91, -60.99)
CIE-LCHlch(53.93, 64.48, 288.92°)
OKLaboklab(61.03% -0.0124 -0.1747)
OKLCHoklch(61.03% 0.175 265.9)
XYZxyz(25.4665, 21.9110, 81.4683)
Luminance0.2191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517BEB #EBC151
analogous
#51C8EB #517BEB #7451EB
triadic
#517BEB #EB517B #7BEB51
tetradic
#517BEB #EB51C8 #EBC151 #51EB74
square
#517BEB #EB51C8 #EBC151 #51EB74
split-complementary
#517BEB #EB7451 #C8EB51
monochromatic
#143EAE #1A51E5 #517BEB #88A5F1 #BFCEF8

Accessibility & contrast

On white

3.90
#517BEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#517BEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517BEB
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517BEB#FFFFFF#000000##000000
##517BEB1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4088EF
Deuteranopia (green-blind)
#1C7AE9
Tritanopia (blue-blind)
#0095A8
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #517beb;
/* rgb */ color: rgb(81, 123, 235);
/* oklch */ color: oklch(61.0% 0.175 265.9);
Tailwind
colors: {
  custom: {
    50: '#91a0f2',
    500: '#517beb',
    950: '#000000',
  },
}
SCSS
$custom: #517beb;
$custom-light: #91a0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#517beb",
  "rgb": {
    "r": 81,
    "g": 123,
    "b": 235
  },
  "hsl": {
    "h": 223.636,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.61026,
    "c": 0.17517,
    "h": 265.9
  },
  "luminance": 0.21913
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #517BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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