#545398#545398
#545398 is a mid, moderate blue. Relative luminance 0.103; OKLCH L 47.7% C 0.109 H 282.1°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).
Color values
| HEX | #545398 |
|---|---|
| RGB | rgb(84, 83, 152) |
| HSL | hsl(241, 29%, 46%) |
| HSV | hsv(241, 45%, 60%) |
| CMYK | cmyk(44.7%, 45.4%, 0%, 40.4%) |
| CIE-LAB | lab(38.44, 19.03, -37.76) |
| CIE-LCH | lch(38.44, 42.29, 296.74°) |
| OKLab | oklab(47.67% 0.0229 -0.1068) |
| OKLCH | oklch(47.67% 0.109 282.1) |
| XYZ | xyz(12.4152, 10.3378, 31.0409) |
| Luminance | 0.1034 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 2.54
Dusk
#4E5481
ΔE00 4.95
Blueberry
#464196
ΔE00 5.92
Dusky Blue
#475F94
ΔE00 6.54
Darkslateblue
#483D8B
ΔE00 6.94
Iris
#6258C4
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545398 #979853
analogous
#537498 #545398 #765398
triadic
#545398 #985453 #539854
tetradic
#545398 #985374 #979853 #539876
square
#545398 #985374 #979853 #539876
split-complementary
#545398 #987653 #749853
monochromatic
#282849 #3E3D70 #545398 #7675B3 #9D9CC9
Accessibility & contrast
On white
6.85
#545398 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#545398 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545398
6.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545398 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545398 | 1.00 | 6.85 | 3.07 | 6.85 |
| #FFFFFF | 6.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#385D9B
Deuteranopia (green-blind)
#355896
Tritanopia (blue-blind)
#3E616E
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #545398; /* rgb */ color: rgb(84, 83, 152); /* oklch */ color: oklch(47.7% 0.109 282.1);
Tailwind
colors: {
custom: {
50: '#8883b7',
500: '#545398',
950: '#000000',
},
}SCSS
$custom: #545398; $custom-light: #8883b7; $custom-dark: #000000;
JSON
{
"hex": "#545398",
"rgb": {
"r": 84,
"g": 83,
"b": 152
},
"hsl": {
"h": 240.87,
"s": 29.362,
"l": 46.078
},
"oklch": {
"l": 0.47674,
"c": 0.10927,
"h": 282.1
},
"luminance": 0.10338
}Semantic roles & 50–950 ramp
primary
#545398
secondary
#B6B691
accent
#C662C4
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0A11
muted
#7D7C80