#545AAA#545AAA
#545AAA is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.2% C 0.126 H 277.6°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #545AAA |
|---|---|
| RGB | rgb(84, 90, 170) |
| HSL | hsl(236, 34%, 50%) |
| HSV | hsv(236, 51%, 67%) |
| CMYK | cmyk(50.6%, 47.1%, 0%, 33.3%) |
| CIE-LAB | lab(41.37, 20.27, -43.83) |
| CIE-LCH | lch(41.37, 48.29, 294.82°) |
| OKLab | oklab(50.24% 0.0167 -0.1246) |
| OKLCH | oklch(50.24% 0.126 277.6) |
| XYZ | xyz(14.5658, 12.0986, 39.5902) |
| Luminance | 0.1210 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 5.06
Dusky Blue
#475F94
ΔE00 5.33
Twilight
#4E518B
ΔE00 5.78
Denim Blue
#3B5B92
ΔE00 6.62
Dark Periwinkle
#665FD1
ΔE00 6.78
Slate Blue
#6A5ACD
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545AAA #AAA454
analogous
#5485AA #545AAA #7954AA
triadic
#545AAA #AA545A #5AAA54
tetradic
#545AAA #AA5485 #AAA454 #54AA79
square
#545AAA #AA5485 #AAA454 #54AA79
split-complementary
#545AAA #AA7954 #85AA54
monochromatic
#2C2F58 #404481 #545AAA #7D81BF #A6A9D3
Accessibility & contrast
On white
6.14
#545AAA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#545AAA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545AAA
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545AAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545AAA | 1.00 | 6.14 | 3.42 | 6.14 |
| #FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3765AD
Deuteranopia (green-blind)
#2F5EA8
Tritanopia (blue-blind)
#326B7A
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #545aaa; /* rgb */ color: rgb(84, 90, 170); /* oklch */ color: oklch(50.2% 0.126 277.6);
Tailwind
colors: {
custom: {
50: '#8a88c4',
500: '#545aaa',
950: '#000000',
},
}SCSS
$custom: #545aaa; $custom-light: #8a88c4; $custom-dark: #000000;
JSON
{
"hex": "#545aaa",
"rgb": {
"r": 84,
"g": 90,
"b": 170
},
"hsl": {
"h": 235.814,
"s": 33.858,
"l": 49.804
},
"oklch": {
"l": 0.50239,
"c": 0.1257,
"h": 277.6
},
"luminance": 0.12099
}Semantic roles & 50–950 ramp
primary
#545AAA
secondary
#C0BE99
accent
#C25ECA
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B12
muted
#7D7C81