#517CD1#517CD1

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

Color values

HEX#517CD1
RGBrgb(81, 124, 209)
HSLhsl(220, 58%, 57%)
HSVhsv(220, 61%, 82%)
CMYKcmyk(61.2%, 40.7%, 0%, 18%)
CIE-LABlab(52.69, 11.40, -48.36)
CIE-LCHlch(52.69, 49.68, 283.26°)
OKLaboklab(59.59% -0.0177 -0.1376)
OKLCHoklch(59.59% 0.139 262.7)
XYZxyz(22.1056, 20.7661, 63.1526)
Luminance0.2077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517CD1 #D1A651
analogous
#51BCD1 #517CD1 #6651D1
triadic
#517CD1 #D1517C #7CD151
tetradic
#517CD1 #D151BC #D1A651 #51D166
square
#517CD1 #D151BC #D1A651 #51D166
split-complementary
#517CD1 #D16651 #BCD151
monochromatic
#234485 #305DB5 #517CD1 #81A0DE #B2C5EB

Accessibility & contrast

On white

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

On black

5.15
#517CD1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517CD1
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517CD1#FFFFFF#000000##000000
##517CD11.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5684D4
Deuteranopia (green-blind)
#4478CF
Tritanopia (blue-blind)
#008F9C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #517cd1;
/* rgb */ color: rgb(81, 124, 209);
/* oklch */ color: oklch(59.6% 0.139 262.7);
Tailwind
colors: {
  custom: {
    50: '#8da1df',
    500: '#517cd1',
    950: '#000000',
  },
}
SCSS
$custom: #517cd1;
$custom-light: #8da1df;
$custom-dark: #000000;
JSON
{
  "hex": "#517cd1",
  "rgb": {
    "r": 81,
    "g": 124,
    "b": 209
  },
  "hsl": {
    "h": 219.844,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.59586,
    "c": 0.13871,
    "h": 262.7
  },
  "luminance": 0.20768
}

Semantic roles & 50–950 ramp

primary
#517CD1
secondary
#D9C7A5
accent
#AD46E1
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #517CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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