#545595#545595
#545595 is a mid, moderate blue. Relative luminance 0.106; OKLCH L 47.9% C 0.102 H 281.2°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #545595 |
|---|---|
| RGB | rgb(84, 85, 149) |
| HSL | hsl(239, 28%, 46%) |
| HSV | hsv(239, 44%, 58%) |
| CMYK | cmyk(43.6%, 43%, 0%, 41.6%) |
| CIE-LAB | lab(38.81, 16.83, -35.37) |
| CIE-LCH | lch(38.81, 39.17, 295.45°) |
| OKLab | oklab(47.9% 0.0197 -0.0998) |
| OKLCH | oklch(47.9% 0.102 281.2) |
| XYZ | xyz(12.3279, 10.5512, 29.8150) |
| Luminance | 0.1055 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 2.11
Dusk
#4E5481
ΔE00 4.15
Dusky Blue
#475F94
ΔE00 5.96
Blueberry
#464196
ΔE00 6.75
Denim Blue
#3B5B92
ΔE00 7.23
Darkslateblue
#483D8B
ΔE00 7.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545595 #959454
analogous
#547595 #545595 #735495
triadic
#545595 #955455 #559554
tetradic
#545595 #955475 #959454 #549573
square
#545595 #955475 #959454 #549573
split-complementary
#545595 #957354 #759554
monochromatic
#282847 #3E3F6E #545595 #7576B1 #9C9DC7
Accessibility & contrast
On white
6.75
#545595 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#545595 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545595
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545595 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545595 | 1.00 | 6.75 | 3.11 | 6.75 |
| #FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E5E97
Deuteranopia (green-blind)
#3A5994
Tritanopia (blue-blind)
#40626E
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #545595; /* rgb */ color: rgb(84, 85, 149); /* oklch */ color: oklch(47.9% 0.102 281.2);
Tailwind
colors: {
custom: {
50: '#8784b4',
500: '#545595',
950: '#000000',
},
}SCSS
$custom: #545595; $custom-light: #8784b4; $custom-dark: #000000;
JSON
{
"hex": "#545595",
"rgb": {
"r": 84,
"g": 85,
"b": 149
},
"hsl": {
"h": 239.077,
"s": 27.897,
"l": 45.686
},
"oklch": {
"l": 0.47902,
"c": 0.10176,
"h": 281.2
},
"luminance": 0.10552
}Semantic roles & 50–950 ramp
primary
#545595
secondary
#B4B490
accent
#C364C4
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0B11
muted
#7D7C80