#517BC1#517BC1

#517BC1 is a mid, moderate blue. Relative luminance 0.198; OKLCH L 58.4% C 0.118 H 260.1°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#517BC1
RGBrgb(81, 123, 193)
HSLhsl(218, 47%, 54%)
HSVhsv(218, 58%, 76%)
CMYKcmyk(58%, 36.3%, 0%, 24.3%)
CIE-LABlab(51.57, 6.64, -41.02)
CIE-LCHlch(51.57, 41.56, 279.19°)
OKLaboklab(58.44% -0.0202 -0.1161)
OKLCHoklch(58.44% 0.118 260.1)
XYZxyz(20.0986, 19.7638, 53.1974)
Luminance0.1977 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517BC1 #C19751
analogous
#51B3C1 #517BC1 #5F51C1
triadic
#517BC1 #C1517B #7BC151
tetradic
#517BC1 #C151B3 #C19751 #51C15F
square
#517BC1 #C151B3 #C19751 #51C15F
split-complementary
#517BC1 #C15F51 #B3C151
monochromatic
#284370 #385E9D #517BC1 #7E9DD1 #ABBFE1

Accessibility & contrast

On white

4.24
#517BC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#517BC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517BC1
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517BC1#FFFFFF#000000##000000
##517BC11.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E81C4
Deuteranopia (green-blind)
#4F76C0
Tritanopia (blue-blind)
#008B95
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #517bc1;
/* rgb */ color: rgb(81, 123, 193);
/* oklch */ color: oklch(58.4% 0.118 260.1);
Tailwind
colors: {
  custom: {
    50: '#8aa0d4',
    500: '#517bc1',
    950: '#000000',
  },
}
SCSS
$custom: #517bc1;
$custom-light: #8aa0d4;
$custom-dark: #000000;
JSON
{
  "hex": "#517bc1",
  "rgb": {
    "r": 81,
    "g": 123,
    "b": 193
  },
  "hsl": {
    "h": 217.5,
    "s": 47.458,
    "l": 53.725
  },
  "oklch": {
    "l": 0.5844,
    "c": 0.11789,
    "h": 260.1
  },
  "luminance": 0.19766
}

Semantic roles & 50–950 ramp

primary
#517BC1
secondary
#CFBD9F
accent
#A551D7
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #517BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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