#514BC6#514BC6
#514BC6 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.3% C 0.185 H 279.3°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #514BC6 |
|---|---|
| RGB | rgb(81, 75, 198) |
| HSL | hsl(243, 52%, 54%) |
| HSV | hsv(243, 62%, 78%) |
| CMYK | cmyk(59.1%, 62.1%, 0%, 22.4%) |
| CIE-LAB | lab(39.34, 38.11, -63.54) |
| CIE-LCH | lch(39.34, 74.10, 300.96°) |
| OKLab | oklab(49.28% 0.03 -0.1827) |
| OKLCH | oklch(49.28% 0.185 279.3) |
| XYZ | xyz(16.0992, 10.8576, 54.6625) |
| Luminance | 0.1086 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 3.49
Bluey Purple
#6241C7
ΔE00 4.02
Blue With A Hint Of Purple
#533CC6
ΔE00 4.06
Iris
#6258C4
ΔE00 4.45
Warm Blue
#4B57DB
ΔE00 4.74
Blurple
#5539CC
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514BC6 #C0C64B
analogous
#4B82C6 #514BC6 #8E4BC6
triadic
#514BC6 #C6514B #4BC651
tetradic
#514BC6 #C64B82 #C0C64B #4BC68E
square
#514BC6 #C64B82 #C0C64B #4BC68E
split-complementary
#514BC6 #C68E4B #82C64B
monochromatic
#282472 #3833A1 #514BC6 #7E79D5 #ABA8E3
Accessibility & contrast
On white
6.62
#514BC6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#514BC6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #514BC6
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514BC6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514BC6 | 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)
#0061CA
Deuteranopia (green-blind)
#0058C4
Tritanopia (blue-blind)
#006981
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #514bc6; /* rgb */ color: rgb(81, 75, 198); /* oklch */ color: oklch(49.3% 0.185 279.3);
Tailwind
colors: {
custom: {
50: '#8d7ed8',
500: '#514bc6',
950: '#000000',
},
}SCSS
$custom: #514bc6; $custom-light: #8d7ed8; $custom-dark: #000000;
JSON
{
"hex": "#514bc6",
"rgb": {
"r": 81,
"g": 75,
"b": 198
},
"hsl": {
"h": 242.927,
"s": 51.899,
"l": 53.529
},
"oklch": {
"l": 0.4928,
"c": 0.18518,
"h": 279.3
},
"luminance": 0.10859
}Semantic roles & 50–950 ramp
primary
#514BC6
secondary
#CED19C
accent
#DB4CD4
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0D0A15
muted
#7E7C83