#517EDC#517EDC

#517EDC is a mid, vivid blue. Relative luminance 0.218; OKLCH L 60.7% C 0.151 H 263.3°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#517EDC
RGBrgb(81, 126, 220)
HSLhsl(221, 67%, 59%)
HSVhsv(221, 63%, 86%)
CMYKcmyk(63.2%, 42.7%, 0%, 13.7%)
CIE-LABlab(53.85, 13.92, -52.72)
CIE-LCHlch(53.85, 54.52, 284.79°)
OKLaboklab(60.68% -0.0176 -0.1504)
OKLCHoklch(60.68% 0.151 263.3)
XYZxyz(23.7680, 21.8362, 70.6585)
Luminance0.2184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517EDC #DCAF51
analogous
#51C3DC #517EDC #6A51DC
triadic
#517EDC #DC517E #7EDC51
tetradic
#517EDC #DC51C3 #DCAF51 #51DC6A
square
#517EDC #DC51C3 #DCAF51 #51DC6A
split-complementary
#517EDC #DC6A51 #C3DC51
monochromatic
#1E4495 #285CC8 #517EDC #84A4E6 #B7CAF0

Accessibility & contrast

On white

3.91
#517EDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#517EDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517EDC
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517EDC#FFFFFF#000000##000000
##517EDC1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5388E0
Deuteranopia (green-blind)
#3D7BDA
Tritanopia (blue-blind)
#0093A2
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #517edc;
/* rgb */ color: rgb(81, 126, 220);
/* oklch */ color: oklch(60.7% 0.151 263.3);
Tailwind
colors: {
  custom: {
    50: '#8ea2e7',
    500: '#517edc',
    950: '#000000',
  },
}
SCSS
$custom: #517edc;
$custom-light: #8ea2e7;
$custom-dark: #000000;
JSON
{
  "hex": "#517edc",
  "rgb": {
    "r": 81,
    "g": 126,
    "b": 220
  },
  "hsl": {
    "h": 220.576,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60679,
    "c": 0.15139,
    "h": 263.3
  },
  "luminance": 0.21838
}

Semantic roles & 50–950 ramp

primary
#517EDC
secondary
#E0CEA9
accent
#B23EE9
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0F16
muted
#7E7E84

Preview Lab

Preview with #517EDC

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

Preview Lab → · Contrast checker → · Palette generator →

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