#514B99#514B99
#514B99 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.9% C 0.123 H 283.9°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).
Color values
| HEX | #514B99 |
|---|---|
| RGB | rgb(81, 75, 153) |
| HSL | hsl(245, 34%, 45%) |
| HSV | hsv(245, 51%, 60%) |
| CMYK | cmyk(47.1%, 51%, 0%, 40%) |
| CIE-LAB | lab(36.14, 23.68, -42.06) |
| CIE-LCH | lch(36.14, 48.27, 299.39°) |
| OKLab | oklab(45.89% 0.0296 -0.1196) |
| OKLCH | oklch(45.89% 0.123 283.9) |
| XYZ | xyz(11.6575, 9.0809, 31.2694) |
| Luminance | 0.0908 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.34
Twilight
#4E518B
ΔE00 3.99
Darkslateblue
#483D8B
ΔE00 4.52
Ocean Blue
#4F42B5
ΔE00 5.65
Dusk
#4E5481
ΔE00 6.63
Iris
#6258C4
ΔE00 7.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514B99 #93994B
analogous
#4B6C99 #514B99 #784B99
triadic
#514B99 #99514B #4B9951
tetradic
#514B99 #994B6C #93994B #4B9978
square
#514B99 #994B6C #93994B #4B9978
split-complementary
#514B99 #99784B #6C994B
monochromatic
#262347 #3B3770 #514B99 #716BB6 #9894CB
Accessibility & contrast
On white
7.46
#514B99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#514B99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #514B99
7.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514B99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514B99 | 1.00 | 7.46 | 2.82 | 7.46 |
| #FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28579C
Deuteranopia (green-blind)
#255397
Tritanopia (blue-blind)
#395C6B
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #514b99; /* rgb */ color: rgb(81, 75, 153); /* oklch */ color: oklch(45.9% 0.123 283.9);
Tailwind
colors: {
custom: {
50: '#867db7',
500: '#514b99',
950: '#000000',
},
}SCSS
$custom: #514b99; $custom-light: #867db7; $custom-dark: #000000;
JSON
{
"hex": "#514b99",
"rgb": {
"r": 81,
"g": 75,
"b": 153
},
"hsl": {
"h": 244.615,
"s": 34.211,
"l": 44.706
},
"oklch": {
"l": 0.45894,
"c": 0.12317,
"h": 283.9
},
"luminance": 0.09081
}Semantic roles & 50–950 ramp
primary
#514B99
secondary
#B3B789
accent
#CA5EC2
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0911
muted
#7D7B80