#514B97#514B97
#514B97 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.8% C 0.120 H 284.2°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).
Color values
| HEX | #514B97 |
|---|---|
| RGB | rgb(81, 75, 151) |
| HSL | hsl(245, 34%, 44%) |
| HSV | hsv(245, 50%, 59%) |
| CMYK | cmyk(46.4%, 50.3%, 0%, 40.8%) |
| CIE-LAB | lab(36.01, 23.06, -41.05) |
| CIE-LCH | lch(36.01, 47.08, 299.32°) |
| OKLab | oklab(45.76% 0.0294 -0.1166) |
| OKLCH | oklch(45.76% 0.12 284.2) |
| XYZ | xyz(11.4937, 9.0153, 30.4067) |
| Luminance | 0.0902 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.42
Twilight
#4E518B
ΔE00 3.72
Darkslateblue
#483D8B
ΔE00 4.43
Ocean Blue
#4F42B5
ΔE00 5.99
Dusk
#4E5481
ΔE00 6.36
Iris
#6258C4
ΔE00 8.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514B97 #91974B
analogous
#4B6B97 #514B97 #774B97
triadic
#514B97 #97514B #4B9751
tetradic
#514B97 #974B6B #91974B #4B9777
square
#514B97 #974B6B #91974B #4B9777
split-complementary
#514B97 #97774B #6B974B
monochromatic
#252245 #3B376E #514B97 #706AB5 #9793C9
Accessibility & contrast
On white
7.49
#514B97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#514B97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #514B97
7.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514B97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514B97 | 1.00 | 7.49 | 2.80 | 7.49 |
| #FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A579A
Deuteranopia (green-blind)
#275295
Tritanopia (blue-blind)
#3A5B6A
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #514b97; /* rgb */ color: rgb(81, 75, 151); /* oklch */ color: oklch(45.8% 0.120 284.2);
Tailwind
colors: {
custom: {
50: '#867db6',
500: '#514b97',
950: '#000000',
},
}SCSS
$custom: #514b97; $custom-light: #867db6; $custom-dark: #000000;
JSON
{
"hex": "#514b97",
"rgb": {
"r": 81,
"g": 75,
"b": 151
},
"hsl": {
"h": 244.737,
"s": 33.628,
"l": 44.314
},
"oklch": {
"l": 0.45759,
"c": 0.12025,
"h": 284.2
},
"luminance": 0.09016
}Semantic roles & 50–950 ramp
primary
#514B97
secondary
#B2B688
accent
#CA5EC1
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0911
muted
#7C7B80