#51487F#51487F
#51487F is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.6% C 0.089 H 289.7°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).
Color values
| HEX | #51487F |
|---|---|
| RGB | rgb(81, 72, 127) |
| HSL | hsl(250, 28%, 39%) |
| HSV | hsv(250, 43%, 50%) |
| CMYK | cmyk(36.2%, 43.3%, 0%, 50.2%) |
| CIE-LAB | lab(33.81, 17.68, -29.86) |
| CIE-LCH | lch(33.81, 34.70, 300.63°) |
| OKLab | oklab(43.64% 0.03 -0.0839) |
| OKLCH | oklch(43.64% 0.089 289.7) |
| XYZ | xyz(9.5405, 7.9161, 21.0999) |
| Luminance | 0.0792 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 4.24
Dusk
#4E5481
ΔE00 5.17
Darkslateblue
#483D8B
ΔE00 5.48
Blueberry
#464196
ΔE00 6.51
Rebeccapurple
#663399
ΔE00 10.04
Royal Purple
#7851A9
ΔE00 10.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#51487F #767F48
analogous
#485B7F #51487F #6D487F
triadic
#51487F #7F5148 #487F51
tetradic
#51487F #7F485B #767F48 #487F6D
square
#51487F #7F485B #767F48 #487F6D
split-complementary
#51487F #7F6D48 #5B7F48
monochromatic
#1F1C31 #383258 #51487F #6B60A5 #8F87BB
Accessibility & contrast
On white
8.13
#51487F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#51487F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #51487F
8.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##51487F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##51487F | 1.00 | 8.13 | 2.58 | 8.13 |
| #FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#365181
Deuteranopia (green-blind)
#374E7E
Tritanopia (blue-blind)
#46525D
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #51487f; /* rgb */ color: rgb(81, 72, 127); /* oklch */ color: oklch(43.6% 0.089 289.7);
Tailwind
colors: {
custom: {
50: '#847ba4',
500: '#51487f',
950: '#000000',
},
}SCSS
$custom: #51487f; $custom-light: #847ba4; $custom-dark: #000000;
JSON
{
"hex": "#51487f",
"rgb": {
"r": 81,
"g": 72,
"b": 127
},
"hsl": {
"h": 249.818,
"s": 27.638,
"l": 39.02
},
"oklch": {
"l": 0.43636,
"c": 0.08909,
"h": 289.7
},
"luminance": 0.07916
}Semantic roles & 50–950 ramp
primary
#51487F
secondary
#A0A77C
accent
#C464B4
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B090F
muted
#7C7B7F