#517FDC#517FDC

#517FDC is a mid, vivid blue. Relative luminance 0.221; OKLCH L 60.9% C 0.150 H 262.9°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#517FDC
RGBrgb(81, 127, 220)
HSLhsl(220, 67%, 59%)
HSVhsv(220, 63%, 86%)
CMYKcmyk(63.2%, 42.3%, 0%, 13.7%)
CIE-LABlab(54.13, 13.31, -52.28)
CIE-LCHlch(54.13, 53.95, 284.28°)
OKLaboklab(60.89% -0.0186 -0.1491)
OKLCHoklch(60.89% 0.15 262.9)
XYZxyz(23.8965, 22.0932, 70.7014)
Luminance0.2210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517FDC #DCAE51
analogous
#51C5DC #517FDC #6951DC
triadic
#517FDC #DC517F #7FDC51
tetradic
#517FDC #DC51C5 #DCAE51 #51DC69
square
#517FDC #DC51C5 #DCAE51 #51DC69
split-complementary
#517FDC #DC6951 #C5DC51
monochromatic
#1E4595 #285DC8 #517FDC #84A4E6 #B7CAF0

Accessibility & contrast

On white

3.88
#517FDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#517FDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517FDC
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517FDC#FFFFFF#000000##000000
##517FDC1.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5488E0
Deuteranopia (green-blind)
#3F7BDA
Tritanopia (blue-blind)
#0094A3
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #517fdc;
/* rgb */ color: rgb(81, 127, 220);
/* oklch */ color: oklch(60.9% 0.150 262.9);
Tailwind
colors: {
  custom: {
    50: '#8ea3e7',
    500: '#517fdc',
    950: '#000000',
  },
}
SCSS
$custom: #517fdc;
$custom-light: #8ea3e7;
$custom-dark: #000000;
JSON
{
  "hex": "#517fdc",
  "rgb": {
    "r": 81,
    "g": 127,
    "b": 220
  },
  "hsl": {
    "h": 220.144,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.6089,
    "c": 0.15022,
    "h": 262.9
  },
  "luminance": 0.22095
}

Semantic roles & 50–950 ramp

primary
#517FDC
secondary
#E0CEA9
accent
#B13EE9
background
#F9FAFE
surface
#F2F3FC
border
#CCCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #517FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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