#545297#545297
#545297 is a mid, moderate blue. Relative luminance 0.102; OKLCH L 47.4% C 0.109 H 282.7°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).
Color values
| HEX | #545297 |
|---|---|
| RGB | rgb(84, 82, 151) |
| HSL | hsl(242, 30%, 46%) |
| HSV | hsv(242, 46%, 59%) |
| CMYK | cmyk(44.4%, 45.7%, 0%, 40.8%) |
| CIE-LAB | lab(38.12, 19.36, -37.68) |
| CIE-LCH | lch(38.12, 42.36, 297.19°) |
| OKLab | oklab(47.41% 0.024 -0.1066) |
| OKLCH | oklch(47.41% 0.109 282.7) |
| XYZ | xyz(12.2577, 10.1532, 30.5861) |
| Luminance | 0.1015 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 2.46
Dusk
#4E5481
ΔE00 4.95
Blueberry
#464196
ΔE00 5.66
Darkslateblue
#483D8B
ΔE00 6.61
Dusky Blue
#475F94
ΔE00 6.85
Ocean Blue
#4F42B5
ΔE00 7.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545297 #959752
analogous
#527297 #545297 #765297
triadic
#545297 #975452 #529754
tetradic
#545297 #975272 #959752 #529776
square
#545297 #975272 #959752 #529776
split-complementary
#545297 #977652 #729752
monochromatic
#282748 #3E3C6F #545297 #7573B3 #9C9BC9
Accessibility & contrast
On white
6.93
#545297 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#545297 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545297
6.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545297 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545297 | 1.00 | 6.93 | 3.03 | 6.93 |
| #FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#385C9A
Deuteranopia (green-blind)
#345795
Tritanopia (blue-blind)
#3F606D
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #545297; /* rgb */ color: rgb(84, 82, 151); /* oklch */ color: oklch(47.4% 0.109 282.7);
Tailwind
colors: {
custom: {
50: '#8882b6',
500: '#545297',
950: '#000000',
},
}SCSS
$custom: #545297; $custom-light: #8882b6; $custom-dark: #000000;
JSON
{
"hex": "#545297",
"rgb": {
"r": 84,
"g": 82,
"b": 151
},
"hsl": {
"h": 241.739,
"s": 29.614,
"l": 45.686
},
"oklch": {
"l": 0.47408,
"c": 0.10929,
"h": 282.7
},
"luminance": 0.10154
}Semantic roles & 50–950 ramp
primary
#545297
secondary
#B4B68F
accent
#C662C3
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0A11
muted
#7D7C80