#545591#545591
#545591 is a mid, moderate blue. Relative luminance 0.104; OKLCH L 47.7% C 0.096 H 281.4°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #545591 |
|---|---|
| RGB | rgb(84, 85, 145) |
| HSL | hsl(239, 27%, 45%) |
| HSV | hsv(239, 42%, 57%) |
| CMYK | cmyk(42.1%, 41.4%, 0%, 43.1%) |
| CIE-LAB | lab(38.60, 15.60, -33.30) |
| CIE-LCH | lch(38.60, 36.77, 295.11°) |
| OKLab | oklab(47.66% 0.0189 -0.0938) |
| OKLCH | oklch(47.66% 0.096 281.4) |
| XYZ | xyz(12.0140, 10.4257, 28.1619) |
| Luminance | 0.1043 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 1.69
Dusk
#4E5481
ΔE00 3.43
Dusky Blue
#475F94
ΔE00 6.08
Blueberry
#464196
ΔE00 7.09
Denim Blue
#3B5B92
ΔE00 7.39
Darkslateblue
#483D8B
ΔE00 7.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545591 #919054
analogous
#547491 #545591 #715491
triadic
#545591 #915455 #559154
tetradic
#545591 #915474 #919054 #549171
square
#545591 #915474 #919054 #549171
split-complementary
#545591 #917154 #749154
monochromatic
#272843 #3E3E6A #545591 #7475AE #9B9BC5
Accessibility & contrast
On white
6.81
#545591 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#545591 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545591
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545591 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545591 | 1.00 | 6.81 | 3.09 | 6.81 |
| #FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#405D93
Deuteranopia (green-blind)
#3D5990
Tritanopia (blue-blind)
#42616C
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #545591; /* rgb */ color: rgb(84, 85, 145); /* oklch */ color: oklch(47.7% 0.096 281.4);
Tailwind
colors: {
custom: {
50: '#8784b1',
500: '#545591',
950: '#000000',
},
}SCSS
$custom: #545591; $custom-light: #8784b1; $custom-dark: #000000;
JSON
{
"hex": "#545591",
"rgb": {
"r": 84,
"g": 85,
"b": 145
},
"hsl": {
"h": 239.016,
"s": 26.638,
"l": 44.902
},
"oklch": {
"l": 0.47664,
"c": 0.09568,
"h": 281.4
},
"luminance": 0.10426
}Semantic roles & 50–950 ramp
primary
#545591
secondary
#B2B18F
accent
#C165C3
background
#F8F8FA
surface
#F0EFF5
border
#CBCACF
text
#0B0B11
muted
#7C7C80