#545CAB#545CAB
#545CAB is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.7% C 0.124 H 276.6°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #545CAB |
|---|---|
| RGB | rgb(84, 92, 171) |
| HSL | hsl(234, 34%, 50%) |
| HSV | hsv(234, 51%, 67%) |
| CMYK | cmyk(50.9%, 46.2%, 0%, 32.9%) |
| CIE-LAB | lab(41.97, 19.33, -43.47) |
| CIE-LCH | lch(41.97, 47.58, 293.97°) |
| OKLab | oklab(50.71% 0.0144 -0.1235) |
| OKLCH | oklch(50.71% 0.124 276.6) |
| XYZ | xyz(14.8317, 12.4785, 40.1472) |
| Luminance | 0.1248 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusky Blue
#475F94
ΔE00 5.01
Iris
#6258C4
ΔE00 5.22
Twilight
#4E518B
ΔE00 6.19
Denim Blue
#3B5B92
ΔE00 6.42
Dark Periwinkle
#665FD1
ΔE00 6.64
Slate Blue
#6A5ACD
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545CAB #ABA354
analogous
#5487AB #545CAB #7854AB
triadic
#545CAB #AB545C #5CAB54
tetradic
#545CAB #AB5487 #ABA354 #54AB78
square
#545CAB #AB5487 #ABA354 #54AB78
split-complementary
#545CAB #AB7854 #87AB54
monochromatic
#2C3059 #404682 #545CAB #7D83BF #A6AAD3
Accessibility & contrast
On white
6.01
#545CAB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#545CAB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545CAB
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545CAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545CAB | 1.00 | 6.01 | 3.50 | 6.01 |
| #FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A67AE
Deuteranopia (green-blind)
#3260A9
Tritanopia (blue-blind)
#316D7B
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #545cab; /* rgb */ color: rgb(84, 92, 171); /* oklch */ color: oklch(50.7% 0.124 276.6);
Tailwind
colors: {
custom: {
50: '#8a8ac4',
500: '#545cab',
950: '#000000',
},
}SCSS
$custom: #545cab; $custom-light: #8a8ac4; $custom-dark: #000000;
JSON
{
"hex": "#545cab",
"rgb": {
"r": 84,
"g": 92,
"b": 171
},
"hsl": {
"h": 234.483,
"s": 34.118,
"l": 50
},
"oklch": {
"l": 0.5071,
"c": 0.12437,
"h": 276.6
},
"luminance": 0.12479
}Semantic roles & 50–950 ramp
primary
#545CAB
secondary
#C1BD9A
accent
#C05ECA
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82