#516699#516699
#516699 is a mid, moderate blue. Relative luminance 0.136; OKLCH L 51.6% C 0.085 H 266.4°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #516699 |
|---|---|
| RGB | rgb(81, 102, 153) |
| HSL | hsl(223, 31%, 46%) |
| HSV | hsv(223, 47%, 60%) |
| CMYK | cmyk(47.1%, 33.3%, 0%, 40%) |
| CIE-LAB | lab(43.58, 6.56, -30.26) |
| CIE-LCH | lch(43.58, 30.97, 282.23°) |
| OKLab | oklab(51.58% -0.0053 -0.085) |
| OKLCH | oklch(51.58% 0.085 266.4) |
| XYZ | xyz(13.8926, 13.5511, 32.0144) |
| Luminance | 0.1355 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusky Blue
#475F94
ΔE00 2.74
French Blue
#436BAD
ΔE00 4.80
Denim Blue
#3B5B92
ΔE00 4.97
Denim (survey)
#3B638C
ΔE00 5.78
Dusk
#4E5481
ΔE00 7.48
Light Navy Blue
#2E5A88
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#516699 #998451
analogous
#518A99 #516699 #605199
triadic
#516699 #995166 #669951
tetradic
#516699 #99518A #998451 #519960
square
#516699 #99518A #998451 #519960
split-complementary
#516699 #996051 #8A9951
monochromatic
#273149 #3C4B71 #516699 #7386B5 #9BA8CA
Accessibility & contrast
On white
5.66
#516699 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#516699 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #516699
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##516699 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##516699 | 1.00 | 5.66 | 3.71 | 5.66 |
| #FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#536A9B
Deuteranopia (green-blind)
#4C6498
Tritanopia (blue-blind)
#357178
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #516699; /* rgb */ color: rgb(81, 102, 153); /* oklch */ color: oklch(51.6% 0.085 266.4);
Tailwind
colors: {
custom: {
50: '#8691b7',
500: '#516699',
950: '#000000',
},
}SCSS
$custom: #516699; $custom-light: #8691b7; $custom-dark: #000000;
JSON
{
"hex": "#516699",
"rgb": {
"r": 81,
"g": 102,
"b": 153
},
"hsl": {
"h": 222.5,
"s": 30.769,
"l": 45.882
},
"oklch": {
"l": 0.51583,
"c": 0.08514,
"h": 266.4
},
"luminance": 0.13552
}Semantic roles & 50–950 ramp
primary
#516699
secondary
#B7AB8F
accent
#A961C7
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0B0C11
muted
#7C7D80