#514B85#514B85
#514B85 is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.6% C 0.093 H 286.7°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #514B85 |
|---|---|
| RGB | rgb(81, 75, 133) |
| HSL | hsl(246, 28%, 41%) |
| HSV | hsv(246, 44%, 52%) |
| CMYK | cmyk(39.1%, 43.6%, 0%, 47.8%) |
| CIE-LAB | lab(34.95, 17.53, -31.76) |
| CIE-LCH | lch(34.95, 36.27, 298.90°) |
| OKLab | oklab(44.61% 0.0268 -0.0894) |
| OKLCH | oklch(44.61% 0.093 286.7) |
| XYZ | xyz(10.1419, 8.4746, 23.2872) |
| Luminance | 0.0848 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 2.81
Dusk
#4E5481
ΔE00 4.31
Darkslateblue
#483D8B
ΔE00 5.36
Blueberry
#464196
ΔE00 5.82
Dusky Blue
#475F94
ΔE00 9.24
Ocean Blue
#4F42B5
ΔE00 9.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514B85 #7F854B
analogous
#4B6285 #514B85 #6E4B85
triadic
#514B85 #85514B #4B8551
tetradic
#514B85 #854B62 #7F854B #4B856E
square
#514B85 #854B62 #7F854B #4B856E
split-complementary
#514B85 #856E4B #62854B
monochromatic
#211F37 #39355E #514B85 #6C65A8 #918CBE
Accessibility & contrast
On white
7.79
#514B85 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#514B85 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #514B85
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514B85 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514B85 | 1.00 | 7.79 | 2.70 | 7.79 |
| #FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#375487
Deuteranopia (green-blind)
#365184
Tritanopia (blue-blind)
#435661
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #514b85; /* rgb */ color: rgb(81, 75, 133); /* oklch */ color: oklch(44.6% 0.093 286.7);
Tailwind
colors: {
custom: {
50: '#847da9',
500: '#514b85',
950: '#000000',
},
}SCSS
$custom: #514b85; $custom-light: #847da9; $custom-dark: #000000;
JSON
{
"hex": "#514b85",
"rgb": {
"r": 81,
"g": 75,
"b": 133
},
"hsl": {
"h": 246.207,
"s": 27.885,
"l": 40.784
},
"oklch": {
"l": 0.44613,
"c": 0.09334,
"h": 286.7
},
"luminance": 0.08475
}Semantic roles & 50–950 ramp
primary
#514B85
secondary
#A6AA81
accent
#C464BA
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0910
muted
#7C7B7F