#545295#545295
#545295 is a mid, moderate blue. Relative luminance 0.101; OKLCH L 47.3% C 0.106 H 282.9°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #545295 |
|---|---|
| RGB | rgb(84, 82, 149) |
| HSL | hsl(242, 29%, 45%) |
| HSV | hsv(242, 45%, 58%) |
| CMYK | cmyk(43.6%, 45%, 0%, 41.6%) |
| CIE-LAB | lab(38.00, 18.74, -36.66) |
| CIE-LCH | lch(38.00, 41.17, 297.08°) |
| OKLab | oklab(47.28% 0.0237 -0.1036) |
| OKLCH | oklch(47.28% 0.106 282.9) |
| XYZ | xyz(12.0967, 10.0888, 29.7379) |
| Luminance | 0.1009 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 2.15
Dusk
#4E5481
ΔE00 4.62
Blueberry
#464196
ΔE00 5.79
Darkslateblue
#483D8B
ΔE00 6.62
Dusky Blue
#475F94
ΔE00 6.88
Ocean Blue
#4F42B5
ΔE00 7.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545295 #939552
analogous
#527195 #545295 #755295
triadic
#545295 #955452 #529554
tetradic
#545295 #955271 #939552 #529575
square
#545295 #955271 #939552 #529575
split-complementary
#545295 #957552 #719552
monochromatic
#272746 #3E3C6E #545295 #7473B2 #9B9AC7
Accessibility & contrast
On white
6.96
#545295 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#545295 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545295
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545295 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545295 | 1.00 | 6.96 | 3.02 | 6.96 |
| #FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#395C98
Deuteranopia (green-blind)
#365793
Tritanopia (blue-blind)
#40606C
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #545295; /* rgb */ color: rgb(84, 82, 149); /* oklch */ color: oklch(47.3% 0.106 282.9);
Tailwind
colors: {
custom: {
50: '#8882b4',
500: '#545295',
950: '#000000',
},
}SCSS
$custom: #545295; $custom-light: #8882b4; $custom-dark: #000000;
JSON
{
"hex": "#545295",
"rgb": {
"r": 84,
"g": 82,
"b": 149
},
"hsl": {
"h": 241.791,
"s": 29.004,
"l": 45.294
},
"oklch": {
"l": 0.47284,
"c": 0.1063,
"h": 282.9
},
"luminance": 0.10089
}Semantic roles & 50–950 ramp
primary
#545295
secondary
#B3B48E
accent
#C563C2
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0A11
muted
#7D7C80