#545AA4#545AA4
#545AA4 is a mid, moderate blue. Relative luminance 0.119; OKLCH L 49.9% C 0.117 H 277.8°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #545AA4 |
|---|---|
| RGB | rgb(84, 90, 164) |
| HSL | hsl(236, 32%, 49%) |
| HSV | hsv(236, 49%, 64%) |
| CMYK | cmyk(48.8%, 45.1%, 0%, 35.7%) |
| CIE-LAB | lab(41.02, 18.35, -40.84) |
| CIE-LCH | lch(41.02, 44.77, 294.20°) |
| OKLab | oklab(49.86% 0.0158 -0.1158) |
| OKLCH | oklch(49.86% 0.117 277.8) |
| XYZ | xyz(14.0111, 11.8767, 36.6689) |
| Luminance | 0.1188 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusky Blue
#475F94
ΔE00 4.88
Twilight
#4E518B
ΔE00 4.91
Iris
#6258C4
ΔE00 5.92
Denim Blue
#3B5B92
ΔE00 6.32
Dusk
#4E5481
ΔE00 6.55
Slate Blue
#6A5ACD
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545AA4 #A49E54
analogous
#5482A4 #545AA4 #7654A4
triadic
#545AA4 #A4545A #5AA454
tetradic
#545AA4 #A45482 #A49E54 #54A476
square
#545AA4 #A45482 #A49E54 #54A476
split-complementary
#545AA4 #A47654 #82A454
monochromatic
#2B2E53 #3F447C #545AA4 #7A7FBB #A3A6D0
Accessibility & contrast
On white
6.22
#545AA4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#545AA4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545AA4
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545AA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545AA4 | 1.00 | 6.22 | 3.38 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C64A7
Deuteranopia (green-blind)
#355EA2
Tritanopia (blue-blind)
#366A77
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #545aa4; /* rgb */ color: rgb(84, 90, 164); /* oklch */ color: oklch(49.9% 0.117 277.8);
Tailwind
colors: {
custom: {
50: '#8988bf',
500: '#545aa4',
950: '#000000',
},
}SCSS
$custom: #545aa4; $custom-light: #8988bf; $custom-dark: #000000;
JSON
{
"hex": "#545aa4",
"rgb": {
"r": 84,
"g": 90,
"b": 164
},
"hsl": {
"h": 235.5,
"s": 32.258,
"l": 48.627
},
"oklch": {
"l": 0.49857,
"c": 0.11689,
"h": 277.8
},
"luminance": 0.11877
}Semantic roles & 50–950 ramp
primary
#545AA4
secondary
#BDBA97
accent
#C15FC8
background
#F8F8FB
surface
#F0EFF7
border
#CBCAD0
text
#0C0B12
muted
#7D7C81