#517ED0#517ED0

#517ED0 is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.0% C 0.135 H 261.5°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#517ED0
RGBrgb(81, 126, 208)
HSLhsl(219, 57%, 57%)
HSVhsv(219, 61%, 82%)
CMYKcmyk(61.1%, 39.4%, 0%, 18.4%)
CIE-LABlab(53.19, 9.84, -46.99)
CIE-LCHlch(53.19, 48.01, 281.83°)
OKLaboklab(59.96% -0.02 -0.1336)
OKLCHoklch(59.96% 0.135 261.5)
XYZxyz(22.2354, 21.2231, 62.5870)
Luminance0.2122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517ED0 #D0A351
analogous
#51BED0 #517ED0 #6451D0
triadic
#517ED0 #D0517E #7ED051
tetradic
#517ED0 #D051BE #D0A351 #51D064
square
#517ED0 #D051BE #D0A351 #51D064
split-complementary
#517ED0 #D06451 #BED051
monochromatic
#234583 #305FB3 #517ED0 #81A2DD #B1C5EA

Accessibility & contrast

On white

4.00
#517ED0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#517ED0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517ED0
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517ED0#FFFFFF#000000##000000
##517ED01.004.005.245.24
#FFFFFF4.001.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A85D3
Deuteranopia (green-blind)
#497ACE
Tritanopia (blue-blind)
#00909D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #517ed0;
/* rgb */ color: rgb(81, 126, 208);
/* oklch */ color: oklch(60.0% 0.135 261.5);
Tailwind
colors: {
  custom: {
    50: '#8da3df',
    500: '#517ed0',
    950: '#000000',
  },
}
SCSS
$custom: #517ed0;
$custom-light: #8da3df;
$custom-dark: #000000;
JSON
{
  "hex": "#517ed0",
  "rgb": {
    "r": 81,
    "g": 126,
    "b": 208
  },
  "hsl": {
    "h": 218.74,
    "s": 57.466,
    "l": 56.667
  },
  "oklch": {
    "l": 0.59955,
    "c": 0.13506,
    "h": 261.5
  },
  "luminance": 0.21225
}

Semantic roles & 50–950 ramp

primary
#517ED0
secondary
#D8C6A4
accent
#AA47E1
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #517ED0

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

Preview Lab → · Contrast checker → · Palette generator →

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