#516291#516291
#516291 is a mid, moderate blue. Relative luminance 0.125; OKLCH L 50.3% C 0.078 H 268.3°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #516291 |
|---|---|
| RGB | rgb(81, 98, 145) |
| HSL | hsl(224, 28%, 44%) |
| HSV | hsv(224, 44%, 57%) |
| CMYK | cmyk(44.1%, 32.4%, 0%, 43.1%) |
| CIE-LAB | lab(42.04, 6.57, -27.89) |
| CIE-LCH | lch(42.04, 28.66, 283.25°) |
| OKLab | oklab(50.26% -0.0023 -0.0781) |
| OKLCH | oklch(50.26% 0.078 268.3) |
| XYZ | xyz(12.8703, 12.5283, 28.5226) |
| Luminance | 0.1253 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusky Blue
#475F94
ΔE00 2.44
Denim Blue
#3B5B92
ΔE00 4.74
Dusk
#4E5481
ΔE00 5.58
Twilight
#4E518B
ΔE00 6.25
Denim (survey)
#3B638C
ΔE00 6.31
French Blue
#436BAD
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#516291 #918051
analogous
#518291 #516291 #605191
triadic
#516291 #915162 #629151
tetradic
#516291 #915182 #918051 #519160
square
#516291 #915182 #918051 #519160
split-complementary
#516291 #916051 #829151
monochromatic
#252D42 #3B476A #516291 #7081AF #97A3C5
Accessibility & contrast
On white
5.99
#516291 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#516291 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #516291
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##516291 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##516291 | 1.00 | 5.99 | 3.51 | 5.99 |
| #FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#516693
Deuteranopia (green-blind)
#4B6190
Tritanopia (blue-blind)
#3B6C73
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #516291; /* rgb */ color: rgb(81, 98, 145); /* oklch */ color: oklch(50.3% 0.078 268.3);
Tailwind
colors: {
custom: {
50: '#858eb1',
500: '#516291',
950: '#000000',
},
}SCSS
$custom: #516291; $custom-light: #858eb1; $custom-dark: #000000;
JSON
{
"hex": "#516291",
"rgb": {
"r": 81,
"g": 98,
"b": 145
},
"hsl": {
"h": 224.063,
"s": 28.319,
"l": 44.314
},
"oklch": {
"l": 0.50263,
"c": 0.07816,
"h": 268.3
},
"luminance": 0.12529
}Semantic roles & 50–950 ramp
primary
#516291
secondary
#B2A88C
accent
#AB63C5
background
#F8F8FA
surface
#EFF0F5
border
#CACBCF
text
#0B0C10
muted
#7C7D7F