#514985#514985
#514985 is a dark, moderate blue. Relative luminance 0.082; OKLCH L 44.2% C 0.097 H 287.9°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).
Color values
| HEX | #514985 |
|---|---|
| RGB | rgb(81, 73, 133) |
| HSL | hsl(248, 29%, 40%) |
| HSV | hsv(248, 45%, 52%) |
| CMYK | cmyk(39.1%, 45.1%, 0%, 47.8%) |
| CIE-LAB | lab(34.41, 18.82, -32.61) |
| CIE-LCH | lch(34.41, 37.65, 299.99°) |
| OKLab | oklab(44.2% 0.0297 -0.0919) |
| OKLCH | oklch(44.2% 0.097 287.9) |
| XYZ | xyz(10.0084, 8.2076, 23.2427) |
| Luminance | 0.0821 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.41
Darkslateblue
#483D8B
ΔE00 4.74
Dusk
#4E5481
ΔE00 5.03
Blueberry
#464196
ΔE00 5.40
Ocean Blue
#4F42B5
ΔE00 9.19
Rebeccapurple
#663399
ΔE00 9.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514985 #7D8549
analogous
#495F85 #514985 #6F4985
triadic
#514985 #855149 #498551
tetradic
#514985 #85495F #7D8549 #49856F
square
#514985 #85495F #7D8549 #49856F
split-complementary
#514985 #856F49 #5F8549
monochromatic
#211E36 #39335D #514985 #6C62A9 #918ABF
Accessibility & contrast
On white
7.95
#514985 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#514985 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #514985
7.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514985 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514985 | 1.00 | 7.95 | 2.64 | 7.95 |
| #FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#345287
Deuteranopia (green-blind)
#344F84
Tritanopia (blue-blind)
#435560
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #514985; /* rgb */ color: rgb(81, 73, 133); /* oklch */ color: oklch(44.2% 0.097 287.9);
Tailwind
colors: {
custom: {
50: '#847ba9',
500: '#514985',
950: '#000000',
},
}SCSS
$custom: #514985; $custom-light: #847ba9; $custom-dark: #000000;
JSON
{
"hex": "#514985",
"rgb": {
"r": 81,
"g": 73,
"b": 133
},
"hsl": {
"h": 248,
"s": 29.126,
"l": 40.392
},
"oklch": {
"l": 0.44202,
"c": 0.09657,
"h": 287.9
},
"luminance": 0.08208
}Semantic roles & 50–950 ramp
primary
#514985
secondary
#A5AB7F
accent
#C562B8
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0910
muted
#7C7B7F