#517CC2#517CC2

#517CC2 is a mid, moderate blue. Relative luminance 0.201; OKLCH L 58.7% C 0.118 H 259.7°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#517CC2
RGBrgb(81, 124, 194)
HSLhsl(217, 48%, 54%)
HSVhsv(217, 58%, 76%)
CMYKcmyk(58.2%, 36.1%, 0%, 23.9%)
CIE-LABlab(51.90, 6.36, -41.07)
CIE-LCHlch(51.90, 41.56, 278.81°)
OKLaboklab(58.72% -0.0211 -0.1163)
OKLCHoklch(58.72% 0.118 259.7)
XYZxyz(20.3352, 20.0580, 53.8284)
Luminance0.2006 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517CC2 #C29751
analogous
#51B5C2 #517CC2 #5F51C2
triadic
#517CC2 #C2517C #7CC251
tetradic
#517CC2 #C251B5 #C29751 #51C25F
square
#517CC2 #C251B5 #C29751 #51C25F
split-complementary
#517CC2 #C25F51 #B5C251
monochromatic
#284471 #375F9E #517CC2 #7E9ED2 #ACC0E2

Accessibility & contrast

On white

4.19
#517CC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#517CC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517CC2
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517CC2#FFFFFF#000000##000000
##517CC21.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F82C5
Deuteranopia (green-blind)
#5077C1
Tritanopia (blue-blind)
#008C96
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #517cc2;
/* rgb */ color: rgb(81, 124, 194);
/* oklch */ color: oklch(58.7% 0.118 259.7);
Tailwind
colors: {
  custom: {
    50: '#8aa1d5',
    500: '#517cc2',
    950: '#000000',
  },
}
SCSS
$custom: #517cc2;
$custom-light: #8aa1d5;
$custom-dark: #000000;
JSON
{
  "hex": "#517cc2",
  "rgb": {
    "r": 81,
    "g": 124,
    "b": 194
  },
  "hsl": {
    "h": 217.168,
    "s": 48.085,
    "l": 53.922
  },
  "oklch": {
    "l": 0.58716,
    "c": 0.11815,
    "h": 259.7
  },
  "luminance": 0.2006
}

Semantic roles & 50–950 ramp

primary
#517CC2
secondary
#D0BD9F
accent
#A450D8
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0D0E14
muted
#7D7E83

Preview Lab

Preview with #517CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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