#516FBF#516FBF
#516FBF is a mid, vivid blue. Relative luminance 0.169; OKLCH L 55.7% C 0.129 H 266.7°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #516FBF |
|---|---|
| RGB | rgb(81, 111, 191) |
| HSL | hsl(224, 46%, 53%) |
| HSV | hsv(224, 58%, 75%) |
| CMYK | cmyk(57.6%, 41.9%, 0%, 25.1%) |
| CIE-LAB | lab(48.11, 13.33, -45.36) |
| CIE-LCH | lch(48.11, 47.28, 286.38°) |
| OKLab | oklab(55.73% -0.0073 -0.129) |
| OKLCH | oklch(55.73% 0.129 266.7) |
| XYZ | xyz(18.4786, 16.8783, 51.5642) |
| Luminance | 0.1688 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.15
French Blue
#436BAD
ΔE00 3.71
Royal Blue
#4169E1
ΔE00 4.60
Medium Blue
#2C6FBB
ΔE00 5.86
Flat Blue
#3C73A8
ΔE00 6.33
Cadet Blue
#4E7496
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#516FBF #BFA151
analogous
#51A6BF #516FBF #6A51BF
triadic
#516FBF #BF516F #6FBF51
tetradic
#516FBF #BF51A6 #BFA151 #51BF6A
square
#516FBF #BF51A6 #BFA151 #51BF6A
split-complementary
#516FBF #BF6A51 #A6BF51
monochromatic
#283B6D #39539A #516FBF #7E94CF #AAB9E0
Accessibility & contrast
On white
4.80
#516FBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.38
#516FBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #516FBF
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##516FBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##516FBF | 1.00 | 4.80 | 4.38 | 4.80 |
| #FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C77C2
Deuteranopia (green-blind)
#3E6EBD
Tritanopia (blue-blind)
#00818E
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #516fbf; /* rgb */ color: rgb(81, 111, 191); /* oklch */ color: oklch(55.7% 0.129 266.7);
Tailwind
colors: {
custom: {
50: '#8a97d3',
500: '#516fbf',
950: '#000000',
},
}SCSS
$custom: #516fbf; $custom-light: #8a97d3; $custom-dark: #000000;
JSON
{
"hex": "#516fbf",
"rgb": {
"r": 81,
"g": 111,
"b": 191
},
"hsl": {
"h": 223.636,
"s": 46.218,
"l": 53.333
},
"oklch": {
"l": 0.55727,
"c": 0.12917,
"h": 266.7
},
"luminance": 0.1688
}Semantic roles & 50–950 ramp
primary
#516FBF
secondary
#CEC19E
accent
#B252D6
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D14
muted
#7D7E83