#545AA5#545AA5
#545AA5 is a mid, moderate blue. Relative luminance 0.119; OKLCH L 49.9% C 0.118 H 277.7°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #545AA5 |
|---|---|
| RGB | rgb(84, 90, 165) |
| HSL | hsl(236, 33%, 49%) |
| HSV | hsv(236, 49%, 65%) |
| CMYK | cmyk(49.1%, 45.5%, 0%, 35.3%) |
| CIE-LAB | lab(41.08, 18.67, -41.34) |
| CIE-LCH | lch(41.08, 45.36, 294.31°) |
| OKLab | oklab(49.92% 0.016 -0.1173) |
| OKLCH | oklch(49.92% 0.118 277.7) |
| XYZ | xyz(14.1018, 11.9130, 37.1464) |
| Luminance | 0.1191 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusky Blue
#475F94
ΔE00 4.95
Twilight
#4E518B
ΔE00 5.05
Iris
#6258C4
ΔE00 5.77
Denim Blue
#3B5B92
ΔE00 6.36
Dusk
#4E5481
ΔE00 6.72
Slate Blue
#6A5ACD
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545AA5 #A59F54
analogous
#5483A5 #545AA5 #7754A5
triadic
#545AA5 #A5545A #5AA554
tetradic
#545AA5 #A55483 #A59F54 #54A577
square
#545AA5 #A55483 #A59F54 #54A577
split-complementary
#545AA5 #A57754 #83A554
monochromatic
#2B2E54 #3F447C #545AA5 #7B7FBC #A3A6D0
Accessibility & contrast
On white
6.21
#545AA5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#545AA5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545AA5
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545AA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545AA5 | 1.00 | 6.21 | 3.38 | 6.21 |
| #FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B64A8
Deuteranopia (green-blind)
#345EA3
Tritanopia (blue-blind)
#356A77
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #545aa5; /* rgb */ color: rgb(84, 90, 165); /* oklch */ color: oklch(49.9% 0.118 277.7);
Tailwind
colors: {
custom: {
50: '#8988c0',
500: '#545aa5',
950: '#000000',
},
}SCSS
$custom: #545aa5; $custom-light: #8988c0; $custom-dark: #000000;
JSON
{
"hex": "#545aa5",
"rgb": {
"r": 84,
"g": 90,
"b": 165
},
"hsl": {
"h": 235.556,
"s": 32.53,
"l": 48.824
},
"oklch": {
"l": 0.4992,
"c": 0.11837,
"h": 277.7
},
"luminance": 0.11914
}Semantic roles & 50–950 ramp
primary
#545AA5
secondary
#BEBB97
accent
#C15FC9
background
#F8F8FB
surface
#F0EFF7
border
#CBCAD0
text
#0C0B12
muted
#7D7C81