#517DC2#517DC2

#517DC2 is a mid, moderate blue. Relative luminance 0.203; OKLCH L 58.9% C 0.117 H 259.1°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#517DC2
RGBrgb(81, 125, 194)
HSLhsl(217, 48%, 54%)
HSVhsv(217, 58%, 76%)
CMYKcmyk(58.2%, 35.6%, 0%, 23.9%)
CIE-LABlab(52.19, 5.76, -40.62)
CIE-LCHlch(52.19, 41.03, 278.07°)
OKLaboklab(58.94% -0.0222 -0.1149)
OKLCHoklch(58.94% 0.117 259.1)
XYZxyz(20.4612, 20.3099, 53.8704)
Luminance0.2031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517DC2 #C29651
analogous
#51B6C2 #517DC2 #5E51C2
triadic
#517DC2 #C2517D #7DC251
tetradic
#517DC2 #C251B6 #C29651 #51C25E
square
#517DC2 #C251B6 #C29651 #51C25E
split-complementary
#517DC2 #C25E51 #B6C251
monochromatic
#284471 #37609E #517DC2 #7E9FD2 #ACC1E2

Accessibility & contrast

On white

4.15
#517DC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#517DC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517DC2
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517DC2#FFFFFF#000000##000000
##517DC21.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6082C5
Deuteranopia (green-blind)
#5278C1
Tritanopia (blue-blind)
#008C96
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #517dc2;
/* rgb */ color: rgb(81, 125, 194);
/* oklch */ color: oklch(58.9% 0.117 259.1);
Tailwind
colors: {
  custom: {
    50: '#8aa2d5',
    500: '#517dc2',
    950: '#000000',
  },
}
SCSS
$custom: #517dc2;
$custom-light: #8aa2d5;
$custom-dark: #000000;
JSON
{
  "hex": "#517dc2",
  "rgb": {
    "r": 81,
    "g": 125,
    "b": 194
  },
  "hsl": {
    "h": 216.637,
    "s": 48.085,
    "l": 53.922
  },
  "oklch": {
    "l": 0.58936,
    "c": 0.11707,
    "h": 259.1
  },
  "luminance": 0.20312
}

Semantic roles & 50–950 ramp

primary
#517DC2
secondary
#D0BD9F
accent
#A350D8
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0D0F14
muted
#7D7E83

Preview Lab

Preview with #517DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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