#516AA5#516AA5
#516AA5 is a mid, moderate blue. Relative luminance 0.148; OKLCH L 53.1% C 0.098 H 265.8°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #516AA5 |
|---|---|
| RGB | rgb(81, 106, 165) |
| HSL | hsl(222, 34%, 48%) |
| HSV | hsv(222, 51%, 65%) |
| CMYK | cmyk(50.9%, 35.8%, 0%, 35.3%) |
| CIE-LAB | lab(45.32, 7.89, -34.63) |
| CIE-LCH | lch(45.32, 35.52, 282.84°) |
| OKLab | oklab(53.13% -0.0072 -0.0976) |
| OKLCH | oklch(53.13% 0.098 265.8) |
| XYZ | xyz(15.3367, 14.7730, 37.6333) |
| Luminance | 0.1477 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 3.12
Dusky Blue
#475F94
ΔE00 4.36
Denim Blue
#3B5B92
ΔE00 6.11
Denim (survey)
#3B638C
ΔE00 6.20
Cadet Blue
#4E7496
ΔE00 6.45
Mid Blue
#276AB3
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#516AA5 #A58C51
analogous
#5194A5 #516AA5 #6251A5
triadic
#516AA5 #A5516A #6AA551
tetradic
#516AA5 #A55194 #A58C51 #51A562
square
#516AA5 #A55194 #A58C51 #51A562
split-complementary
#516AA5 #A56251 #94A551
monochromatic
#293553 #3D507C #516AA5 #778CBC #A0AED0
Accessibility & contrast
On white
5.31
#516AA5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#516AA5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #516AA5
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##516AA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##516AA5 | 1.00 | 5.31 | 3.95 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#536FA7
Deuteranopia (green-blind)
#4A68A4
Tritanopia (blue-blind)
#2C7780
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #516aa5; /* rgb */ color: rgb(81, 106, 165); /* oklch */ color: oklch(53.1% 0.098 265.8);
Tailwind
colors: {
custom: {
50: '#8794c0',
500: '#516aa5',
950: '#000000',
},
}SCSS
$custom: #516aa5; $custom-light: #8794c0; $custom-dark: #000000;
JSON
{
"hex": "#516aa5",
"rgb": {
"r": 81,
"g": 106,
"b": 165
},
"hsl": {
"h": 222.143,
"s": 34.146,
"l": 48.235
},
"oklch": {
"l": 0.53127,
"c": 0.09791,
"h": 265.8
},
"luminance": 0.14774
}Semantic roles & 50–950 ramp
primary
#516AA5
secondary
#BDB194
accent
#AA5ECA
background
#F8F9FB
surface
#F0F1F7
border
#CBCBD0
text
#0C0D12
muted
#7D7E81