#514DC8#514DC8
#514DC8 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.8% C 0.185 H 278.7°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #514DC8 |
|---|---|
| RGB | rgb(81, 77, 200) |
| HSL | hsl(242, 53%, 54%) |
| HSV | hsv(242, 62%, 78%) |
| CMYK | cmyk(59.5%, 61.5%, 0%, 21.6%) |
| CIE-LAB | lab(39.96, 37.55, -63.69) |
| CIE-LCH | lch(39.96, 73.94, 300.52°) |
| OKLab | oklab(49.78% 0.0281 -0.1832) |
| OKLCH | oklch(49.78% 0.185 278.7) |
| XYZ | xyz(16.4692, 11.2260, 55.9314) |
| Luminance | 0.1123 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.04
Ocean Blue
#4F42B5
ΔE00 4.11
Warm Blue
#4B57DB
ΔE00 4.11
Bluey Purple
#6241C7
ΔE00 4.47
Blue With A Hint Of Purple
#533CC6
ΔE00 4.65
Blurple
#5539CC
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514DC8 #C4C84D
analogous
#4D87C8 #514DC8 #8F4DC8
triadic
#514DC8 #C8514D #4DC851
tetradic
#514DC8 #C84D87 #C4C84D #4DC88F
square
#514DC8 #C84D87 #C4C84D #4DC88F
split-complementary
#514DC8 #C88F4D #87C84D
monochromatic
#272476 #3733A5 #514DC8 #7F7CD6 #ACABE5
Accessibility & contrast
On white
6.47
#514DC8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#514DC8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #514DC8
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514DC8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514DC8 | 1.00 | 6.47 | 3.25 | 6.47 |
| #FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063CC
Deuteranopia (green-blind)
#0059C6
Tritanopia (blue-blind)
#006B83
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #514dc8; /* rgb */ color: rgb(81, 77, 200); /* oklch */ color: oklch(49.8% 0.185 278.7);
Tailwind
colors: {
custom: {
50: '#8d7fda',
500: '#514dc8',
950: '#000000',
},
}SCSS
$custom: #514dc8; $custom-light: #8d7fda; $custom-dark: #000000;
JSON
{
"hex": "#514dc8",
"rgb": {
"r": 81,
"g": 77,
"b": 200
},
"hsl": {
"h": 241.951,
"s": 52.79,
"l": 54.314
},
"oklch": {
"l": 0.49782,
"c": 0.18532,
"h": 278.7
},
"luminance": 0.11227
}Semantic roles & 50–950 ramp
primary
#514DC8
secondary
#D1D29E
accent
#DC4CD8
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83