#517DC0#517DC0

#517DC0 is a mid, moderate blue. Relative luminance 0.202; OKLCH L 58.8% C 0.114 H 258.6°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#517DC0
RGBrgb(81, 125, 192)
HSLhsl(216, 47%, 54%)
HSVhsv(216, 58%, 75%)
CMYKcmyk(57.8%, 34.9%, 0%, 24.7%)
CIE-LABlab(52.09, 5.10, -39.64)
CIE-LCHlch(52.09, 39.96, 277.33°)
OKLaboklab(58.83% -0.0227 -0.1121)
OKLCHoklch(58.83% 0.114 258.6)
XYZxyz(20.2381, 20.2206, 52.6954)
Luminance0.2022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517DC0 #C09451
analogous
#51B4C0 #517DC0 #5C51C0
triadic
#517DC0 #C0517D #7DC051
tetradic
#517DC0 #C051B4 #C09451 #51C05C
square
#517DC0 #C051B4 #C09451 #51C05C
split-complementary
#517DC0 #C05C51 #B4C051
monochromatic
#28446F #38609B #517DC0 #7E9FD0 #ABC0E1

Accessibility & contrast

On white

4.16
#517DC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#517DC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #517DC0
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517DC0#FFFFFF#000000##000000
##517DC01.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6182C3
Deuteranopia (green-blind)
#5377BF
Tritanopia (blue-blind)
#008C95
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #517dc0;
/* rgb */ color: rgb(81, 125, 192);
/* oklch */ color: oklch(58.8% 0.114 258.6);
Tailwind
colors: {
  custom: {
    50: '#8aa2d3',
    500: '#517dc0',
    950: '#000000',
  },
}
SCSS
$custom: #517dc0;
$custom-light: #8aa2d3;
$custom-dark: #000000;
JSON
{
  "hex": "#517dc0",
  "rgb": {
    "r": 81,
    "g": 125,
    "b": 192
  },
  "hsl": {
    "h": 216.216,
    "s": 46.835,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58826,
    "c": 0.11434,
    "h": 258.6
  },
  "luminance": 0.20222
}

Semantic roles & 50–950 ramp

primary
#517DC0
secondary
#CEBB9F
accent
#A251D6
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0F14
muted
#7D7E83

Preview Lab

Preview with #517DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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