#517DCC#517DCC

#517DCC is a mid, vivid blue. Relative luminance 0.208; OKLCH L 59.5% C 0.131 H 261.3°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#517DCC
RGBrgb(81, 125, 204)
HSLhsl(219, 55%, 56%)
HSVhsv(219, 60%, 80%)
CMYKcmyk(60.3%, 38.7%, 0%, 20%)
CIE-LABlab(52.70, 9.10, -45.50)
CIE-LCHlch(52.70, 46.41, 281.31°)
OKLaboklab(59.51% -0.0198 -0.1292)
OKLCHoklch(59.51% 0.131 261.3)
XYZxyz(21.6222, 20.7743, 59.9854)
Luminance0.2078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517DCC #CCA051
analogous
#51BACC #517DCC #6251CC
triadic
#517DCC #CC517D #7DCC51
tetradic
#517DCC #CC51BA #CCA051 #51CC62
square
#517DCC #CC51BA #CCA051 #51CC62
split-complementary
#517DCC #CC6251 #BACC51
monochromatic
#25457E #335EAD #517DCC #80A0DA #B0C4E8

Accessibility & contrast

On white

4.07
#517DCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#517DCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517DCC
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517DCC#FFFFFF#000000##000000
##517DCC1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B84CF
Deuteranopia (green-blind)
#4A79CA
Tritanopia (blue-blind)
#008F9B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #517dcc;
/* rgb */ color: rgb(81, 125, 204);
/* oklch */ color: oklch(59.5% 0.131 261.3);
Tailwind
colors: {
  custom: {
    50: '#8ca2dc',
    500: '#517dcc',
    950: '#000000',
  },
}
SCSS
$custom: #517dcc;
$custom-light: #8ca2dc;
$custom-dark: #000000;
JSON
{
  "hex": "#517dcc",
  "rgb": {
    "r": 81,
    "g": 125,
    "b": 204
  },
  "hsl": {
    "h": 218.537,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.59506,
    "c": 0.13073,
    "h": 261.3
  },
  "luminance": 0.20776
}

Semantic roles & 50–950 ramp

primary
#517DCC
secondary
#D6C4A3
accent
#A94ADE
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #517DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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