#516BBA#516BBA
#516BBA is a mid, vivid blue. Relative luminance 0.158; OKLCH L 54.6% C 0.127 H 268.3°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #516BBA |
|---|---|
| RGB | rgb(81, 107, 186) |
| HSL | hsl(225, 43%, 52%) |
| HSV | hsv(225, 56%, 73%) |
| CMYK | cmyk(56.5%, 42.5%, 0%, 27.1%) |
| CIE-LAB | lab(46.72, 14.15, -44.68) |
| CIE-LCH | lch(46.72, 46.86, 287.58°) |
| OKLab | oklab(54.57% -0.0038 -0.127) |
| OKLCH | oklch(54.57% 0.127 268.3) |
| XYZ | xyz(17.5110, 15.8086, 48.5734) |
| Luminance | 0.1581 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 3.47
Cornflower Blue
#5170D7
ΔE00 4.21
Royal Blue
#4169E1
ΔE00 5.01
Medium Blue
#2C6FBB
ΔE00 6.47
Dusky Blue
#475F94
ΔE00 6.56
Cadet Blue
#4E7496
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#516BBA #BAA051
analogous
#519FBA #516BBA #6C51BA
triadic
#516BBA #BA516B #6BBA51
tetradic
#516BBA #BA519F #BAA051 #51BA6C
square
#516BBA #BA519F #BAA051 #51BA6C
split-complementary
#516BBA #BA6C51 #9FBA51
monochromatic
#293968 #3A5093 #516BBA #7D90CB #A9B6DD
Accessibility & contrast
On white
5.05
#516BBA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#516BBA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #516BBA
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##516BBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##516BBA | 1.00 | 5.05 | 4.16 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4974BD
Deuteranopia (green-blind)
#3C6AB8
Tritanopia (blue-blind)
#0E7C89
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #516bba; /* rgb */ color: rgb(81, 107, 186); /* oklch */ color: oklch(54.6% 0.127 268.3);
Tailwind
colors: {
custom: {
50: '#8a95cf',
500: '#516bba',
950: '#000000',
},
}SCSS
$custom: #516bba; $custom-light: #8a95cf; $custom-dark: #000000;
JSON
{
"hex": "#516bba",
"rgb": {
"r": 81,
"g": 107,
"b": 186
},
"hsl": {
"h": 225.143,
"s": 43.21,
"l": 52.353
},
"oklch": {
"l": 0.54573,
"c": 0.12705,
"h": 268.3
},
"luminance": 0.1581
}Semantic roles & 50–950 ramp
primary
#516BBA
secondary
#CABF9D
accent
#B455D3
background
#F8F9FC
surface
#F0F1F9
border
#CBCBD2
text
#0C0D14
muted
#7D7E82