#517CD2#517CD2

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

Color values

HEX#517CD2
RGBrgb(81, 124, 210)
HSLhsl(220, 59%, 57%)
HSVhsv(220, 61%, 82%)
CMYKcmyk(61.4%, 41%, 0%, 17.6%)
CIE-LABlab(52.75, 11.74, -48.84)
CIE-LCHlch(52.75, 50.23, 283.51°)
OKLaboklab(59.65% -0.0175 -0.139)
OKLCHoklch(59.65% 0.14 262.8)
XYZxyz(22.2298, 20.8158, 63.8066)
Luminance0.2082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517CD2 #D2A751
analogous
#51BDD2 #517CD2 #6751D2
triadic
#517CD2 #D2517C #7CD251
tetradic
#517CD2 #D251BD #D2A751 #51D267
square
#517CD2 #D251BD #D2A751 #51D267
split-complementary
#517CD2 #D26751 #BDD251
monochromatic
#234486 #2F5CB7 #517CD2 #82A1DF #B2C5EB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##517CD2#FFFFFF#000000##000000
##517CD21.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)
#5684D5
Deuteranopia (green-blind)
#4378D0
Tritanopia (blue-blind)
#008F9D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #517cd2;
/* rgb */ color: rgb(81, 124, 210);
/* oklch */ color: oklch(59.6% 0.140 262.8);
Tailwind
colors: {
  custom: {
    50: '#8da1e0',
    500: '#517cd2',
    950: '#000000',
  },
}
SCSS
$custom: #517cd2;
$custom-light: #8da1e0;
$custom-dark: #000000;
JSON
{
  "hex": "#517cd2",
  "rgb": {
    "r": 81,
    "g": 124,
    "b": 210
  },
  "hsl": {
    "h": 220,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59646,
    "c": 0.14009,
    "h": 262.8
  },
  "luminance": 0.20818
}

Semantic roles & 50–950 ramp

primary
#517CD2
secondary
#DAC8A5
accent
#AE46E2
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #517CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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