#517DDC#517DDC

#517DDC is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.5% C 0.153 H 263.7°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#517DDC
RGBrgb(81, 125, 220)
HSLhsl(221, 67%, 59%)
HSVhsv(221, 63%, 86%)
CMYKcmyk(63.2%, 43.2%, 0%, 13.7%)
CIE-LABlab(53.58, 14.53, -53.15)
CIE-LCHlch(53.58, 55.10, 285.29°)
OKLaboklab(60.47% -0.0166 -0.1516)
OKLCHoklch(60.47% 0.153 263.7)
XYZxyz(23.6407, 21.5817, 70.6161)
Luminance0.2158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517DDC #DCB051
analogous
#51C3DC #517DDC #6B51DC
triadic
#517DDC #DC517D #7DDC51
tetradic
#517DDC #DC51C3 #DCB051 #51DC6B
square
#517DDC #DC51C3 #DCB051 #51DC6B
split-complementary
#517DDC #DC6B51 #C3DC51
monochromatic
#1E4495 #285BC8 #517DDC #84A3E6 #B7C9F0

Accessibility & contrast

On white

3.95
#517DDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#517DDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517DDC
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517DDC#FFFFFF#000000##000000
##517DDC1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5187E0
Deuteranopia (green-blind)
#3B7ADA
Tritanopia (blue-blind)
#0093A2
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #517ddc;
/* rgb */ color: rgb(81, 125, 220);
/* oklch */ color: oklch(60.5% 0.153 263.7);
Tailwind
colors: {
  custom: {
    50: '#8ea2e7',
    500: '#517ddc',
    950: '#000000',
  },
}
SCSS
$custom: #517ddc;
$custom-light: #8ea2e7;
$custom-dark: #000000;
JSON
{
  "hex": "#517ddc",
  "rgb": {
    "r": 81,
    "g": 125,
    "b": 220
  },
  "hsl": {
    "h": 221.007,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.6047,
    "c": 0.15256,
    "h": 263.7
  },
  "luminance": 0.21584
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #517DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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