#545797#545797
#545797 is a mid, moderate blue. Relative luminance 0.109; OKLCH L 48.4% C 0.102 H 279.8°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #545797 |
|---|---|
| RGB | rgb(84, 87, 151) |
| HSL | hsl(237, 29%, 46%) |
| HSV | hsv(237, 44%, 59%) |
| CMYK | cmyk(44.4%, 42.4%, 0%, 40.8%) |
| CIE-LAB | lab(39.47, 16.17, -35.53) |
| CIE-LCH | lch(39.47, 39.04, 294.48°) |
| OKLab | oklab(48.44% 0.0174 -0.1003) |
| OKLCH | oklch(48.44% 0.102 279.8) |
| XYZ | xyz(12.6486, 10.9350, 30.7164) |
| Luminance | 0.1094 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 2.63
Dusk
#4E5481
ΔE00 4.34
Dusky Blue
#475F94
ΔE00 5.33
Denim Blue
#3B5B92
ΔE00 6.74
Blueberry
#464196
ΔE00 7.28
Iris
#6258C4
ΔE00 7.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545797 #979454
analogous
#547897 #545797 #725497
triadic
#545797 #975457 #579754
tetradic
#545797 #975478 #979454 #549772
square
#545797 #975478 #979454 #549772
split-complementary
#545797 #977254 #789754
monochromatic
#282A48 #3E4070 #545797 #7678B3 #9D9FC8
Accessibility & contrast
On white
6.59
#545797 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#545797 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545797
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545797 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545797 | 1.00 | 6.59 | 3.19 | 6.59 |
| #FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F6099
Deuteranopia (green-blind)
#3B5B96
Tritanopia (blue-blind)
#3E646F
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #545797; /* rgb */ color: rgb(84, 87, 151); /* oklch */ color: oklch(48.4% 0.102 279.8);
Tailwind
colors: {
custom: {
50: '#8886b6',
500: '#545797',
950: '#000000',
},
}SCSS
$custom: #545797; $custom-light: #8886b6; $custom-dark: #000000;
JSON
{
"hex": "#545797",
"rgb": {
"r": 84,
"g": 87,
"b": 151
},
"hsl": {
"h": 237.313,
"s": 28.511,
"l": 46.078
},
"oklch": {
"l": 0.48439,
"c": 0.1018,
"h": 279.8
},
"luminance": 0.10936
}Semantic roles & 50–950 ramp
primary
#545797
secondary
#B6B491
accent
#C063C5
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0B11
muted
#7D7C80