#514AC8#514AC8
#514AC8 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 49.3% C 0.189 H 279.4°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #514AC8 |
|---|---|
| RGB | rgb(81, 74, 200) |
| HSL | hsl(243, 53%, 54%) |
| HSV | hsv(243, 63%, 78%) |
| CMYK | cmyk(59.5%, 63%, 0%, 21.6%) |
| CIE-LAB | lab(39.27, 39.36, -64.82) |
| CIE-LCH | lch(39.27, 75.83, 301.27°) |
| OKLab | oklab(49.28% 0.0308 -0.1865) |
| OKLCH | oklch(49.28% 0.189 279.4) |
| XYZ | xyz(16.2641, 10.8158, 55.8630) |
| Luminance | 0.1082 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 3.49
Blue With A Hint Of Purple
#533CC6
ΔE00 3.78
Bluey Purple
#6241C7
ΔE00 3.78
Blurple
#5539CC
ΔE00 4.45
Iris
#6258C4
ΔE00 4.68
Warm Blue
#4B57DB
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514AC8 #C1C84A
analogous
#4A82C8 #514AC8 #904AC8
triadic
#514AC8 #C8514A #4AC851
tetradic
#514AC8 #C84A82 #C1C84A #4AC890
square
#514AC8 #C84A82 #C1C84A #4AC890
split-complementary
#514AC8 #C8904A #82C84A
monochromatic
#282374 #3832A3 #514AC8 #7E79D6 #ABA8E5
Accessibility & contrast
On white
6.64
#514AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#514AC8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #514AC8
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514AC8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514AC8 | 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)
#0061CC
Deuteranopia (green-blind)
#0058C6
Tritanopia (blue-blind)
#006982
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #514ac8; /* rgb */ color: rgb(81, 74, 200); /* oklch */ color: oklch(49.3% 0.189 279.4);
Tailwind
colors: {
custom: {
50: '#8e7dda',
500: '#514ac8',
950: '#000000',
},
}SCSS
$custom: #514ac8; $custom-light: #8e7dda; $custom-dark: #000000;
JSON
{
"hex": "#514ac8",
"rgb": {
"r": 81,
"g": 74,
"b": 200
},
"hsl": {
"h": 243.333,
"s": 53.39,
"l": 53.725
},
"oklch": {
"l": 0.49277,
"c": 0.18902,
"h": 279.4
},
"luminance": 0.10817
}Semantic roles & 50–950 ramp
primary
#514AC8
secondary
#CFD29C
accent
#DD4BD5
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83