#516CB9#516CB9
#516CB9 is a mid, vivid blue. Relative luminance 0.160; OKLCH L 54.7% C 0.124 H 267.6°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #516CB9 |
|---|---|
| RGB | rgb(81, 108, 185) |
| HSL | hsl(224, 43%, 52%) |
| HSV | hsv(224, 56%, 73%) |
| CMYK | cmyk(56.2%, 41.6%, 0%, 27.5%) |
| CIE-LAB | lab(46.94, 13.20, -43.75) |
| CIE-LCH | lch(46.94, 45.69, 286.79°) |
| OKLab | oklab(54.72% -0.0051 -0.1242) |
| OKLCH | oklch(54.72% 0.124 267.6) |
| XYZ | xyz(17.5099, 15.9759, 48.0505) |
| Luminance | 0.1598 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 3.28
Cornflower Blue
#5170D7
ΔE00 4.18
Royal Blue
#4169E1
ΔE00 5.13
Medium Blue
#2C6FBB
ΔE00 6.23
Cadet Blue
#4E7496
ΔE00 6.50
Mid Blue
#276AB3
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#516CB9 #B99E51
analogous
#51A0B9 #516CB9 #6A51B9
triadic
#516CB9 #B9516C #6CB951
tetradic
#516CB9 #B951A0 #B99E51 #51B96A
square
#516CB9 #B951A0 #B99E51 #51B96A
split-complementary
#516CB9 #B96A51 #A0B951
monochromatic
#293966 #3B5192 #516CB9 #7D91CB #A8B6DC
Accessibility & contrast
On white
5.01
#516CB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#516CB9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #516CB9
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##516CB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##516CB9 | 1.00 | 5.01 | 4.20 | 5.01 |
| #FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B74BC
Deuteranopia (green-blind)
#3E6BB7
Tritanopia (blue-blind)
#107D89
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #516cb9; /* rgb */ color: rgb(81, 108, 185); /* oklch */ color: oklch(54.7% 0.124 267.6);
Tailwind
colors: {
custom: {
50: '#8995ce',
500: '#516cb9',
950: '#000000',
},
}SCSS
$custom: #516cb9; $custom-light: #8995ce; $custom-dark: #000000;
JSON
{
"hex": "#516cb9",
"rgb": {
"r": 81,
"g": 108,
"b": 185
},
"hsl": {
"h": 224.423,
"s": 42.623,
"l": 52.157
},
"oklch": {
"l": 0.54724,
"c": 0.12436,
"h": 267.6
},
"luminance": 0.15977
}Semantic roles & 50–950 ramp
primary
#516CB9
secondary
#CABE9C
accent
#B255D2
background
#F8F9FC
surface
#F0F1F9
border
#CBCBD2
text
#0C0D14
muted
#7D7E82