#516CA2#516CA2
#516CA2 is a mid, moderate blue. Relative luminance 0.151; OKLCH L 53.4% C 0.091 H 263.4°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #516CA2 |
|---|---|
| RGB | rgb(81, 108, 162) |
| HSL | hsl(220, 33%, 48%) |
| HSV | hsv(220, 50%, 64%) |
| CMYK | cmyk(50%, 33.3%, 0%, 36.5%) |
| CIE-LAB | lab(45.75, 5.70, -32.20) |
| CIE-LCH | lch(45.75, 32.70, 280.03°) |
| OKLab | oklab(53.41% -0.0105 -0.0905) |
| OKLCH | oklch(53.41% 0.091 263.4) |
| XYZ | xyz(15.2753, 15.0821, 36.2816) |
| Luminance | 0.1508 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 2.92
Dusky Blue
#475F94
ΔE00 4.78
Cadet Blue
#4E7496
ΔE00 5.79
Dull Blue
#49759C
ΔE00 5.95
Flat Blue
#3C73A8
ΔE00 5.99
Denim (survey)
#3B638C
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#516CA2 #A28751
analogous
#5194A2 #516CA2 #5F51A2
triadic
#516CA2 #A2516C #6CA251
tetradic
#516CA2 #A25194 #A28751 #51A25F
square
#516CA2 #A25194 #A28751 #51A25F
split-complementary
#516CA2 #A25F51 #94A251
monochromatic
#283650 #3D5179 #516CA2 #768DBA #9FAFCF
Accessibility & contrast
On white
5.23
#516CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#516CA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #516CA2
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##516CA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##516CA2 | 1.00 | 5.23 | 4.02 | 5.23 |
| #FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5770A4
Deuteranopia (green-blind)
#4E69A1
Tritanopia (blue-blind)
#2E787F
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #516ca2; /* rgb */ color: rgb(81, 108, 162); /* oklch */ color: oklch(53.4% 0.091 263.4);
Tailwind
colors: {
custom: {
50: '#8695be',
500: '#516ca2',
950: '#000000',
},
}SCSS
$custom: #516ca2; $custom-light: #8695be; $custom-dark: #000000;
JSON
{
"hex": "#516ca2",
"rgb": {
"r": 81,
"g": 108,
"b": 162
},
"hsl": {
"h": 220,
"s": 33.333,
"l": 47.647
},
"oklch": {
"l": 0.53408,
"c": 0.09116,
"h": 263.4
},
"luminance": 0.15083
}Semantic roles & 50–950 ramp
primary
#516CA2
secondary
#BCAE93
accent
#A65EC9
background
#F8F9FB
surface
#F0F1F6
border
#CBCBD0
text
#0C0D12
muted
#7D7E81