#516397#516397
#516397 is a mid, moderate blue. Relative luminance 0.129; OKLCH L 50.8% C 0.086 H 268.7°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #516397 |
|---|---|
| RGB | rgb(81, 99, 151) |
| HSL | hsl(225, 30%, 45%) |
| HSV | hsv(225, 46%, 59%) |
| CMYK | cmyk(46.4%, 34.4%, 0%, 40.8%) |
| CIE-LAB | lab(42.62, 7.80, -30.58) |
| CIE-LCH | lch(42.62, 31.56, 284.32°) |
| OKLab | oklab(50.81% -0.0019 -0.0859) |
| OKLCH | oklch(50.81% 0.086 268.7) |
| XYZ | xyz(13.4393, 12.9066, 31.0552) |
| Luminance | 0.1291 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusky Blue
#475F94
ΔE00 2.28
Denim Blue
#3B5B92
ΔE00 4.68
French Blue
#436BAD
ΔE00 5.81
Denim (survey)
#3B638C
ΔE00 6.22
Dusk
#4E5481
ΔE00 6.34
Twilight
#4E518B
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#516397 #978551
analogous
#518697 #516397 #625197
triadic
#516397 #975163 #639751
tetradic
#516397 #975186 #978551 #519762
square
#516397 #975186 #978551 #519762
split-complementary
#516397 #976251 #869751
monochromatic
#262F47 #3C496F #516397 #7283B3 #9AA6C9
Accessibility & contrast
On white
5.86
#516397 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#516397 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #516397
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##516397 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##516397 | 1.00 | 5.86 | 3.58 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#506899
Deuteranopia (green-blind)
#496296
Tritanopia (blue-blind)
#376E76
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #516397; /* rgb */ color: rgb(81, 99, 151); /* oklch */ color: oklch(50.8% 0.086 268.7);
Tailwind
colors: {
custom: {
50: '#858fb6',
500: '#516397',
950: '#000000',
},
}SCSS
$custom: #516397; $custom-light: #858fb6; $custom-dark: #000000;
JSON
{
"hex": "#516397",
"rgb": {
"r": 81,
"g": 99,
"b": 151
},
"hsl": {
"h": 224.571,
"s": 30.172,
"l": 45.49
},
"oklch": {
"l": 0.50807,
"c": 0.08591,
"h": 268.7
},
"luminance": 0.12907
}Semantic roles & 50–950 ramp
primary
#516397
secondary
#B6AB8E
accent
#AC61C6
background
#F8F8FB
surface
#EFF0F6
border
#CACBD0
text
#0B0C11
muted
#7C7D80