#514CC7#514CC7
#514CC7 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.5% C 0.185 H 279.0°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).
Color values
| HEX | #514CC7 |
|---|---|
| RGB | rgb(81, 76, 199) |
| HSL | hsl(242, 52%, 54%) |
| HSV | hsv(242, 62%, 78%) |
| CMYK | cmyk(59.3%, 61.8%, 0%, 22%) |
| CIE-LAB | lab(39.65, 37.83, -63.62) |
| CIE-LCH | lch(39.65, 74.02, 300.74°) |
| OKLab | oklab(49.53% 0.029 -0.183) |
| OKLCH | oklch(49.53% 0.185 279) |
| XYZ | xyz(16.2833, 11.0406, 55.2947) |
| Luminance | 0.1104 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 3.80
Iris
#6258C4
ΔE00 4.24
Bluey Purple
#6241C7
ΔE00 4.24
Blue With A Hint Of Purple
#533CC6
ΔE00 4.36
Warm Blue
#4B57DB
ΔE00 4.43
Blurple
#5539CC
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514CC7 #C2C74C
analogous
#4C85C7 #514CC7 #8F4CC7
triadic
#514CC7 #C7514C #4CC751
tetradic
#514CC7 #C74C85 #C2C74C #4CC78F
square
#514CC7 #C74C85 #C2C74C #4CC78F
split-complementary
#514CC7 #C78F4C #85C74C
monochromatic
#282474 #3733A3 #514CC7 #7E7BD6 #ACA9E4
Accessibility & contrast
On white
6.55
#514CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#514CC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #514CC7
6.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514CC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514CC7 | 1.00 | 6.55 | 3.21 | 6.55 |
| #FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062CB
Deuteranopia (green-blind)
#0058C5
Tritanopia (blue-blind)
#006A82
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #514cc7; /* rgb */ color: rgb(81, 76, 199); /* oklch */ color: oklch(49.5% 0.185 279.0);
Tailwind
colors: {
custom: {
50: '#8d7ed9',
500: '#514cc7',
950: '#000000',
},
}SCSS
$custom: #514cc7; $custom-light: #8d7ed9; $custom-dark: #000000;
JSON
{
"hex": "#514cc7",
"rgb": {
"r": 81,
"g": 76,
"b": 199
},
"hsl": {
"h": 242.439,
"s": 52.34,
"l": 53.922
},
"oklch": {
"l": 0.49531,
"c": 0.18525,
"h": 279
},
"luminance": 0.11042
}Semantic roles & 50–950 ramp
primary
#514CC7
secondary
#D0D29D
accent
#DC4CD6
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83