#545ED9#545ED9
#545ED9 is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.3% C 0.186 H 274.9°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #545ED9 |
|---|---|
| RGB | rgb(84, 94, 217) |
| HSL | hsl(235, 64%, 59%) |
| HSV | hsv(235, 61%, 85%) |
| CMYK | cmyk(61.3%, 56.7%, 0%, 14.9%) |
| CIE-LAB | lab(45.49, 33.22, -64.46) |
| CIE-LCH | lch(45.49, 72.52, 297.26°) |
| OKLab | oklab(54.33% 0.0157 -0.1852) |
| OKLCH | oklch(54.33% 0.186 274.9) |
| XYZ | xyz(20.1791, 14.8984, 67.4445) |
| Luminance | 0.1490 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.29
Dark Periwinkle
#665FD1
ΔE00 3.09
Iris
#6258C4
ΔE00 4.40
Slate Blue
#6A5ACD
ΔE00 4.44
Light Indigo
#6D5ACF
ΔE00 4.82
Azul
#1D5DEC
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545ED9 #D9CF54
analogous
#54A1D9 #545ED9 #8D54D9
triadic
#545ED9 #D9545E #5ED954
tetradic
#545ED9 #D954A1 #D9CF54 #54D98D
square
#545ED9 #D954A1 #D9CF54 #54D98D
split-complementary
#545ED9 #D98D54 #A1D954
monochromatic
#202992 #2C37C4 #545ED9 #868DE4 #B8BCEF
Accessibility & contrast
On white
5.28
#545ED9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#545ED9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545ED9
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545ED9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545ED9 | 1.00 | 5.28 | 3.98 | 5.28 |
| #FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072DD
Deuteranopia (green-blind)
#0066D7
Tritanopia (blue-blind)
#007B92
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #545ed9; /* rgb */ color: rgb(84, 94, 217); /* oklch */ color: oklch(54.3% 0.186 274.9);
Tailwind
colors: {
custom: {
50: '#918be6',
500: '#545ed9',
950: '#000000',
},
}SCSS
$custom: #545ed9; $custom-light: #918be6; $custom-dark: #000000;
JSON
{
"hex": "#545ed9",
"rgb": {
"r": 84,
"g": 94,
"b": 217
},
"hsl": {
"h": 235.489,
"s": 63.636,
"l": 59.02
},
"oklch": {
"l": 0.54325,
"c": 0.18589,
"h": 274.9
},
"luminance": 0.149
}Semantic roles & 50–950 ramp
primary
#545ED9
secondary
#DFDBAA
accent
#DA41E7
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84