#545ED8#545ED8
#545ED8 is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.3% C 0.185 H 274.9°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #545ED8 |
|---|---|
| RGB | rgb(84, 94, 216) |
| HSL | hsl(235, 63%, 59%) |
| HSV | hsv(235, 61%, 85%) |
| CMYK | cmyk(61.1%, 56.5%, 0%, 15.3%) |
| CIE-LAB | lab(45.42, 32.88, -64.01) |
| CIE-LCH | lch(45.42, 71.96, 297.19°) |
| OKLab | oklab(54.25% 0.0157 -0.1839) |
| OKLCH | oklch(54.25% 0.185 274.9) |
| XYZ | xyz(20.0495, 14.8465, 66.7615) |
| Luminance | 0.1485 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.30
Dark Periwinkle
#665FD1
ΔE00 3.06
Iris
#6258C4
ΔE00 4.32
Slate Blue
#6A5ACD
ΔE00 4.41
Light Indigo
#6D5ACF
ΔE00 4.81
Azul
#1D5DEC
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545ED8 #D8CE54
analogous
#54A0D8 #545ED8 #8C54D8
triadic
#545ED8 #D8545E #5ED854
tetradic
#545ED8 #D854A0 #D8CE54 #54D88C
square
#545ED8 #D854A0 #D8CE54 #54D88C
split-complementary
#545ED8 #D88C54 #A0D854
monochromatic
#212991 #2C38C2 #545ED8 #868DE3 #B8BCEF
Accessibility & contrast
On white
5.29
#545ED8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#545ED8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545ED8
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545ED8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545ED8 | 1.00 | 5.29 | 3.97 | 5.29 |
| #FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071DC
Deuteranopia (green-blind)
#0066D6
Tritanopia (blue-blind)
#007B92
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #545ed8; /* rgb */ color: rgb(84, 94, 216); /* oklch */ color: oklch(54.3% 0.185 274.9);
Tailwind
colors: {
custom: {
50: '#918be5',
500: '#545ed8',
950: '#000000',
},
}SCSS
$custom: #545ed8; $custom-light: #918be5; $custom-dark: #000000;
JSON
{
"hex": "#545ed8",
"rgb": {
"r": 84,
"g": 94,
"b": 216
},
"hsl": {
"h": 235.455,
"s": 62.857,
"l": 58.824
},
"oklch": {
"l": 0.5425,
"c": 0.18456,
"h": 274.9
},
"luminance": 0.14848
}Semantic roles & 50–950 ramp
primary
#545ED8
secondary
#DEDAAA
accent
#D942E6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84