#545AA1#545AA1
#545AA1 is a mid, moderate blue. Relative luminance 0.118; OKLCH L 49.7% C 0.112 H 277.8°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #545AA1 |
|---|---|
| RGB | rgb(84, 90, 161) |
| HSL | hsl(235, 31%, 48%) |
| HSV | hsv(235, 48%, 63%) |
| CMYK | cmyk(47.8%, 44.1%, 0%, 36.9%) |
| CIE-LAB | lab(40.85, 17.40, -39.33) |
| CIE-LCH | lch(40.85, 43.01, 293.87°) |
| OKLab | oklab(49.67% 0.0153 -0.1114) |
| OKLCH | oklch(49.67% 0.112 277.8) |
| XYZ | xyz(13.7434, 11.7696, 35.2589) |
| Luminance | 0.1177 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 4.48
Dusky Blue
#475F94
ΔE00 4.70
Dusk
#4E5481
ΔE00 6.06
Denim Blue
#3B5B92
ΔE00 6.21
Iris
#6258C4
ΔE00 6.38
Blueberry
#464196
ΔE00 8.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545AA1 #A19B54
analogous
#5480A1 #545AA1 #7454A1
triadic
#545AA1 #A1545A #5AA154
tetradic
#545AA1 #A15480 #A19B54 #54A174
square
#545AA1 #A15480 #A19B54 #54A174
split-complementary
#545AA1 #A17454 #80A154
monochromatic
#2A2D51 #3F4479 #545AA1 #797EB9 #A1A5CE
Accessibility & contrast
On white
6.26
#545AA1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#545AA1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545AA1
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545AA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545AA1 | 1.00 | 6.26 | 3.35 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E63A4
Deuteranopia (green-blind)
#385D9F
Tritanopia (blue-blind)
#386975
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #545aa1; /* rgb */ color: rgb(84, 90, 161); /* oklch */ color: oklch(49.7% 0.112 277.8);
Tailwind
colors: {
custom: {
50: '#8988bd',
500: '#545aa1',
950: '#000000',
},
}SCSS
$custom: #545aa1; $custom-light: #8988bd; $custom-dark: #000000;
JSON
{
"hex": "#545aa1",
"rgb": {
"r": 84,
"g": 90,
"b": 161
},
"hsl": {
"h": 235.325,
"s": 31.429,
"l": 48.039
},
"oklch": {
"l": 0.4967,
"c": 0.11244,
"h": 277.8
},
"luminance": 0.1177
}Semantic roles & 50–950 ramp
primary
#545AA1
secondary
#BBB895
accent
#C060C8
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0B12
muted
#7D7C81