#545291#545291
#545291 is a mid, moderate blue. Relative luminance 0.100; OKLCH L 47.0% C 0.100 H 283.3°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #545291 |
|---|---|
| RGB | rgb(84, 82, 145) |
| HSL | hsl(242, 28%, 45%) |
| HSV | hsv(242, 43%, 57%) |
| CMYK | cmyk(42.1%, 43.4%, 0%, 43.1%) |
| CIE-LAB | lab(37.78, 17.52, -34.59) |
| CIE-LCH | lch(37.78, 38.77, 296.85°) |
| OKLab | oklab(47.04% 0.023 -0.0976) |
| OKLCH | oklch(47.04% 0.1 283.3) |
| XYZ | xyz(11.7828, 9.9633, 28.0848) |
| Luminance | 0.0996 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 1.62
Dusk
#4E5481
ΔE00 3.96
Blueberry
#464196
ΔE00 6.15
Darkslateblue
#483D8B
ΔE00 6.73
Dusky Blue
#475F94
ΔE00 6.99
Denim Blue
#3B5B92
ΔE00 8.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545291 #8F9152
analogous
#527091 #545291 #745291
triadic
#545291 #915452 #529154
tetradic
#545291 #915270 #8F9152 #529174
square
#545291 #915270 #8F9152 #529174
split-complementary
#545291 #917452 #709152
monochromatic
#272643 #3D3C6A #545291 #7371AF #9A98C5
Accessibility & contrast
On white
7.02
#545291 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#545291 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #545291
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545291 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545291 | 1.00 | 7.02 | 2.99 | 7.02 |
| #FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B5B93
Deuteranopia (green-blind)
#395790
Tritanopia (blue-blind)
#425F6A
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #545291; /* rgb */ color: rgb(84, 82, 145); /* oklch */ color: oklch(47.0% 0.100 283.3);
Tailwind
colors: {
custom: {
50: '#8782b1',
500: '#545291',
950: '#000000',
},
}SCSS
$custom: #545291; $custom-light: #8782b1; $custom-dark: #000000;
JSON
{
"hex": "#545291",
"rgb": {
"r": 84,
"g": 82,
"b": 145
},
"hsl": {
"h": 241.905,
"s": 27.753,
"l": 44.51
},
"oklch": {
"l": 0.4704,
"c": 0.10027,
"h": 283.3
},
"luminance": 0.09964
}Semantic roles & 50–950 ramp
primary
#545291
secondary
#B1B28D
accent
#C464C1
background
#F8F7FA
surface
#F0EEF5
border
#CBC9CF
text
#0B0A11
muted
#7C7C80