#514AC9#514AC9
#514AC9 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.4% C 0.190 H 279.3°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #514AC9 |
|---|---|
| RGB | rgb(81, 74, 201) |
| HSL | hsl(243, 54%, 54%) |
| HSV | hsv(243, 63%, 79%) |
| CMYK | cmyk(59.7%, 63.2%, 0%, 21.2%) |
| CIE-LAB | lab(39.35, 39.68, -65.27) |
| CIE-LCH | lch(39.35, 76.39, 301.30°) |
| OKLab | oklab(49.36% 0.0307 -0.1878) |
| OKLCH | oklch(49.36% 0.19 279.3) |
| XYZ | xyz(16.3814, 10.8627, 56.4805) |
| Luminance | 0.1086 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 3.60
Bluey Purple
#6241C7
ΔE00 3.78
Blue With A Hint Of Purple
#533CC6
ΔE00 3.79
Blurple
#5539CC
ΔE00 4.43
Iris
#6258C4
ΔE00 4.69
Warm Blue
#4B57DB
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514AC9 #C2C94A
analogous
#4A83C9 #514AC9 #914AC9
triadic
#514AC9 #C9514A #4AC951
tetradic
#514AC9 #C94A83 #C2C94A #4AC991
square
#514AC9 #C94A83 #C2C94A #4AC991
split-complementary
#514AC9 #C9914A #83C94A
monochromatic
#282376 #3731A5 #514AC9 #7E79D7 #ACA8E5
Accessibility & contrast
On white
6.62
#514AC9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#514AC9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #514AC9
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514AC9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514AC9 | 1.00 | 6.62 | 3.17 | 6.62 |
| #FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062CD
Deuteranopia (green-blind)
#0058C6
Tritanopia (blue-blind)
#006A83
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #514ac9; /* rgb */ color: rgb(81, 74, 201); /* oklch */ color: oklch(49.4% 0.190 279.3);
Tailwind
colors: {
custom: {
50: '#8e7dda',
500: '#514ac9',
950: '#000000',
},
}SCSS
$custom: #514ac9; $custom-light: #8e7dda; $custom-dark: #000000;
JSON
{
"hex": "#514ac9",
"rgb": {
"r": 81,
"g": 74,
"b": 201
},
"hsl": {
"h": 243.307,
"s": 54.043,
"l": 53.922
},
"oklch": {
"l": 0.4936,
"c": 0.19031,
"h": 279.3
},
"luminance": 0.10864
}Semantic roles & 50–950 ramp
primary
#514AC9
secondary
#D0D29C
accent
#DD4AD5
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83