#517BDC#517BDC

#517BDC is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.1% C 0.155 H 264.6°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#517BDC
RGBrgb(81, 123, 220)
HSLhsl(222, 67%, 59%)
HSVhsv(222, 63%, 86%)
CMYKcmyk(63.2%, 44.1%, 0%, 13.7%)
CIE-LABlab(53.04, 15.75, -54.02)
CIE-LCHlch(53.04, 56.27, 286.26°)
OKLaboklab(60.05% -0.0146 -0.1542)
OKLCHoklch(60.05% 0.155 264.6)
XYZxyz(23.3901, 21.0804, 70.5326)
Luminance0.2108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517BDC #DCB251
analogous
#51C0DC #517BDC #6D51DC
triadic
#517BDC #DC517B #7BDC51
tetradic
#517BDC #DC51C0 #DCB251 #51DC6D
square
#517BDC #DC51C0 #DCB251 #51DC6D
split-complementary
#517BDC #DC6D51 #C0DC51
monochromatic
#1E4295 #2858C8 #517BDC #84A2E6 #B7C8F0

Accessibility & contrast

On white

4.03
#517BDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#517BDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517BDC
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517BDC#FFFFFF#000000##000000
##517BDC1.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D85E0
Deuteranopia (green-blind)
#3679DA
Tritanopia (blue-blind)
#0091A1
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #517bdc;
/* rgb */ color: rgb(81, 123, 220);
/* oklch */ color: oklch(60.1% 0.155 264.6);
Tailwind
colors: {
  custom: {
    50: '#8ea0e7',
    500: '#517bdc',
    950: '#000000',
  },
}
SCSS
$custom: #517bdc;
$custom-light: #8ea0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#517bdc",
  "rgb": {
    "r": 81,
    "g": 123,
    "b": 220
  },
  "hsl": {
    "h": 221.871,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60052,
    "c": 0.15491,
    "h": 264.6
  },
  "luminance": 0.21083
}

Semantic roles & 50–950 ramp

primary
#517BDC
secondary
#E0CFA9
accent
#B63EE9
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #517BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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