#514CC2#514CC2
#514CC2 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 49.1% C 0.179 H 279.4°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #514CC2 |
|---|---|
| RGB | rgb(81, 76, 194) |
| HSL | hsl(243, 49%, 53%) |
| HSV | hsv(243, 61%, 76%) |
| CMYK | cmyk(58.2%, 60.8%, 0%, 23.9%) |
| CIE-LAB | lab(39.26, 36.21, -61.34) |
| CIE-LCH | lch(39.26, 71.23, 300.56°) |
| OKLab | oklab(49.13% 0.0293 -0.1763) |
| OKLCH | oklch(49.13% 0.179 279.4) |
| XYZ | xyz(15.7123, 10.8122, 52.2875) |
| Luminance | 0.1081 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 3.38
Iris
#6258C4
ΔE00 4.25
Bluey Purple
#6241C7
ΔE00 4.35
Blue With A Hint Of Purple
#533CC6
ΔE00 4.41
Warm Blue
#4B57DB
ΔE00 4.88
Blurple
#5539CC
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514CC2 #BDC24C
analogous
#4C82C2 #514CC2 #8C4CC2
triadic
#514CC2 #C2514C #4CC251
tetradic
#514CC2 #C24C82 #BDC24C #4CC28C
square
#514CC2 #C24C82 #BDC24C #4CC28C
split-complementary
#514CC2 #C28C4C #82C24C
monochromatic
#29266E #39359C #514CC2 #7D7AD2 #AAA7E1
Accessibility & contrast
On white
6.64
#514CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#514CC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #514CC2
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514CC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514CC2 | 1.00 | 6.64 | 3.16 | 6.64 |
| #FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#0058C0
Tritanopia (blue-blind)
#046980
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #514cc2; /* rgb */ color: rgb(81, 76, 194); /* oklch */ color: oklch(49.1% 0.179 279.4);
Tailwind
colors: {
custom: {
50: '#8d7ed5',
500: '#514cc2',
950: '#000000',
},
}SCSS
$custom: #514cc2; $custom-light: #8d7ed5; $custom-dark: #000000;
JSON
{
"hex": "#514cc2",
"rgb": {
"r": 81,
"g": 76,
"b": 194
},
"hsl": {
"h": 242.542,
"s": 49.167,
"l": 52.941
},
"oklch": {
"l": 0.49126,
"c": 0.17868,
"h": 279.4
},
"luminance": 0.10813
}Semantic roles & 50–950 ramp
primary
#514CC2
secondary
#CCCE9B
accent
#D94FD3
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83