#516FC3#516FC3
#516FC3 is a mid, vivid blue. Relative luminance 0.171; OKLCH L 56.0% C 0.135 H 267.2°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #516FC3 |
|---|---|
| RGB | rgb(81, 111, 195) |
| HSL | hsl(224, 49%, 54%) |
| HSV | hsv(224, 58%, 76%) |
| CMYK | cmyk(58.5%, 43.1%, 0%, 23.5%) |
| CIE-LAB | lab(48.33, 14.68, -47.31) |
| CIE-LCH | lch(48.33, 49.53, 287.23°) |
| OKLab | oklab(55.97% -0.0066 -0.1347) |
| OKLCH | oklch(55.97% 0.135 267.2) |
| XYZ | xyz(18.9248, 17.0568, 53.9142) |
| Luminance | 0.1706 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 2.63
French Blue
#436BAD
ΔE00 4.09
Royal Blue
#4169E1
ΔE00 4.18
Medium Blue
#2C6FBB
ΔE00 6.04
Cerulean Blue
#056EEE
ΔE00 6.09
Cadet Blue
#4E7496
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#516FC3 #C3A551
analogous
#51A8C3 #516FC3 #6C51C3
triadic
#516FC3 #C3516F #6FC351
tetradic
#516FC3 #C351A8 #C3A551 #51C36C
square
#516FC3 #C351A8 #C3A551 #51C36C
split-complementary
#516FC3 #C36C51 #A8C351
monochromatic
#273B72 #3753A0 #516FC3 #7F95D3 #ACBAE2
Accessibility & contrast
On white
4.76
#516FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.41
#516FC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #516FC3
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##516FC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##516FC3 | 1.00 | 4.76 | 4.41 | 4.76 |
| #FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A78C6
Deuteranopia (green-blind)
#3A6EC1
Tritanopia (blue-blind)
#00828F
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #516fc3; /* rgb */ color: rgb(81, 111, 195); /* oklch */ color: oklch(56.0% 0.135 267.2);
Tailwind
colors: {
custom: {
50: '#8b97d5',
500: '#516fc3',
950: '#000000',
},
}SCSS
$custom: #516fc3; $custom-light: #8b97d5; $custom-dark: #000000;
JSON
{
"hex": "#516fc3",
"rgb": {
"r": 81,
"g": 111,
"b": 195
},
"hsl": {
"h": 224.211,
"s": 48.718,
"l": 54.118
},
"oklch": {
"l": 0.55974,
"c": 0.13483,
"h": 267.2
},
"luminance": 0.17058
}Semantic roles & 50–950 ramp
primary
#516FC3
secondary
#D0C3A0
accent
#B450D8
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0D0D14
muted
#7D7E83