#545AAB#545AAB
#545AAB is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.3% C 0.127 H 277.6°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #545AAB |
|---|---|
| RGB | rgb(84, 90, 171) |
| HSL | hsl(236, 34%, 50%) |
| HSV | hsv(236, 51%, 67%) |
| CMYK | cmyk(50.9%, 47.4%, 0%, 32.9%) |
| CIE-LAB | lab(41.43, 20.60, -44.33) |
| CIE-LCH | lch(41.43, 48.88, 294.92°) |
| OKLab | oklab(50.3% 0.0168 -0.126) |
| OKLCH | oklch(50.3% 0.127 277.6) |
| XYZ | xyz(14.6607, 12.1366, 40.0902) |
| Luminance | 0.1214 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.92
Dusky Blue
#475F94
ΔE00 5.42
Twilight
#4E518B
ΔE00 5.93
Dark Periwinkle
#665FD1
ΔE00 6.64
Slate Blue
#6A5ACD
ΔE00 6.68
Denim Blue
#3B5B92
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545AAB #ABA554
analogous
#5486AB #545AAB #7954AB
triadic
#545AAB #AB545A #5AAB54
tetradic
#545AAB #AB5486 #ABA554 #54AB79
square
#545AAB #AB5486 #ABA554 #54AB79
split-complementary
#545AAB #AB7954 #86AB54
monochromatic
#2C2F59 #404482 #545AAB #7D82BF #A6A9D3
Accessibility & contrast
On white
6.13
#545AAB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#545AAB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545AAB
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545AAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545AAB | 1.00 | 6.13 | 3.43 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3765AE
Deuteranopia (green-blind)
#2E5EA9
Tritanopia (blue-blind)
#316B7A
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #545aab; /* rgb */ color: rgb(84, 90, 171); /* oklch */ color: oklch(50.3% 0.127 277.6);
Tailwind
colors: {
custom: {
50: '#8a88c4',
500: '#545aab',
950: '#000000',
},
}SCSS
$custom: #545aab; $custom-light: #8a88c4; $custom-dark: #000000;
JSON
{
"hex": "#545aab",
"rgb": {
"r": 84,
"g": 90,
"b": 171
},
"hsl": {
"h": 235.862,
"s": 34.118,
"l": 50
},
"oklch": {
"l": 0.50304,
"c": 0.12717,
"h": 277.6
},
"luminance": 0.12137
}Semantic roles & 50–950 ramp
primary
#545AAB
secondary
#C1BE9A
accent
#C35ECA
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82