#514596#514596
#514596 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.5% C 0.128 H 286.8°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).
Color values
| HEX | #514596 |
|---|---|
| RGB | rgb(81, 69, 150) |
| HSL | hsl(249, 37%, 43%) |
| HSV | hsv(249, 54%, 59%) |
| CMYK | cmyk(46%, 54%, 0%, 41.2%) |
| CIE-LAB | lab(34.41, 26.56, -43.01) |
| CIE-LCH | lch(34.41, 50.55, 301.69°) |
| OKLab | oklab(44.54% 0.0369 -0.1224) |
| OKLCH | oklch(44.54% 0.128 286.8) |
| XYZ | xyz(11.0249, 8.2071, 29.8515) |
| Luminance | 0.0821 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.30
Darkslateblue
#483D8B
ΔE00 2.88
Ocean Blue
#4F42B5
ΔE00 5.30
Twilight
#4E518B
ΔE00 5.40
Rebeccapurple
#663399
ΔE00 7.23
Dusk
#4E5481
ΔE00 7.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514596 #8A9645
analogous
#456196 #514596 #794596
triadic
#514596 #965145 #459651
tetradic
#514596 #964561 #8A9645 #459679
square
#514596 #964561 #8A9645 #459679
split-complementary
#514596 #967945 #619645
monochromatic
#241E42 #3A326C #514596 #6E62B7 #958CCA
Accessibility & contrast
On white
7.95
#514596 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#514596 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #514596
7.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514596 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514596 | 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)
#1E5399
Deuteranopia (green-blind)
#1C4F94
Tritanopia (blue-blind)
#3B5666
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #514596; /* rgb */ color: rgb(81, 69, 150); /* oklch */ color: oklch(44.5% 0.128 286.8);
Tailwind
colors: {
custom: {
50: '#8679b5',
500: '#514596',
950: '#000000',
},
}SCSS
$custom: #514596; $custom-light: #8679b5; $custom-dark: #000000;
JSON
{
"hex": "#514596",
"rgb": {
"r": 81,
"g": 69,
"b": 150
},
"hsl": {
"h": 248.889,
"s": 36.986,
"l": 42.941
},
"oklch": {
"l": 0.44538,
"c": 0.12785,
"h": 286.8
},
"luminance": 0.08208
}Semantic roles & 50–950 ramp
primary
#514596
secondary
#AEB582
accent
#CD5BBC
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0911
muted
#7D7B80