#514CBD#514CBD
#514CBD is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.7% C 0.172 H 279.9°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #514CBD |
|---|---|
| RGB | rgb(81, 76, 189) |
| HSL | hsl(243, 46%, 52%) |
| HSV | hsv(243, 60%, 74%) |
| CMYK | cmyk(57.1%, 59.8%, 0%, 25.9%) |
| CIE-LAB | lab(38.88, 34.59, -59.03) |
| CIE-LCH | lch(38.88, 68.42, 300.37°) |
| OKLab | oklab(48.73% 0.0295 -0.1695) |
| OKLCH | oklch(48.73% 0.172 279.9) |
| XYZ | xyz(15.1602, 10.5913, 49.3797) |
| Luminance | 0.1059 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 3.07
Iris
#6258C4
ΔE00 4.36
Bluey Purple
#6241C7
ΔE00 4.58
Blue With A Hint Of Purple
#533CC6
ΔE00 4.59
Warm Blue
#4B57DB
ΔE00 5.39
Blue Blue
#2242C7
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514CBD #B8BD4C
analogous
#4C80BD #514CBD #8A4CBD
triadic
#514CBD #BD514C #4CBD51
tetradic
#514CBD #BD4C80 #B8BD4C #4CBD8A
square
#514CBD #BD4C80 #B8BD4C #4CBD8A
split-complementary
#514CBD #BD8A4C #80BD4C
monochromatic
#292668 #3B3795 #514CBD #7C79CD #A8A5DE
Accessibility & contrast
On white
6.73
#514CBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#514CBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #514CBD
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514CBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514CBD | 1.00 | 6.73 | 3.12 | 6.73 |
| #FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#0057BB
Tritanopia (blue-blind)
#14677D
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #514cbd; /* rgb */ color: rgb(81, 76, 189); /* oklch */ color: oklch(48.7% 0.172 279.9);
Tailwind
colors: {
custom: {
50: '#8c7ed2',
500: '#514cbd',
950: '#000000',
},
}SCSS
$custom: #514cbd; $custom-light: #8c7ed2; $custom-dark: #000000;
JSON
{
"hex": "#514cbd",
"rgb": {
"r": 81,
"g": 76,
"b": 189
},
"hsl": {
"h": 242.655,
"s": 46.122,
"l": 51.961
},
"oklch": {
"l": 0.48728,
"c": 0.17202,
"h": 279.9
},
"luminance": 0.10592
}Semantic roles & 50–950 ramp
primary
#514CBD
secondary
#C9CB9A
accent
#D652D0
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83