#545CA8#545CA8
#545CA8 is a mid, moderate blue. Relative luminance 0.124; OKLCH L 50.5% C 0.120 H 276.7°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #545CA8 |
|---|---|
| RGB | rgb(84, 92, 168) |
| HSL | hsl(234, 33%, 49%) |
| HSV | hsv(234, 50%, 66%) |
| CMYK | cmyk(50%, 45.2%, 0%, 34.1%) |
| CIE-LAB | lab(41.79, 18.37, -41.98) |
| CIE-LCH | lch(41.79, 45.82, 293.63°) |
| OKLab | oklab(50.52% 0.014 -0.1191) |
| OKLCH | oklch(50.52% 0.12 276.7) |
| XYZ | xyz(14.5490, 12.3654, 38.6583) |
| Luminance | 0.1237 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusky Blue
#475F94
ΔE00 4.73
Iris
#6258C4
ΔE00 5.62
Twilight
#4E518B
ΔE00 5.78
Denim Blue
#3B5B92
ΔE00 6.23
Dark Periwinkle
#665FD1
ΔE00 7.07
Slate Blue
#6A5ACD
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545CA8 #A8A054
analogous
#5486A8 #545CA8 #7654A8
triadic
#545CA8 #A8545C #5CA854
tetradic
#545CA8 #A85486 #A8A054 #54A876
square
#545CA8 #A85486 #A8A054 #54A876
split-complementary
#545CA8 #A87654 #86A854
monochromatic
#2B2F56 #40467F #545CA8 #7C82BD #A5A9D2
Accessibility & contrast
On white
6.05
#545CA8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#545CA8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545CA8
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545CA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545CA8 | 1.00 | 6.05 | 3.47 | 6.05 |
| #FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D66AB
Deuteranopia (green-blind)
#355FA6
Tritanopia (blue-blind)
#336C7A
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #545ca8; /* rgb */ color: rgb(84, 92, 168); /* oklch */ color: oklch(50.5% 0.120 276.7);
Tailwind
colors: {
custom: {
50: '#898ac2',
500: '#545ca8',
950: '#000000',
},
}SCSS
$custom: #545ca8; $custom-light: #898ac2; $custom-dark: #000000;
JSON
{
"hex": "#545ca8",
"rgb": {
"r": 84,
"g": 92,
"b": 168
},
"hsl": {
"h": 234.286,
"s": 33.333,
"l": 49.412
},
"oklch": {
"l": 0.50519,
"c": 0.11996,
"h": 276.7
},
"luminance": 0.12366
}Semantic roles & 50–950 ramp
primary
#545CA8
secondary
#BFBC99
accent
#BF5EC9
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B12
muted
#7D7C81