#545CA6#545CA6
#545CA6 is a mid, moderate blue. Relative luminance 0.123; OKLCH L 50.4% C 0.117 H 276.7°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #545CA6 |
|---|---|
| RGB | rgb(84, 92, 166) |
| HSL | hsl(234, 33%, 49%) |
| HSV | hsv(234, 49%, 65%) |
| CMYK | cmyk(49.4%, 44.6%, 0%, 34.9%) |
| CIE-LAB | lab(41.68, 17.73, -40.98) |
| CIE-LCH | lch(41.68, 44.65, 293.39°) |
| OKLab | oklab(50.39% 0.0136 -0.1162) |
| OKLCH | oklch(50.39% 0.117 276.7) |
| XYZ | xyz(14.3641, 12.2915, 37.6846) |
| Luminance | 0.1229 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusky Blue
#475F94
ΔE00 4.57
Twilight
#4E518B
ΔE00 5.51
Iris
#6258C4
ΔE00 5.90
Denim Blue
#3B5B92
ΔE00 6.12
Dusk
#4E5481
ΔE00 6.95
Dark Periwinkle
#665FD1
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545CA6 #A69E54
analogous
#5485A6 #545CA6 #7554A6
triadic
#545CA6 #A6545C #5CA654
tetradic
#545CA6 #A65485 #A69E54 #54A675
square
#545CA6 #A65485 #A69E54 #54A675
split-complementary
#545CA6 #A67554 #85A654
monochromatic
#2B2F55 #3F457D #545CA6 #7B81BC #A4A8D1
Accessibility & contrast
On white
6.07
#545CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#545CA6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545CA6
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545CA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545CA6 | 1.00 | 6.07 | 3.46 | 6.07 |
| #FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E66A9
Deuteranopia (green-blind)
#375FA4
Tritanopia (blue-blind)
#346C79
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #545ca6; /* rgb */ color: rgb(84, 92, 166); /* oklch */ color: oklch(50.4% 0.117 276.7);
Tailwind
colors: {
custom: {
50: '#898ac1',
500: '#545ca6',
950: '#000000',
},
}SCSS
$custom: #545ca6; $custom-light: #898ac1; $custom-dark: #000000;
JSON
{
"hex": "#545ca6",
"rgb": {
"r": 84,
"g": 92,
"b": 166
},
"hsl": {
"h": 234.146,
"s": 32.8,
"l": 49.02
},
"oklch": {
"l": 0.50394,
"c": 0.11702,
"h": 276.7
},
"luminance": 0.12292
}Semantic roles & 50–950 ramp
primary
#545CA6
secondary
#BEBA98
accent
#BF5FC9
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0B12
muted
#7D7C81