#545AA9#545AA9
#545AA9 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.2% C 0.124 H 277.7°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #545AA9 |
|---|---|
| RGB | rgb(84, 90, 169) |
| HSL | hsl(236, 34%, 50%) |
| HSV | hsv(236, 50%, 66%) |
| CMYK | cmyk(50.3%, 46.7%, 0%, 33.7%) |
| CIE-LAB | lab(41.31, 19.95, -43.33) |
| CIE-LCH | lch(41.31, 47.71, 294.72°) |
| OKLab | oklab(50.18% 0.0165 -0.1231) |
| OKLCH | oklch(50.18% 0.124 277.7) |
| XYZ | xyz(14.4715, 12.0609, 39.0939) |
| Luminance | 0.1206 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 5.20
Dusky Blue
#475F94
ΔE00 5.25
Twilight
#4E518B
ΔE00 5.64
Denim Blue
#3B5B92
ΔE00 6.56
Dark Periwinkle
#665FD1
ΔE00 6.92
Slate Blue
#6A5ACD
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545AA9 #A9A354
analogous
#5485A9 #545AA9 #7954A9
triadic
#545AA9 #A9545A #5AA954
tetradic
#545AA9 #A95485 #A9A354 #54A979
square
#545AA9 #A95485 #A9A354 #54A979
split-complementary
#545AA9 #A97954 #85A954
monochromatic
#2B2E57 #404480 #545AA9 #7C81BE #A5A8D2
Accessibility & contrast
On white
6.15
#545AA9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#545AA9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545AA9
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545AA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545AA9 | 1.00 | 6.15 | 3.41 | 6.15 |
| #FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3865AC
Deuteranopia (green-blind)
#305EA7
Tritanopia (blue-blind)
#336B79
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #545aa9; /* rgb */ color: rgb(84, 90, 169); /* oklch */ color: oklch(50.2% 0.124 277.7);
Tailwind
colors: {
custom: {
50: '#8a88c3',
500: '#545aa9',
950: '#000000',
},
}SCSS
$custom: #545aa9; $custom-light: #8a88c3; $custom-dark: #000000;
JSON
{
"hex": "#545aa9",
"rgb": {
"r": 84,
"g": 90,
"b": 169
},
"hsl": {
"h": 235.765,
"s": 33.597,
"l": 49.608
},
"oklch": {
"l": 0.50175,
"c": 0.12425,
"h": 277.7
},
"luminance": 0.12062
}Semantic roles & 50–950 ramp
primary
#545AA9
secondary
#C0BD99
accent
#C25ECA
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B12
muted
#7D7C81