#516BBF#516BBF
#516BBF is a mid, vivid blue. Relative luminance 0.160; OKLCH L 54.9% C 0.134 H 268.7°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #516BBF |
|---|---|
| RGB | rgb(81, 107, 191) |
| HSL | hsl(226, 46%, 53%) |
| HSV | hsv(226, 58%, 75%) |
| CMYK | cmyk(57.6%, 44%, 0%, 25.1%) |
| CIE-LAB | lab(47.01, 15.83, -47.12) |
| CIE-LCH | lch(47.01, 49.70, 288.57°) |
| OKLab | oklab(54.88% -0.0029 -0.1341) |
| OKLCH | oklch(54.88% 0.134 268.7) |
| XYZ | xyz(18.0519, 16.0249, 51.4220) |
| Luminance | 0.1603 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.62
French Blue
#436BAD
ΔE00 3.88
Royal Blue
#4169E1
ΔE00 4.40
Medium Blue
#2C6FBB
ΔE00 6.61
Cadet Blue
#4E7496
ΔE00 6.87
Mid Blue
#276AB3
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#516BBF #BFA551
analogous
#51A2BF #516BBF #6E51BF
triadic
#516BBF #BF516B #6BBF51
tetradic
#516BBF #BF51A2 #BFA551 #51BF6E
square
#516BBF #BF51A2 #BFA551 #51BF6E
split-complementary
#516BBF #BF6E51 #A2BF51
monochromatic
#28396D #39509A #516BBF #7E91CF #AAB7E0
Accessibility & contrast
On white
4.99
#516BBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.21
#516BBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #516BBF
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##516BBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##516BBF | 1.00 | 4.99 | 4.21 | 4.99 |
| #FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4675C2
Deuteranopia (green-blind)
#376BBD
Tritanopia (blue-blind)
#007E8C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #516bbf; /* rgb */ color: rgb(81, 107, 191); /* oklch */ color: oklch(54.9% 0.134 268.7);
Tailwind
colors: {
custom: {
50: '#8a95d3',
500: '#516bbf',
950: '#000000',
},
}SCSS
$custom: #516bbf; $custom-light: #8a95d3; $custom-dark: #000000;
JSON
{
"hex": "#516bbf",
"rgb": {
"r": 81,
"g": 107,
"b": 191
},
"hsl": {
"h": 225.818,
"s": 46.218,
"l": 53.333
},
"oklch": {
"l": 0.54884,
"c": 0.13417,
"h": 268.7
},
"luminance": 0.16026
}Semantic roles & 50–950 ramp
primary
#516BBF
secondary
#CEC29E
accent
#B752D6
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0D0D14
muted
#7D7E83