#5451AE#5451AE
#5451AE is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.7% C 0.144 H 281.1°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).
Color values
| HEX | #5451AE |
|---|---|
| RGB | rgb(84, 81, 174) |
| HSL | hsl(242, 36%, 50%) |
| HSV | hsv(242, 53%, 68%) |
| CMYK | cmyk(51.7%, 53.4%, 0%, 31.8%) |
| CIE-LAB | lab(39.28, 27.24, -49.55) |
| CIE-LCH | lch(39.28, 56.54, 298.80°) |
| OKLab | oklab(48.75% 0.0277 -0.1414) |
| OKLCH | oklch(48.75% 0.144 281.1) |
| XYZ | xyz(14.2362, 10.8249, 41.3755) |
| Luminance | 0.1083 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.37
Ocean Blue
#4F42B5
ΔE00 4.73
Blueberry
#464196
ΔE00 5.86
Slate Blue
#6A5ACD
ΔE00 6.32
Twilight
#4E518B
ΔE00 6.33
Bluey Purple
#6241C7
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5451AE #ABAE51
analogous
#517DAE #5451AE #8251AE
triadic
#5451AE #AE5451 #51AE54
tetradic
#5451AE #AE517D #ABAE51 #51AE82
square
#5451AE #AE517D #ABAE51 #51AE82
split-complementary
#5451AE #AE8251 #7DAE51
monochromatic
#2C2A5A #403E84 #5451AE #7D7BC1 #A6A5D5
Accessibility & contrast
On white
6.63
#5451AE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#5451AE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5451AE
6.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5451AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5451AE | 1.00 | 6.63 | 3.17 | 6.63 |
| #FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F60B1
Deuteranopia (green-blind)
#1459AC
Tritanopia (blue-blind)
#306677
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #5451ae; /* rgb */ color: rgb(84, 81, 174); /* oklch */ color: oklch(48.7% 0.144 281.1);
Tailwind
colors: {
custom: {
50: '#8b82c7',
500: '#5451ae',
950: '#000000',
},
}SCSS
$custom: #5451ae; $custom-light: #8b82c7; $custom-dark: #000000;
JSON
{
"hex": "#5451ae",
"rgb": {
"r": 84,
"g": 81,
"b": 174
},
"hsl": {
"h": 241.935,
"s": 36.471,
"l": 50
},
"oklch": {
"l": 0.48748,
"c": 0.14413,
"h": 281.1
},
"luminance": 0.10826
}Semantic roles & 50–950 ramp
primary
#5451AE
secondary
#C1C299
accent
#CC5BC9
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82