#517BC0#517BC0

#517BC0 is a mid, moderate blue. Relative luminance 0.197; OKLCH L 58.4% C 0.117 H 259.9°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#517BC0
RGBrgb(81, 123, 192)
HSLhsl(217, 47%, 54%)
HSVhsv(217, 58%, 75%)
CMYKcmyk(57.8%, 35.9%, 0%, 24.7%)
CIE-LABlab(51.52, 6.30, -40.53)
CIE-LCHlch(51.52, 41.02, 278.84°)
OKLaboklab(58.38% -0.0205 -0.1147)
OKLCHoklch(58.38% 0.117 259.9)
XYZxyz(19.9874, 19.7194, 52.6119)
Luminance0.1972 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517BC0 #C09651
analogous
#51B2C0 #517BC0 #5E51C0
triadic
#517BC0 #C0517B #7BC051
tetradic
#517BC0 #C051B2 #C09651 #51C05E
square
#517BC0 #C051B2 #C09651 #51C05E
split-complementary
#517BC0 #C05E51 #B2C051
monochromatic
#28436F #385E9B #517BC0 #7E9DD0 #ABBFE1

Accessibility & contrast

On white

4.25
#517BC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#517BC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517BC0
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517BC0#FFFFFF#000000##000000
##517BC01.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E80C3
Deuteranopia (green-blind)
#5076BF
Tritanopia (blue-blind)
#008A94
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #517bc0;
/* rgb */ color: rgb(81, 123, 192);
/* oklch */ color: oklch(58.4% 0.117 259.9);
Tailwind
colors: {
  custom: {
    50: '#8aa0d3',
    500: '#517bc0',
    950: '#000000',
  },
}
SCSS
$custom: #517bc0;
$custom-light: #8aa0d3;
$custom-dark: #000000;
JSON
{
  "hex": "#517bc0",
  "rgb": {
    "r": 81,
    "g": 123,
    "b": 192
  },
  "hsl": {
    "h": 217.297,
    "s": 46.835,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58384,
    "c": 0.11651,
    "h": 259.9
  },
  "luminance": 0.19721
}

Semantic roles & 50–950 ramp

primary
#517BC0
secondary
#CEBC9F
accent
#A451D6
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #517BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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