#517DC6#517DC6
#517DC6 is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.2% C 0.123 H 260.0°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #517DC6 |
|---|---|
| RGB | rgb(81, 125, 198) |
| HSL | hsl(217, 51%, 55%) |
| HSV | hsv(217, 59%, 78%) |
| CMYK | cmyk(59.1%, 36.9%, 0%, 22.4%) |
| CIE-LAB | lab(52.39, 7.09, -42.58) |
| CIE-LCH | lch(52.39, 43.17, 279.45°) |
| OKLab | oklab(59.16% -0.0212 -0.1207) |
| OKLCH | oklch(59.16% 0.123 260) |
| XYZ | xyz(20.9164, 20.4920, 56.2682) |
| Luminance | 0.2049 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Windows Blue
#3778BF
ΔE00 4.18
Off Blue
#5684AE
ΔE00 4.57
Cool Blue
#4984B8
ΔE00 4.83
Steel Blue
#4682B4
ΔE00 5.12
Dusty Blue
#5A86AD
ΔE00 5.18
Cornflower Blue
#5170D7
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#517DC6 #C69A51
analogous
#51B7C6 #517DC6 #6051C6
triadic
#517DC6 #C6517D #7DC651
tetradic
#517DC6 #C651B7 #C69A51 #51C660
square
#517DC6 #C651B7 #C69A51 #51C660
split-complementary
#517DC6 #C66051 #B7C651
monochromatic
#274476 #365FA4 #517DC6 #7F9FD5 #ADC2E4
Accessibility & contrast
On white
4.12
#517DC6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.10
#517DC6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #517DC6
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##517DC6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##517DC6 | 1.00 | 4.12 | 5.10 | 5.10 |
| #FFFFFF | 4.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E83C9
Deuteranopia (green-blind)
#4F78C4
Tritanopia (blue-blind)
#008D98
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #517dc6; /* rgb */ color: rgb(81, 125, 198); /* oklch */ color: oklch(59.2% 0.123 260.0);
Tailwind
colors: {
custom: {
50: '#8ba2d7',
500: '#517dc6',
950: '#000000',
},
}SCSS
$custom: #517dc6; $custom-light: #8ba2d7; $custom-dark: #000000;
JSON
{
"hex": "#517dc6",
"rgb": {
"r": 81,
"g": 125,
"b": 198
},
"hsl": {
"h": 217.436,
"s": 50.649,
"l": 54.706
},
"oklch": {
"l": 0.59161,
"c": 0.12253,
"h": 260
},
"luminance": 0.20494
}Semantic roles & 50–950 ramp
primary
#517DC6
secondary
#D2C0A1
accent
#A54EDA
background
#F9F9FD
surface
#F1F2FA
border
#CBCCD3
text
#0D0F14
muted
#7E7E83