#514BB9#514BB9
#514BB9 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.2% C 0.168 H 280.5°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #514BB9 |
|---|---|
| RGB | rgb(81, 75, 185) |
| HSL | hsl(243, 44%, 51%) |
| HSV | hsv(243, 59%, 73%) |
| CMYK | cmyk(56.2%, 59.5%, 0%, 27.5%) |
| CIE-LAB | lab(38.35, 33.92, -57.56) |
| CIE-LCH | lch(38.35, 66.81, 300.51°) |
| OKLab | oklab(48.24% 0.0306 -0.1651) |
| OKLCH | oklch(48.24% 0.168 280.5) |
| XYZ | xyz(14.6636, 10.2833, 47.1017) |
| Luminance | 0.1028 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.64
Blue With A Hint Of Purple
#533CC6
ΔE00 4.54
Bluey Purple
#6241C7
ΔE00 4.61
Iris
#6258C4
ΔE00 4.73
Blurple
#5539CC
ΔE00 5.47
Blue Blue
#2242C7
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514BB9 #B3B94B
analogous
#4B7CB9 #514BB9 #884BB9
triadic
#514BB9 #B9514B #4BB951
tetradic
#514BB9 #B94B7C #B3B94B #4BB988
square
#514BB9 #B94B7C #B3B94B #4BB988
split-complementary
#514BB9 #B9884B #7CB94B
monochromatic
#2A2763 #3C388F #514BB9 #7C77CA #A6A3DB
Accessibility & contrast
On white
6.87
#514BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#514BB9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #514BB9
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514BB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514BB9 | 1.00 | 6.87 | 3.06 | 6.87 |
| #FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EBD
Deuteranopia (green-blind)
#0056B7
Tritanopia (blue-blind)
#1B657B
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #514bb9; /* rgb */ color: rgb(81, 75, 185); /* oklch */ color: oklch(48.2% 0.168 280.5);
Tailwind
colors: {
custom: {
50: '#8b7dcf',
500: '#514bb9',
950: '#000000',
},
}SCSS
$custom: #514bb9; $custom-light: #8b7dcf; $custom-dark: #000000;
JSON
{
"hex": "#514bb9",
"rgb": {
"r": 81,
"g": 75,
"b": 185
},
"hsl": {
"h": 243.273,
"s": 44,
"l": 50.98
},
"oklch": {
"l": 0.48238,
"c": 0.16796,
"h": 280.5
},
"luminance": 0.10284
}Semantic roles & 50–950 ramp
primary
#514BB9
secondary
#C6C898
accent
#D454CD
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0A14
muted
#7E7C82