#545299#545299
#545299 is a mid, moderate blue. Relative luminance 0.102; OKLCH L 47.5% C 0.112 H 282.5°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).
Color values
| HEX | #545299 |
|---|---|
| RGB | rgb(84, 82, 153) |
| HSL | hsl(242, 30%, 46%) |
| HSV | hsv(242, 46%, 60%) |
| CMYK | cmyk(45.1%, 46.4%, 0%, 40%) |
| CIE-LAB | lab(38.23, 19.98, -38.70) |
| CIE-LCH | lch(38.23, 43.55, 297.30°) |
| OKLab | oklab(47.53% 0.0244 -0.1096) |
| OKLCH | oklch(47.53% 0.112 282.5) |
| XYZ | xyz(12.4215, 10.2188, 31.4487) |
| Luminance | 0.1022 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 2.79
Dusk
#4E5481
ΔE00 5.28
Blueberry
#464196
ΔE00 5.56
Darkslateblue
#483D8B
ΔE00 6.63
Dusky Blue
#475F94
ΔE00 6.85
Ocean Blue
#4F42B5
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545299 #979952
analogous
#527399 #545299 #775299
triadic
#545299 #995452 #529954
tetradic
#545299 #995273 #979952 #529977
square
#545299 #995273 #979952 #529977
split-complementary
#545299 #997752 #739952
monochromatic
#282749 #3E3D71 #545299 #7674B4 #9D9CCA
Accessibility & contrast
On white
6.90
#545299 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#545299 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545299
6.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545299 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545299 | 1.00 | 6.90 | 3.04 | 6.90 |
| #FFFFFF | 6.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#365C9C
Deuteranopia (green-blind)
#335897
Tritanopia (blue-blind)
#3E616E
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #545299; /* rgb */ color: rgb(84, 82, 153); /* oklch */ color: oklch(47.5% 0.112 282.5);
Tailwind
colors: {
custom: {
50: '#8882b7',
500: '#545299',
950: '#000000',
},
}SCSS
$custom: #545299; $custom-light: #8882b7; $custom-dark: #000000;
JSON
{
"hex": "#545299",
"rgb": {
"r": 84,
"g": 82,
"b": 153
},
"hsl": {
"h": 241.69,
"s": 30.213,
"l": 46.078
},
"oklch": {
"l": 0.47534,
"c": 0.11227,
"h": 282.5
},
"luminance": 0.10219
}Semantic roles & 50–950 ramp
primary
#545299
secondary
#B6B790
accent
#C661C4
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0A11
muted
#7D7C80