#545AA6#545AA6
#545AA6 is a mid, moderate blue. Relative luminance 0.119; OKLCH L 50.0% C 0.120 H 277.7°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #545AA6 |
|---|---|
| RGB | rgb(84, 90, 166) |
| HSL | hsl(236, 33%, 49%) |
| HSV | hsv(236, 49%, 65%) |
| CMYK | cmyk(49.4%, 45.8%, 0%, 34.9%) |
| CIE-LAB | lab(41.14, 18.99, -41.84) |
| CIE-LCH | lch(41.14, 45.95, 294.41°) |
| OKLab | oklab(49.98% 0.0161 -0.1187) |
| OKLCH | oklch(49.98% 0.12 277.7) |
| XYZ | xyz(14.1931, 11.9495, 37.6276) |
| Luminance | 0.1195 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusky Blue
#475F94
ΔE00 5.02
Twilight
#4E518B
ΔE00 5.19
Iris
#6258C4
ΔE00 5.62
Denim Blue
#3B5B92
ΔE00 6.41
Dusk
#4E5481
ΔE00 6.88
Slate Blue
#6A5ACD
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545AA6 #A6A054
analogous
#5483A6 #545AA6 #7754A6
triadic
#545AA6 #A6545A #5AA654
tetradic
#545AA6 #A65483 #A6A054 #54A677
square
#545AA6 #A65483 #A6A054 #54A677
split-complementary
#545AA6 #A67754 #83A654
monochromatic
#2B2E55 #3F447D #545AA6 #7B80BC #A4A7D1
Accessibility & contrast
On white
6.19
#545AA6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#545AA6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545AA6
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545AA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545AA6 | 1.00 | 6.19 | 3.39 | 6.19 |
| #FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A64A9
Deuteranopia (green-blind)
#335EA4
Tritanopia (blue-blind)
#356A78
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #545aa6; /* rgb */ color: rgb(84, 90, 166); /* oklch */ color: oklch(50.0% 0.120 277.7);
Tailwind
colors: {
custom: {
50: '#8988c1',
500: '#545aa6',
950: '#000000',
},
}SCSS
$custom: #545aa6; $custom-light: #8988c1; $custom-dark: #000000;
JSON
{
"hex": "#545aa6",
"rgb": {
"r": 84,
"g": 90,
"b": 166
},
"hsl": {
"h": 235.61,
"s": 32.8,
"l": 49.02
},
"oklch": {
"l": 0.49983,
"c": 0.11984,
"h": 277.7
},
"luminance": 0.1195
}Semantic roles & 50–950 ramp
primary
#545AA6
secondary
#BEBB98
accent
#C15FC9
background
#F8F8FB
surface
#F0EFF7
border
#CBCAD0
text
#0C0B12
muted
#7D7C81