#516FBA#516FBA
#516FBA is a mid, vivid blue. Relative luminance 0.167; OKLCH L 55.4% C 0.122 H 266.1°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #516FBA |
|---|---|
| RGB | rgb(81, 111, 186) |
| HSL | hsl(223, 43%, 52%) |
| HSV | hsv(223, 56%, 73%) |
| CMYK | cmyk(56.5%, 40.3%, 0%, 27.1%) |
| CIE-LAB | lab(47.83, 11.67, -42.91) |
| CIE-LCH | lch(47.83, 44.47, 285.21°) |
| OKLab | oklab(55.43% -0.0083 -0.1218) |
| OKLCH | oklch(55.43% 0.122 266.1) |
| XYZ | xyz(17.9377, 16.6620, 48.7157) |
| Luminance | 0.1666 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 3.28
Cornflower Blue
#5170D7
ΔE00 3.79
Royal Blue
#4169E1
ΔE00 5.14
Medium Blue
#2C6FBB
ΔE00 5.68
Flat Blue
#3C73A8
ΔE00 6.05
Dull Blue
#49759C
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#516FBA #BA9C51
analogous
#51A4BA #516FBA #6751BA
triadic
#516FBA #BA516F #6FBA51
tetradic
#516FBA #BA51A4 #BA9C51 #51BA67
square
#516FBA #BA51A4 #BA9C51 #51BA67
split-complementary
#516FBA #BA6751 #A4BA51
monochromatic
#293B68 #3A5493 #516FBA #7D93CB #A9B8DD
Accessibility & contrast
On white
4.85
#516FBA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#516FBA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #516FBA
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##516FBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##516FBA | 1.00 | 4.85 | 4.33 | 4.85 |
| #FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5077BD
Deuteranopia (green-blind)
#426DB8
Tritanopia (blue-blind)
#0B7F8B
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #516fba; /* rgb */ color: rgb(81, 111, 186); /* oklch */ color: oklch(55.4% 0.122 266.1);
Tailwind
colors: {
custom: {
50: '#8a98cf',
500: '#516fba',
950: '#000000',
},
}SCSS
$custom: #516fba; $custom-light: #8a98cf; $custom-dark: #000000;
JSON
{
"hex": "#516fba",
"rgb": {
"r": 81,
"g": 111,
"b": 186
},
"hsl": {
"h": 222.857,
"s": 43.21,
"l": 52.353
},
"oklch": {
"l": 0.55426,
"c": 0.12207,
"h": 266.1
},
"luminance": 0.16663
}Semantic roles & 50–950 ramp
primary
#516FBA
secondary
#CABD9D
accent
#AF55D3
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0D14
muted
#7D7E82