#516AA2#516AA2
#516AA2 is a mid, moderate blue. Relative luminance 0.147; OKLCH L 53.0% C 0.094 H 265.1°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #516AA2 |
|---|---|
| RGB | rgb(81, 106, 162) |
| HSL | hsl(221, 33%, 48%) |
| HSV | hsv(221, 50%, 64%) |
| CMYK | cmyk(50%, 34.6%, 0%, 36.5%) |
| CIE-LAB | lab(45.17, 6.93, -33.10) |
| CIE-LCH | lch(45.17, 33.82, 281.83°) |
| OKLab | oklab(52.96% -0.008 -0.0932) |
| OKLCH | oklch(52.96% 0.094 265.1) |
| XYZ | xyz(15.0668, 14.6650, 36.2121) |
| Luminance | 0.1467 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 3.25
Dusky Blue
#475F94
ΔE00 4.17
Denim Blue
#3B5B92
ΔE00 5.96
Denim (survey)
#3B638C
ΔE00 5.99
Cadet Blue
#4E7496
ΔE00 6.39
Mid Blue
#276AB3
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#516AA2 #A28951
analogous
#5193A2 #516AA2 #6051A2
triadic
#516AA2 #A2516A #6AA251
tetradic
#516AA2 #A25193 #A28951 #51A260
square
#516AA2 #A25193 #A28951 #51A260
split-complementary
#516AA2 #A26051 #93A251
monochromatic
#283550 #3D4F79 #516AA2 #768BBA #9FADCF
Accessibility & contrast
On white
5.34
#516AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#516AA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #516AA2
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##516AA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##516AA2 | 1.00 | 5.34 | 3.93 | 5.34 |
| #FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#556FA4
Deuteranopia (green-blind)
#4C68A1
Tritanopia (blue-blind)
#2E767E
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #516aa2; /* rgb */ color: rgb(81, 106, 162); /* oklch */ color: oklch(53.0% 0.094 265.1);
Tailwind
colors: {
custom: {
50: '#8794be',
500: '#516aa2',
950: '#000000',
},
}SCSS
$custom: #516aa2; $custom-light: #8794be; $custom-dark: #000000;
JSON
{
"hex": "#516aa2",
"rgb": {
"r": 81,
"g": 106,
"b": 162
},
"hsl": {
"h": 221.481,
"s": 33.333,
"l": 47.647
},
"oklch": {
"l": 0.52962,
"c": 0.09352,
"h": 265.1
},
"luminance": 0.14666
}Semantic roles & 50–950 ramp
primary
#516AA2
secondary
#BCAF93
accent
#A85EC9
background
#F8F9FB
surface
#F0F1F6
border
#CBCBD0
text
#0C0D12
muted
#7D7E81