#545CA7#545CA7
#545CA7 is a mid, moderate blue. Relative luminance 0.123; OKLCH L 50.5% C 0.118 H 276.7°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #545CA7 |
|---|---|
| RGB | rgb(84, 92, 167) |
| HSL | hsl(234, 33%, 49%) |
| HSV | hsv(234, 50%, 65%) |
| CMYK | cmyk(49.7%, 44.9%, 0%, 34.5%) |
| CIE-LAB | lab(41.73, 18.05, -41.48) |
| CIE-LCH | lch(41.73, 45.24, 293.51°) |
| OKLab | oklab(50.46% 0.0138 -0.1177) |
| OKLCH | oklch(50.46% 0.118 276.7) |
| XYZ | xyz(14.4562, 12.3283, 38.1696) |
| Luminance | 0.1233 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusky Blue
#475F94
ΔE00 4.65
Twilight
#4E518B
ΔE00 5.64
Iris
#6258C4
ΔE00 5.76
Denim Blue
#3B5B92
ΔE00 6.17
Dusk
#4E5481
ΔE00 7.11
Dark Periwinkle
#665FD1
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545CA7 #A79F54
analogous
#5486A7 #545CA7 #7654A7
triadic
#545CA7 #A7545C #5CA754
tetradic
#545CA7 #A75486 #A79F54 #54A776
square
#545CA7 #A75486 #A79F54 #54A776
split-complementary
#545CA7 #A77654 #86A754
monochromatic
#2B2F56 #40467E #545CA7 #7B82BD #A4A8D1
Accessibility & contrast
On white
6.06
#545CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#545CA7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545CA7
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545CA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545CA7 | 1.00 | 6.06 | 3.47 | 6.06 |
| #FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D66AA
Deuteranopia (green-blind)
#365FA5
Tritanopia (blue-blind)
#346C79
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #545ca7; /* rgb */ color: rgb(84, 92, 167); /* oklch */ color: oklch(50.5% 0.118 276.7);
Tailwind
colors: {
custom: {
50: '#898ac1',
500: '#545ca7',
950: '#000000',
},
}SCSS
$custom: #545ca7; $custom-light: #898ac1; $custom-dark: #000000;
JSON
{
"hex": "#545ca7",
"rgb": {
"r": 84,
"g": 92,
"b": 167
},
"hsl": {
"h": 234.217,
"s": 33.068,
"l": 49.216
},
"oklch": {
"l": 0.50456,
"c": 0.11849,
"h": 276.7
},
"luminance": 0.12329
}Semantic roles & 50–950 ramp
primary
#545CA7
secondary
#BFBB98
accent
#BF5FC9
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0B12
muted
#7D7C81