#514AB7#514AB7
#514AB7 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.9% C 0.167 H 280.9°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).
Color values
| HEX | #514AB7 |
|---|---|
| RGB | rgb(81, 74, 183) |
| HSL | hsl(244, 43%, 50%) |
| HSV | hsv(244, 60%, 72%) |
| CMYK | cmyk(55.7%, 59.6%, 0%, 28.2%) |
| CIE-LAB | lab(37.96, 33.89, -57.01) |
| CIE-LCH | lch(37.96, 66.32, 300.73°) |
| OKLab | oklab(47.91% 0.0316 -0.1635) |
| OKLCH | oklch(47.91% 0.167 280.9) |
| XYZ | xyz(14.3867, 10.0649, 45.9752) |
| Luminance | 0.1007 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.31
Blue With A Hint Of Purple
#533CC6
ΔE00 4.41
Bluey Purple
#6241C7
ΔE00 4.57
Iris
#6258C4
ΔE00 5.04
Blurple
#5539CC
ΔE00 5.38
Blue Blue
#2242C7
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514AB7 #B0B74A
analogous
#4A79B7 #514AB7 #874AB7
triadic
#514AB7 #B7514A #4AB751
tetradic
#514AB7 #B74A79 #B0B74A #4AB787
square
#514AB7 #B74A79 #B0B74A #4AB787
split-complementary
#514AB7 #B7874A #79B74A
monochromatic
#2A2660 #3D388C #514AB7 #7B76C8 #A5A2DA
Accessibility & contrast
On white
6.97
#514AB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#514AB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #514AB7
6.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514AB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514AB7 | 1.00 | 6.97 | 3.01 | 6.97 |
| #FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DBB
Deuteranopia (green-blind)
#0055B5
Tritanopia (blue-blind)
#1F6479
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #514ab7; /* rgb */ color: rgb(81, 74, 183); /* oklch */ color: oklch(47.9% 0.167 280.9);
Tailwind
colors: {
custom: {
50: '#8b7dcd',
500: '#514ab7',
950: '#000000',
},
}SCSS
$custom: #514ab7; $custom-light: #8b7dcd; $custom-dark: #000000;
JSON
{
"hex": "#514ab7",
"rgb": {
"r": 81,
"g": 74,
"b": 183
},
"hsl": {
"h": 243.853,
"s": 43.083,
"l": 50.392
},
"oklch": {
"l": 0.47906,
"c": 0.16658,
"h": 280.9
},
"luminance": 0.10066
}Semantic roles & 50–950 ramp
primary
#514AB7
secondary
#C4C796
accent
#D355CB
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0914
muted
#7E7B82