#545199#545199
#545199 is a mid, moderate blue. Relative luminance 0.101; OKLCH L 47.3% C 0.114 H 283.0°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).
Color values
| HEX | #545199 |
|---|---|
| RGB | rgb(84, 81, 153) |
| HSL | hsl(243, 31%, 46%) |
| HSV | hsv(243, 47%, 60%) |
| CMYK | cmyk(45.1%, 47.1%, 0%, 40%) |
| CIE-LAB | lab(37.97, 20.61, -39.12) |
| CIE-LCH | lch(37.97, 44.22, 297.78°) |
| OKLab | oklab(47.33% 0.0257 -0.1108) |
| OKLCH | oklch(47.33% 0.114 283) |
| XYZ | xyz(12.3467, 10.0690, 31.4238) |
| Luminance | 0.1007 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 2.91
Blueberry
#464196
ΔE00 5.25
Dusk
#4E5481
ΔE00 5.46
Darkslateblue
#483D8B
ΔE00 6.31
Ocean Blue
#4F42B5
ΔE00 7.05
Dusky Blue
#475F94
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545199 #969951
analogous
#517299 #545199 #785199
triadic
#545199 #995451 #519954
tetradic
#545199 #995172 #969951 #519978
square
#545199 #995172 #969951 #519978
split-complementary
#545199 #997851 #729951
monochromatic
#282749 #3E3C71 #545199 #7573B5 #9D9BCA
Accessibility & contrast
On white
6.97
#545199 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#545199 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545199
6.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545199 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545199 | 1.00 | 6.97 | 3.01 | 6.97 |
| #FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#345C9C
Deuteranopia (green-blind)
#315797
Tritanopia (blue-blind)
#3E606D
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #545199; /* rgb */ color: rgb(84, 81, 153); /* oklch */ color: oklch(47.3% 0.114 283.0);
Tailwind
colors: {
custom: {
50: '#8881b7',
500: '#545199',
950: '#000000',
},
}SCSS
$custom: #545199; $custom-light: #8881b7; $custom-dark: #000000;
JSON
{
"hex": "#545199",
"rgb": {
"r": 84,
"g": 81,
"b": 153
},
"hsl": {
"h": 242.5,
"s": 30.769,
"l": 45.882
},
"oklch": {
"l": 0.47333,
"c": 0.11378,
"h": 283
},
"luminance": 0.1007
}Semantic roles & 50–950 ramp
primary
#545199
secondary
#B5B78F
accent
#C761C3
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0A11
muted
#7D7C80