#545397#545397
#545397 is a mid, moderate blue. Relative luminance 0.103; OKLCH L 47.6% C 0.108 H 282.2°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #545397 |
|---|---|
| RGB | rgb(84, 83, 151) |
| HSL | hsl(241, 29%, 46%) |
| HSV | hsv(241, 45%, 59%) |
| CMYK | cmyk(44.4%, 45%, 0%, 40.8%) |
| CIE-LAB | lab(38.38, 18.72, -37.25) |
| CIE-LCH | lch(38.38, 41.69, 296.68°) |
| OKLab | oklab(47.61% 0.0227 -0.1054) |
| OKLCH | oklch(47.61% 0.108 282.2) |
| XYZ | xyz(12.3337, 10.3052, 30.6114) |
| Luminance | 0.1031 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 2.38
Dusk
#4E5481
ΔE00 4.78
Blueberry
#464196
ΔE00 5.97
Dusky Blue
#475F94
ΔE00 6.54
Darkslateblue
#483D8B
ΔE00 6.94
Denim Blue
#3B5B92
ΔE00 7.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545397 #969753
analogous
#537497 #545397 #765397
triadic
#545397 #975453 #539754
tetradic
#545397 #975374 #969753 #539776
square
#545397 #975374 #969753 #539776
split-complementary
#545397 #977653 #749753
monochromatic
#282848 #3E3D70 #545397 #7574B3 #9D9CC9
Accessibility & contrast
On white
6.86
#545397 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#545397 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545397
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545397 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545397 | 1.00 | 6.86 | 3.06 | 6.86 |
| #FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#395D9A
Deuteranopia (green-blind)
#365895
Tritanopia (blue-blind)
#3F616D
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #545397; /* rgb */ color: rgb(84, 83, 151); /* oklch */ color: oklch(47.6% 0.108 282.2);
Tailwind
colors: {
custom: {
50: '#8883b6',
500: '#545397',
950: '#000000',
},
}SCSS
$custom: #545397; $custom-light: #8883b6; $custom-dark: #000000;
JSON
{
"hex": "#545397",
"rgb": {
"r": 84,
"g": 83,
"b": 151
},
"hsl": {
"h": 240.882,
"s": 29.06,
"l": 45.882
},
"oklch": {
"l": 0.47612,
"c": 0.10778,
"h": 282.2
},
"luminance": 0.10306
}Semantic roles & 50–950 ramp
primary
#545397
secondary
#B5B690
accent
#C562C4
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0A11
muted
#7D7C80