#545798#545798
#545798 is a mid, moderate blue. Relative luminance 0.110; OKLCH L 48.5% C 0.103 H 279.8°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #545798 |
|---|---|
| RGB | rgb(84, 87, 152) |
| HSL | hsl(237, 29%, 46%) |
| HSV | hsv(237, 45%, 60%) |
| CMYK | cmyk(44.7%, 42.8%, 0%, 40.4%) |
| CIE-LAB | lab(39.53, 16.49, -36.04) |
| CIE-LCH | lch(39.53, 39.63, 294.58°) |
| OKLab | oklab(48.5% 0.0176 -0.1018) |
| OKLCH | oklch(48.5% 0.103 279.8) |
| XYZ | xyz(12.7302, 10.9676, 31.1459) |
| Luminance | 0.1097 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 2.76
Dusk
#4E5481
ΔE00 4.52
Dusky Blue
#475F94
ΔE00 5.32
Denim Blue
#3B5B92
ΔE00 6.72
Blueberry
#464196
ΔE00 7.23
Iris
#6258C4
ΔE00 7.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545798 #989554
analogous
#547998 #545798 #735498
triadic
#545798 #985457 #579854
tetradic
#545798 #985479 #989554 #549873
square
#545798 #985479 #989554 #549873
split-complementary
#545798 #987354 #799854
monochromatic
#282A49 #3E4071 #545798 #7679B3 #9D9FC9
Accessibility & contrast
On white
6.58
#545798 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#545798 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545798
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545798 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545798 | 1.00 | 6.58 | 3.19 | 6.58 |
| #FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F609A
Deuteranopia (green-blind)
#3A5B97
Tritanopia (blue-blind)
#3E6470
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #545798; /* rgb */ color: rgb(84, 87, 152); /* oklch */ color: oklch(48.5% 0.103 279.8);
Tailwind
colors: {
custom: {
50: '#8886b6',
500: '#545798',
950: '#000000',
},
}SCSS
$custom: #545798; $custom-light: #8886b6; $custom-dark: #000000;
JSON
{
"hex": "#545798",
"rgb": {
"r": 84,
"g": 87,
"b": 152
},
"hsl": {
"h": 237.353,
"s": 28.814,
"l": 46.275
},
"oklch": {
"l": 0.48499,
"c": 0.10331,
"h": 279.8
},
"luminance": 0.10968
}Semantic roles & 50–950 ramp
primary
#545798
secondary
#B6B592
accent
#C163C5
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0B11
muted
#7D7C80