#545AB1#545AB1
#545AB1 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.7% C 0.136 H 277.4°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #545AB1 |
|---|---|
| RGB | rgb(84, 90, 177) |
| HSL | hsl(236, 37%, 51%) |
| HSV | hsv(236, 53%, 69%) |
| CMYK | cmyk(52.5%, 49.2%, 0%, 30.6%) |
| CIE-LAB | lab(41.80, 22.53, -47.28) |
| CIE-LCH | lch(41.80, 52.37, 295.49°) |
| OKLab | oklab(50.7% 0.0175 -0.1347) |
| OKLCH | oklch(50.7% 0.136 277.4) |
| XYZ | xyz(15.2456, 12.3705, 43.1708) |
| Luminance | 0.1237 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.16
Dark Periwinkle
#665FD1
ΔE00 5.84
Slate Blue
#6A5ACD
ΔE00 5.94
Dusky Blue
#475F94
ΔE00 5.98
Warm Blue
#4B57DB
ΔE00 6.06
Light Indigo
#6D5ACF
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545AB1 #B1AB54
analogous
#5488B1 #545AB1 #7C54B1
triadic
#545AB1 #B1545A #5AB154
tetradic
#545AB1 #B15488 #B1AB54 #54B17C
square
#545AB1 #B15488 #B1AB54 #54B17C
split-complementary
#545AB1 #B17C54 #88B154
monochromatic
#2B2F5F #3F4389 #545AB1 #7E83C4 #A8ABD7
Accessibility & contrast
On white
6.04
#545AB1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#545AB1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545AB1
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545AB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545AB1 | 1.00 | 6.04 | 3.47 | 6.04 |
| #FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3166B4
Deuteranopia (green-blind)
#275FAF
Tritanopia (blue-blind)
#2C6D7D
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #545ab1; /* rgb */ color: rgb(84, 90, 177); /* oklch */ color: oklch(50.7% 0.136 277.4);
Tailwind
colors: {
custom: {
50: '#8b88c9',
500: '#545ab1',
950: '#000000',
},
}SCSS
$custom: #545ab1; $custom-light: #8b88c9; $custom-dark: #000000;
JSON
{
"hex": "#545ab1",
"rgb": {
"r": 84,
"g": 90,
"b": 177
},
"hsl": {
"h": 236.129,
"s": 37.349,
"l": 51.176
},
"oklch": {
"l": 0.507,
"c": 0.13585,
"h": 277.4
},
"luminance": 0.12371
}Semantic roles & 50–950 ramp
primary
#545AB1
secondary
#C5C29C
accent
#C65ACD
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82