#514BC3#514BC3
#514BC3 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 49.0% C 0.181 H 279.6°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #514BC3 |
|---|---|
| RGB | rgb(81, 75, 195) |
| HSL | hsl(243, 50%, 53%) |
| HSV | hsv(243, 62%, 76%) |
| CMYK | cmyk(58.5%, 61.5%, 0%, 23.5%) |
| CIE-LAB | lab(39.11, 37.15, -62.18) |
| CIE-LCH | lch(39.11, 72.43, 300.86°) |
| OKLab | oklab(49.04% 0.0302 -0.1787) |
| OKLCH | oklch(49.04% 0.181 279.6) |
| XYZ | xyz(15.7566, 10.7205, 52.8581) |
| Luminance | 0.1072 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 3.22
Bluey Purple
#6241C7
ΔE00 4.09
Blue With A Hint Of Purple
#533CC6
ΔE00 4.10
Iris
#6258C4
ΔE00 4.46
Blurple
#5539CC
ΔE00 4.87
Warm Blue
#4B57DB
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514BC3 #BDC34B
analogous
#4B81C3 #514BC3 #8D4BC3
triadic
#514BC3 #C3514B #4BC351
tetradic
#514BC3 #C34B81 #BDC34B #4BC38D
square
#514BC3 #C34B81 #BDC34B #4BC38D
split-complementary
#514BC3 #C38D4B #81C34B
monochromatic
#29256F #39349D #514BC3 #7D79D2 #AAA7E2
Accessibility & contrast
On white
6.68
#514BC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#514BC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #514BC3
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514BC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514BC3 | 1.00 | 6.68 | 3.14 | 6.68 |
| #FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C7
Deuteranopia (green-blind)
#0057C1
Tritanopia (blue-blind)
#016880
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #514bc3; /* rgb */ color: rgb(81, 75, 195); /* oklch */ color: oklch(49.0% 0.181 279.6);
Tailwind
colors: {
custom: {
50: '#8d7ed6',
500: '#514bc3',
950: '#000000',
},
}SCSS
$custom: #514bc3; $custom-light: #8d7ed6; $custom-dark: #000000;
JSON
{
"hex": "#514bc3",
"rgb": {
"r": 81,
"g": 75,
"b": 195
},
"hsl": {
"h": 243,
"s": 50,
"l": 52.941
},
"oklch": {
"l": 0.49035,
"c": 0.18126,
"h": 279.6
},
"luminance": 0.10722
}Semantic roles & 50–950 ramp
primary
#514BC3
secondary
#CCCF9B
accent
#DA4ED3
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83