#545CA2#545CA2
#545CA2 is a mid, moderate blue. Relative luminance 0.121; OKLCH L 50.1% C 0.111 H 276.7°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #545CA2 |
|---|---|
| RGB | rgb(84, 92, 162) |
| HSL | hsl(234, 32%, 48%) |
| HSV | hsv(234, 48%, 64%) |
| CMYK | cmyk(48.1%, 43.2%, 0%, 36.5%) |
| CIE-LAB | lab(41.45, 16.45, -38.97) |
| CIE-LCH | lch(41.45, 42.30, 292.89°) |
| OKLab | oklab(50.15% 0.0129 -0.1103) |
| OKLCH | oklch(50.15% 0.111 276.7) |
| XYZ | xyz(14.0029, 12.1470, 35.7822) |
| Luminance | 0.1215 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusky Blue
#475F94
ΔE00 4.28
Twilight
#4E518B
ΔE00 4.99
Denim Blue
#3B5B92
ΔE00 5.95
Dusk
#4E5481
ΔE00 6.31
Iris
#6258C4
ΔE00 6.48
French Blue
#436BAD
ΔE00 7.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545CA2 #A29A54
analogous
#5483A2 #545CA2 #7354A2
triadic
#545CA2 #A2545C #5CA254
tetradic
#545CA2 #A25483 #A29A54 #54A273
square
#545CA2 #A25483 #A29A54 #54A273
split-complementary
#545CA2 #A27354 #83A254
monochromatic
#2A2E51 #3F457A #545CA2 #7980BA #A2A6CF
Accessibility & contrast
On white
6.12
#545CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#545CA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545CA2
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545CA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545CA2 | 1.00 | 6.12 | 3.43 | 6.12 |
| #FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4165A5
Deuteranopia (green-blind)
#3A5FA0
Tritanopia (blue-blind)
#376B77
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #545ca2; /* rgb */ color: rgb(84, 92, 162); /* oklch */ color: oklch(50.1% 0.111 276.7);
Tailwind
colors: {
custom: {
50: '#898abe',
500: '#545ca2',
950: '#000000',
},
}SCSS
$custom: #545ca2; $custom-light: #898abe; $custom-dark: #000000;
JSON
{
"hex": "#545ca2",
"rgb": {
"r": 84,
"g": 92,
"b": 162
},
"hsl": {
"h": 233.846,
"s": 31.707,
"l": 48.235
},
"oklch": {
"l": 0.50147,
"c": 0.11108,
"h": 276.7
},
"luminance": 0.12148
}Semantic roles & 50–950 ramp
primary
#545CA2
secondary
#BCB896
accent
#BD60C8
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0B12
muted
#7D7C81