#514AB2#514AB2
#514AB2 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.5% C 0.160 H 281.5°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).
Color values
| HEX | #514AB2 |
|---|---|
| RGB | rgb(81, 74, 178) |
| HSL | hsl(244, 41%, 49%) |
| HSV | hsv(244, 58%, 70%) |
| CMYK | cmyk(54.5%, 58.4%, 0%, 30.2%) |
| CIE-LAB | lab(37.59, 32.28, -54.66) |
| CIE-LCH | lch(37.59, 63.48, 300.56°) |
| OKLab | oklab(47.52% 0.0317 -0.1566) |
| OKLCH | oklch(47.52% 0.16 281.5) |
| XYZ | xyz(13.8755, 9.8604, 43.2829) |
| Luminance | 0.0986 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.40
Blue With A Hint Of Purple
#533CC6
ΔE00 4.86
Blueberry
#464196
ΔE00 5.00
Bluey Purple
#6241C7
ΔE00 5.02
Iris
#6258C4
ΔE00 5.33
Blurple
#5539CC
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514AB2 #ABB24A
analogous
#4A77B2 #514AB2 #854AB2
triadic
#514AB2 #B2514A #4AB251
tetradic
#514AB2 #B24A77 #ABB24A #4AB285
square
#514AB2 #B24A77 #ABB24A #4AB285
split-complementary
#514AB2 #B2854A #77B24A
monochromatic
#2A265C #3D3887 #514AB2 #7974C5 #A39FD7
Accessibility & contrast
On white
7.07
#514AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#514AB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #514AB2
7.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514AB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514AB2 | 1.00 | 7.07 | 2.97 | 7.07 |
| #FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB5
Deuteranopia (green-blind)
#0055B0
Tritanopia (blue-blind)
#256277
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #514ab2; /* rgb */ color: rgb(81, 74, 178); /* oklch */ color: oklch(47.5% 0.160 281.5);
Tailwind
colors: {
custom: {
50: '#8a7dca',
500: '#514ab2',
950: '#000000',
},
}SCSS
$custom: #514ab2; $custom-light: #8a7dca; $custom-dark: #000000;
JSON
{
"hex": "#514ab2",
"rgb": {
"r": 81,
"g": 74,
"b": 178
},
"hsl": {
"h": 244.038,
"s": 41.27,
"l": 49.412
},
"oklch": {
"l": 0.47518,
"c": 0.1598,
"h": 281.5
},
"luminance": 0.09861
}Semantic roles & 50–950 ramp
primary
#514AB2
secondary
#C1C494
accent
#D157C9
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0D0913
muted
#7D7B82