#5451AA#5451AA
#5451AA is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.5% C 0.138 H 281.4°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).
Color values
| HEX | #5451AA |
|---|---|
| RGB | rgb(84, 81, 170) |
| HSL | hsl(242, 35%, 49%) |
| HSV | hsv(242, 52%, 67%) |
| CMYK | cmyk(50.6%, 52.4%, 0%, 33.3%) |
| CIE-LAB | lab(39.02, 25.97, -47.60) |
| CIE-LCH | lch(39.02, 54.22, 298.61°) |
| OKLab | oklab(48.47% 0.0274 -0.1357) |
| OKLCH | oklch(48.47% 0.138 281.4) |
| XYZ | xyz(13.8521, 10.6712, 39.3523) |
| Luminance | 0.1067 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.85
Ocean Blue
#4F42B5
ΔE00 5.01
Blueberry
#464196
ΔE00 5.56
Twilight
#4E518B
ΔE00 5.71
Slate Blue
#6A5ACD
ΔE00 6.78
Bluey Purple
#6241C7
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5451AA #A7AA51
analogous
#517BAA #5451AA #8151AA
triadic
#5451AA #AA5451 #51AA54
tetradic
#5451AA #AA517B #A7AA51 #51AA81
square
#5451AA #AA517B #A7AA51 #51AA81
split-complementary
#5451AA #AA8151 #7BAA51
monochromatic
#2B2A57 #403D81 #5451AA #7B79BF #A4A2D3
Accessibility & contrast
On white
6.70
#5451AA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#5451AA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5451AA
6.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5451AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5451AA | 1.00 | 6.70 | 3.13 | 6.70 |
| #FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#245FAD
Deuteranopia (green-blind)
#1C59A8
Tritanopia (blue-blind)
#336575
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #5451aa; /* rgb */ color: rgb(84, 81, 170); /* oklch */ color: oklch(48.5% 0.138 281.4);
Tailwind
colors: {
custom: {
50: '#8a82c4',
500: '#5451aa',
950: '#000000',
},
}SCSS
$custom: #5451aa; $custom-light: #8a82c4; $custom-dark: #000000;
JSON
{
"hex": "#5451aa",
"rgb": {
"r": 84,
"g": 81,
"b": 170
},
"hsl": {
"h": 242.022,
"s": 35.458,
"l": 49.216
},
"oklch": {
"l": 0.48467,
"c": 0.13847,
"h": 281.4
},
"luminance": 0.10672
}Semantic roles & 50–950 ramp
primary
#5451AA
secondary
#BFC097
accent
#CB5CC8
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82