#514595#514595
#514595 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.5% C 0.126 H 287.0°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #514595 |
|---|---|
| RGB | rgb(81, 69, 149) |
| HSL | hsl(249, 37%, 43%) |
| HSV | hsv(249, 54%, 58%) |
| CMYK | cmyk(45.6%, 53.7%, 0%, 41.6%) |
| CIE-LAB | lab(34.34, 26.25, -42.51) |
| CIE-LCH | lch(34.34, 49.96, 301.69°) |
| OKLab | oklab(44.47% 0.0369 -0.1209) |
| OKLCH | oklch(44.47% 0.126 287) |
| XYZ | xyz(10.9447, 8.1751, 29.4292) |
| Luminance | 0.0818 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.37
Darkslateblue
#483D8B
ΔE00 2.81
Twilight
#4E518B
ΔE00 5.31
Ocean Blue
#4F42B5
ΔE00 5.49
Rebeccapurple
#663399
ΔE00 7.25
Dusk
#4E5481
ΔE00 7.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514595 #899545
analogous
#456195 #514595 #794595
triadic
#514595 #955145 #459551
tetradic
#514595 #954561 #899545 #459579
square
#514595 #954561 #899545 #459579
split-complementary
#514595 #957945 #619545
monochromatic
#241E41 #3A326B #514595 #6E61B6 #948BC9
Accessibility & contrast
On white
7.97
#514595 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#514595 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #514595
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514595 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514595 | 1.00 | 7.97 | 2.64 | 7.97 |
| #FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F5398
Deuteranopia (green-blind)
#1E4F93
Tritanopia (blue-blind)
#3C5666
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #514595; /* rgb */ color: rgb(81, 69, 149); /* oklch */ color: oklch(44.5% 0.126 287.0);
Tailwind
colors: {
custom: {
50: '#8679b5',
500: '#514595',
950: '#000000',
},
}SCSS
$custom: #514595; $custom-light: #8679b5; $custom-dark: #000000;
JSON
{
"hex": "#514595",
"rgb": {
"r": 81,
"g": 69,
"b": 149
},
"hsl": {
"h": 249,
"s": 36.697,
"l": 42.745
},
"oklch": {
"l": 0.44468,
"c": 0.12642,
"h": 287
},
"luminance": 0.08176
}Semantic roles & 50–950 ramp
primary
#514595
secondary
#ADB581
accent
#CD5BBC
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0911
muted
#7D7B80