#514AB3#514AB3
#514AB3 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.6% C 0.161 H 281.4°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).
Color values
| HEX | #514AB3 |
|---|---|
| RGB | rgb(81, 74, 179) |
| HSL | hsl(244, 42%, 50%) |
| HSV | hsv(244, 59%, 70%) |
| CMYK | cmyk(54.7%, 58.7%, 0%, 29.8%) |
| CIE-LAB | lab(37.66, 32.60, -55.13) |
| CIE-LCH | lch(37.66, 64.05, 300.60°) |
| OKLab | oklab(47.6% 0.0317 -0.158) |
| OKLCH | oklch(47.6% 0.161 281.4) |
| XYZ | xyz(13.9763, 9.9007, 43.8136) |
| Luminance | 0.0990 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.36
Blue With A Hint Of Purple
#533CC6
ΔE00 4.76
Bluey Purple
#6241C7
ΔE00 4.92
Blueberry
#464196
ΔE00 5.13
Iris
#6258C4
ΔE00 5.27
Blurple
#5539CC
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514AB3 #ACB34A
analogous
#4A78B3 #514AB3 #864AB3
triadic
#514AB3 #B3514A #4AB351
tetradic
#514AB3 #B34A78 #ACB34A #4AB386
square
#514AB3 #B34A78 #ACB34A #4AB386
split-complementary
#514AB3 #B3864A #78B34A
monochromatic
#2A265C #3D3888 #514AB3 #7A74C6 #A3A0D8
Accessibility & contrast
On white
7.05
#514AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#514AB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #514AB3
7.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514AB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514AB3 | 1.00 | 7.05 | 2.98 | 7.05 |
| #FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#0055B1
Tritanopia (blue-blind)
#246377
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #514ab3; /* rgb */ color: rgb(81, 74, 179); /* oklch */ color: oklch(47.6% 0.161 281.4);
Tailwind
colors: {
custom: {
50: '#8a7dca',
500: '#514ab3',
950: '#000000',
},
}SCSS
$custom: #514ab3; $custom-light: #8a7dca; $custom-dark: #000000;
JSON
{
"hex": "#514ab3",
"rgb": {
"r": 81,
"g": 74,
"b": 179
},
"hsl": {
"h": 244,
"s": 41.502,
"l": 49.608
},
"oklch": {
"l": 0.47595,
"c": 0.16117,
"h": 281.4
},
"luminance": 0.09902
}Semantic roles & 50–950 ramp
primary
#514AB3
secondary
#C1C494
accent
#D156C9
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0D0913
muted
#7D7B82