#516BB9#516BB9
#516BB9 is a mid, vivid blue. Relative luminance 0.158; OKLCH L 54.5% C 0.126 H 268.2°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #516BB9 |
|---|---|
| RGB | rgb(81, 107, 185) |
| HSL | hsl(225, 43%, 52%) |
| HSV | hsv(225, 56%, 73%) |
| CMYK | cmyk(56.2%, 42.2%, 0%, 27.5%) |
| CIE-LAB | lab(46.67, 13.82, -44.19) |
| CIE-LCH | lch(46.67, 46.30, 287.37°) |
| OKLab | oklab(54.51% -0.004 -0.1255) |
| OKLCH | oklch(54.51% 0.126 268.2) |
| XYZ | xyz(17.4051, 15.7662, 48.0155) |
| Luminance | 0.1577 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 3.39
Cornflower Blue
#5170D7
ΔE00 4.33
Royal Blue
#4169E1
ΔE00 5.13
Medium Blue
#2C6FBB
ΔE00 6.45
Dusky Blue
#475F94
ΔE00 6.46
Cadet Blue
#4E7496
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#516BB9 #B99F51
analogous
#519FB9 #516BB9 #6B51B9
triadic
#516BB9 #B9516B #6BB951
tetradic
#516BB9 #B9519F #B99F51 #51B96B
square
#516BB9 #B9519F #B99F51 #51B96B
split-complementary
#516BB9 #B96B51 #9FB951
monochromatic
#293866 #3B5192 #516BB9 #7D90CB #A8B5DC
Accessibility & contrast
On white
5.06
#516BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#516BB9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #516BB9
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##516BB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##516BB9 | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A74BC
Deuteranopia (green-blind)
#3D6AB7
Tritanopia (blue-blind)
#107C89
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #516bb9; /* rgb */ color: rgb(81, 107, 185); /* oklch */ color: oklch(54.5% 0.126 268.2);
Tailwind
colors: {
custom: {
50: '#8a95ce',
500: '#516bb9',
950: '#000000',
},
}SCSS
$custom: #516bb9; $custom-light: #8a95ce; $custom-dark: #000000;
JSON
{
"hex": "#516bb9",
"rgb": {
"r": 81,
"g": 107,
"b": 185
},
"hsl": {
"h": 225,
"s": 42.623,
"l": 52.157
},
"oklch": {
"l": 0.54511,
"c": 0.12561,
"h": 268.2
},
"luminance": 0.15768
}Semantic roles & 50–950 ramp
primary
#516BB9
secondary
#CABE9C
accent
#B355D2
background
#F8F9FC
surface
#F0F1F9
border
#CBCBD2
text
#0C0D14
muted
#7D7E82