#51587F#51587F
#51587F is a mid, moderate blue. Relative luminance 0.103; OKLCH L 47.1% C 0.064 H 275.9°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).
Color values
| HEX | #51587F |
|---|---|
| RGB | rgb(81, 88, 127) |
| HSL | hsl(231, 22%, 41%) |
| HSV | hsv(231, 36%, 50%) |
| CMYK | cmyk(36.2%, 30.7%, 0%, 50.2%) |
| CIE-LAB | lab(38.31, 7.44, -22.81) |
| CIE-LCH | lch(38.31, 24.00, 288.07°) |
| OKLab | oklab(47.09% 0.0065 -0.0635) |
| OKLCH | oklch(47.09% 0.064 275.9) |
| XYZ | xyz(10.7127, 10.2607, 21.4906) |
| Luminance | 0.1026 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk
#4E5481
ΔE00 1.94
Twilight
#4E518B
ΔE00 4.53
Dusky Blue
#475F94
ΔE00 6.22
Denim Blue
#3B5B92
ΔE00 7.49
Light Navy Blue
#2E5A88
ΔE00 9.62
Dusk Blue
#26538D
ΔE00 9.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#51587F #7F7851
analogous
#516F7F #51587F #61517F
triadic
#51587F #7F5158 #587F51
tetradic
#51587F #7F516F #7F7851 #517F61
square
#51587F #7F516F #7F7851 #517F61
split-complementary
#51587F #7F6151 #6F7F51
monochromatic
#212434 #393E5A #51587F #6C74A1 #9197B9
Accessibility & contrast
On white
6.88
#51587F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#51587F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #51587F
6.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##51587F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##51587F | 1.00 | 6.88 | 3.05 | 6.88 |
| #FFFFFF | 6.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C5C81
Deuteranopia (green-blind)
#49587E
Tritanopia (blue-blind)
#446066
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #51587f; /* rgb */ color: rgb(81, 88, 127); /* oklch */ color: oklch(47.1% 0.064 275.9);
Tailwind
colors: {
custom: {
50: '#8387a4',
500: '#51587f',
950: '#000000',
},
}SCSS
$custom: #51587f; $custom-light: #8387a4; $custom-dark: #000000;
JSON
{
"hex": "#51587f",
"rgb": {
"r": 81,
"g": 88,
"b": 127
},
"hsl": {
"h": 230.87,
"s": 22.115,
"l": 40.784
},
"oklch": {
"l": 0.47087,
"c": 0.06382,
"h": 275.9
},
"luminance": 0.10261
}Semantic roles & 50–950 ramp
primary
#51587F
secondary
#A6A186
accent
#B269BF
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0B0F
muted
#7C7C7F