#514BB4#514BB4
#514BB4 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.9% C 0.161 H 281.0°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #514BB4 |
|---|---|
| RGB | rgb(81, 75, 180) |
| HSL | hsl(243, 41%, 50%) |
| HSV | hsv(243, 58%, 71%) |
| CMYK | cmyk(55%, 58.3%, 0%, 29.4%) |
| CIE-LAB | lab(37.98, 32.30, -55.21) |
| CIE-LCH | lch(37.98, 63.97, 300.33°) |
| OKLab | oklab(47.85% 0.0307 -0.1582) |
| OKLCH | oklch(47.85% 0.161 281) |
| XYZ | xyz(14.1451, 10.0759, 44.3706) |
| Luminance | 0.1008 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.64
Blue With A Hint Of Purple
#533CC6
ΔE00 4.93
Iris
#6258C4
ΔE00 5.00
Bluey Purple
#6241C7
ΔE00 5.03
Blueberry
#464196
ΔE00 5.37
Blue Blue
#2242C7
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514BB4 #AEB44B
analogous
#4B79B4 #514BB4 #864BB4
triadic
#514BB4 #B4514B #4BB451
tetradic
#514BB4 #B44B79 #AEB44B #4BB486
square
#514BB4 #B44B79 #AEB44B #4BB486
split-complementary
#514BB4 #B4864B #79B44B
monochromatic
#2A275E #3E3989 #514BB4 #7B76C6 #A5A1D8
Accessibility & contrast
On white
6.96
#514BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#514BB4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #514BB4
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514BB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514BB4 | 1.00 | 6.96 | 3.02 | 6.96 |
| #FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB8
Deuteranopia (green-blind)
#0056B2
Tritanopia (blue-blind)
#226478
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #514bb4; /* rgb */ color: rgb(81, 75, 180); /* oklch */ color: oklch(47.9% 0.161 281.0);
Tailwind
colors: {
custom: {
50: '#8a7dcb',
500: '#514bb4',
950: '#000000',
},
}SCSS
$custom: #514bb4; $custom-light: #8a7dcb; $custom-dark: #000000;
JSON
{
"hex": "#514bb4",
"rgb": {
"r": 81,
"g": 75,
"b": 180
},
"hsl": {
"h": 243.429,
"s": 41.176,
"l": 50
},
"oklch": {
"l": 0.4785,
"c": 0.16119,
"h": 281
},
"luminance": 0.10077
}Semantic roles & 50–950 ramp
primary
#514BB4
secondary
#C2C596
accent
#D157CA
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0D0913
muted
#7D7B82