#545ED7#545ED7
#545ED7 is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.2% C 0.183 H 274.9°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #545ED7 |
|---|---|
| RGB | rgb(84, 94, 215) |
| HSL | hsl(235, 62%, 59%) |
| HSV | hsv(235, 61%, 84%) |
| CMYK | cmyk(60.9%, 56.3%, 0%, 15.7%) |
| CIE-LAB | lab(45.35, 32.55, -63.55) |
| CIE-LCH | lch(45.35, 71.40, 297.12°) |
| OKLab | oklab(54.17% 0.0157 -0.1825) |
| OKLCH | oklch(54.17% 0.183 274.9) |
| XYZ | xyz(19.9206, 14.7949, 66.0828) |
| Luminance | 0.1480 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.31
Dark Periwinkle
#665FD1
ΔE00 3.05
Iris
#6258C4
ΔE00 4.25
Slate Blue
#6A5ACD
ΔE00 4.39
Light Indigo
#6D5ACF
ΔE00 4.80
Azul
#1D5DEC
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545ED7 #D7CD54
analogous
#549FD7 #545ED7 #8B54D7
triadic
#545ED7 #D7545E #5ED754
tetradic
#545ED7 #D7549F #D7CD54 #54D78B
square
#545ED7 #D7549F #D7CD54 #54D78B
split-complementary
#545ED7 #D78B54 #9FD754
monochromatic
#212A8F #2D38C1 #545ED7 #868DE3 #B7BBEE
Accessibility & contrast
On white
5.30
#545ED7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#545ED7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545ED7
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545ED7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545ED7 | 1.00 | 5.30 | 3.96 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071DB
Deuteranopia (green-blind)
#0066D5
Tritanopia (blue-blind)
#007B91
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #545ed7; /* rgb */ color: rgb(84, 94, 215); /* oklch */ color: oklch(54.2% 0.183 274.9);
Tailwind
colors: {
custom: {
50: '#908be4',
500: '#545ed7',
950: '#000000',
},
}SCSS
$custom: #545ed7; $custom-light: #908be4; $custom-dark: #000000;
JSON
{
"hex": "#545ed7",
"rgb": {
"r": 84,
"g": 94,
"b": 215
},
"hsl": {
"h": 235.42,
"s": 62.085,
"l": 58.627
},
"oklch": {
"l": 0.54174,
"c": 0.18322,
"h": 274.9
},
"luminance": 0.14797
}Semantic roles & 50–950 ramp
primary
#545ED7
secondary
#DDD9A9
accent
#D943E5
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84