#516FC0#516FC0
#516FC0 is a mid, vivid blue. Relative luminance 0.169; OKLCH L 55.8% C 0.131 H 266.9°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #516FC0 |
|---|---|
| RGB | rgb(81, 111, 192) |
| HSL | hsl(224, 47%, 54%) |
| HSV | hsv(224, 58%, 75%) |
| CMYK | cmyk(57.8%, 42.2%, 0%, 24.7%) |
| CIE-LAB | lab(48.16, 13.67, -45.85) |
| CIE-LCH | lch(48.16, 47.85, 286.60°) |
| OKLab | oklab(55.79% -0.0071 -0.1304) |
| OKLCH | oklch(55.79% 0.131 266.9) |
| XYZ | xyz(18.5890, 16.9225, 52.1457) |
| Luminance | 0.1692 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.02
French Blue
#436BAD
ΔE00 3.80
Royal Blue
#4169E1
ΔE00 4.49
Medium Blue
#2C6FBB
ΔE00 5.90
Cerulean Blue
#056EEE
ΔE00 6.30
Flat Blue
#3C73A8
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#516FC0 #C0A251
analogous
#51A6C0 #516FC0 #6A51C0
triadic
#516FC0 #C0516F #6FC051
tetradic
#516FC0 #C051A6 #C0A251 #51C06A
square
#516FC0 #C051A6 #C0A251 #51C06A
split-complementary
#516FC0 #C06A51 #A6C051
monochromatic
#283B6F #38539B #516FC0 #7E94D0 #ABB9E1
Accessibility & contrast
On white
4.79
#516FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.38
#516FC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #516FC0
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##516FC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##516FC0 | 1.00 | 4.79 | 4.38 | 4.79 |
| #FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C78C3
Deuteranopia (green-blind)
#3D6EBE
Tritanopia (blue-blind)
#00818E
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #516fc0; /* rgb */ color: rgb(81, 111, 192); /* oklch */ color: oklch(55.8% 0.131 266.9);
Tailwind
colors: {
custom: {
50: '#8a97d3',
500: '#516fc0',
950: '#000000',
},
}SCSS
$custom: #516fc0; $custom-light: #8a97d3; $custom-dark: #000000;
JSON
{
"hex": "#516fc0",
"rgb": {
"r": 81,
"g": 111,
"b": 192
},
"hsl": {
"h": 223.784,
"s": 46.835,
"l": 53.529
},
"oklch": {
"l": 0.55789,
"c": 0.13059,
"h": 266.9
},
"luminance": 0.16924
}Semantic roles & 50–950 ramp
primary
#516FC0
secondary
#CEC19F
accent
#B251D6
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0D0D14
muted
#7D7E83