#517CD5#517CD5

#517CD5 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 59.8% C 0.144 H 263.3°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#517CD5
RGBrgb(81, 124, 213)
HSLhsl(220, 61%, 58%)
HSVhsv(220, 62%, 84%)
CMYKcmyk(62%, 41.8%, 0%, 16.5%)
CIE-LABlab(52.91, 12.75, -50.27)
CIE-LCHlch(52.91, 51.86, 284.24°)
OKLaboklab(59.83% -0.0169 -0.1432)
OKLCHoklch(59.83% 0.144 263.3)
XYZxyz(22.6071, 20.9667, 65.7935)
Luminance0.2097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517CD5 #D5AA51
analogous
#51BED5 #517CD5 #6851D5
triadic
#517CD5 #D5517C #7CD551
tetradic
#517CD5 #D551BE #D5AA51 #51D568
square
#517CD5 #D551BE #D5AA51 #51D568
split-complementary
#517CD5 #D56851 #BED551
monochromatic
#21448A #2D5CBC #517CD5 #82A1E1 #B4C6ED

Accessibility & contrast

On white

4.04
#517CD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#517CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517CD5
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517CD5#FFFFFF#000000##000000
##517CD51.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5485D8
Deuteranopia (green-blind)
#4079D3
Tritanopia (blue-blind)
#00909E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #517cd5;
/* rgb */ color: rgb(81, 124, 213);
/* oklch */ color: oklch(59.8% 0.144 263.3);
Tailwind
colors: {
  custom: {
    50: '#8da1e2',
    500: '#517cd5',
    950: '#000000',
  },
}
SCSS
$custom: #517cd5;
$custom-light: #8da1e2;
$custom-dark: #000000;
JSON
{
  "hex": "#517cd5",
  "rgb": {
    "r": 81,
    "g": 124,
    "b": 213
  },
  "hsl": {
    "h": 220.455,
    "s": 61.111,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59828,
    "c": 0.14419,
    "h": 263.3
  },
  "luminance": 0.20969
}

Semantic roles & 50–950 ramp

primary
#517CD5
secondary
#DBCAA6
accent
#B044E4
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #517CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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