#545795#545795
#545795 is a mid, moderate blue. Relative luminance 0.109; OKLCH L 48.3% C 0.099 H 279.9°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #545795 |
|---|---|
| RGB | rgb(84, 87, 149) |
| HSL | hsl(237, 28%, 46%) |
| HSV | hsv(237, 44%, 58%) |
| CMYK | cmyk(43.6%, 41.6%, 0%, 41.6%) |
| CIE-LAB | lab(39.36, 15.56, -34.50) |
| CIE-LCH | lch(39.36, 37.85, 294.27°) |
| OKLab | oklab(48.32% 0.017 -0.0973) |
| OKLCH | oklch(48.32% 0.099 279.9) |
| XYZ | xyz(12.4876, 10.8706, 29.8682) |
| Luminance | 0.1087 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 2.40
Dusk
#4E5481
ΔE00 3.98
Dusky Blue
#475F94
ΔE00 5.36
Denim Blue
#3B5B92
ΔE00 6.79
Blueberry
#464196
ΔE00 7.41
Iris
#6258C4
ΔE00 8.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545795 #959254
analogous
#547795 #545795 #715495
triadic
#545795 #955457 #579554
tetradic
#545795 #955477 #959254 #549571
square
#545795 #955477 #959254 #549571
split-complementary
#545795 #957154 #779554
monochromatic
#282947 #3E406E #545795 #7578B1 #9C9EC7
Accessibility & contrast
On white
6.62
#545795 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#545795 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545795
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545795 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545795 | 1.00 | 6.62 | 3.17 | 6.62 |
| #FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#415F97
Deuteranopia (green-blind)
#3D5A94
Tritanopia (blue-blind)
#3F646F
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #545795; /* rgb */ color: rgb(84, 87, 149); /* oklch */ color: oklch(48.3% 0.099 279.9);
Tailwind
colors: {
custom: {
50: '#8786b4',
500: '#545795',
950: '#000000',
},
}SCSS
$custom: #545795; $custom-light: #8786b4; $custom-dark: #000000;
JSON
{
"hex": "#545795",
"rgb": {
"r": 84,
"g": 87,
"b": 149
},
"hsl": {
"h": 237.231,
"s": 27.897,
"l": 45.686
},
"oklch": {
"l": 0.4832,
"c": 0.09877,
"h": 279.9
},
"luminance": 0.10871
}Semantic roles & 50–950 ramp
primary
#545795
secondary
#B4B390
accent
#C064C4
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0B0B11
muted
#7C7C80