#514B82#514B82
#514B82 is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.4% C 0.089 H 287.2°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #514B82 |
|---|---|
| RGB | rgb(81, 75, 130) |
| HSL | hsl(247, 27%, 40%) |
| HSV | hsv(247, 42%, 51%) |
| CMYK | cmyk(37.7%, 42.3%, 0%, 49%) |
| CIE-LAB | lab(34.79, 16.64, -30.17) |
| CIE-LCH | lch(34.79, 34.45, 298.87°) |
| OKLab | oklab(44.43% 0.0263 -0.0848) |
| OKLCH | oklch(44.43% 0.089 287.2) |
| XYZ | xyz(9.9376, 8.3929, 22.2112) |
| Luminance | 0.0839 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.12
Dusk
#4E5481
ΔE00 4.15
Darkslateblue
#483D8B
ΔE00 5.82
Blueberry
#464196
ΔE00 6.43
Dusky Blue
#475F94
ΔE00 9.48
Royal Purple
#7851A9
ΔE00 10.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514B82 #7C824B
analogous
#4B6182 #514B82 #6C4B82
triadic
#514B82 #82514B #4B8251
tetradic
#514B82 #824B61 #7C824B #4B826C
square
#514B82 #824B61 #7C824B #4B826C
split-complementary
#514B82 #826C4B #61824B
monochromatic
#211E34 #39355B #514B82 #6C64A6 #918BBC
Accessibility & contrast
On white
7.84
#514B82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#514B82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #514B82
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514B82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514B82 | 1.00 | 7.84 | 2.68 | 7.84 |
| #FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#395384
Deuteranopia (green-blind)
#385081
Tritanopia (blue-blind)
#445660
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #514b82; /* rgb */ color: rgb(81, 75, 130); /* oklch */ color: oklch(44.4% 0.089 287.2);
Tailwind
colors: {
custom: {
50: '#847da6',
500: '#514b82',
950: '#000000',
},
}SCSS
$custom: #514b82; $custom-light: #847da6; $custom-dark: #000000;
JSON
{
"hex": "#514b82",
"rgb": {
"r": 81,
"g": 75,
"b": 130
},
"hsl": {
"h": 246.545,
"s": 26.829,
"l": 40.196
},
"oklch": {
"l": 0.44434,
"c": 0.08874,
"h": 287.2
},
"luminance": 0.08393
}Semantic roles & 50–950 ramp
primary
#514B82
secondary
#A4A880
accent
#C365B9
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B090F
muted
#7C7B7F