#545ED6#545ED6
#545ED6 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.1% C 0.182 H 274.9°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #545ED6 |
|---|---|
| RGB | rgb(84, 94, 214) |
| HSL | hsl(235, 61%, 58%) |
| HSV | hsv(235, 61%, 84%) |
| CMYK | cmyk(60.7%, 56.1%, 0%, 16.1%) |
| CIE-LAB | lab(45.28, 32.22, -63.10) |
| CIE-LCH | lch(45.28, 70.85, 297.05°) |
| OKLab | oklab(54.1% 0.0157 -0.1812) |
| OKLCH | oklch(54.1% 0.182 274.9) |
| XYZ | xyz(19.7925, 14.7437, 65.4081) |
| Luminance | 0.1474 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.33
Dark Periwinkle
#665FD1
ΔE00 3.04
Iris
#6258C4
ΔE00 4.18
Slate Blue
#6A5ACD
ΔE00 4.37
Light Indigo
#6D5ACF
ΔE00 4.79
Azul
#1D5DEC
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545ED6 #D6CC54
analogous
#549FD6 #545ED6 #8B54D6
triadic
#545ED6 #D6545E #5ED654
tetradic
#545ED6 #D6549F #D6CC54 #54D68B
square
#545ED6 #D6549F #D6CC54 #54D68B
split-complementary
#545ED6 #D68B54 #9FD654
monochromatic
#222A8E #2E39BF #545ED6 #858CE2 #B7BBEE
Accessibility & contrast
On white
5.32
#545ED6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#545ED6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545ED6
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545ED6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545ED6 | 1.00 | 5.32 | 3.95 | 5.32 |
| #FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071DA
Deuteranopia (green-blind)
#0066D4
Tritanopia (blue-blind)
#007B91
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #545ed6; /* rgb */ color: rgb(84, 94, 214); /* oklch */ color: oklch(54.1% 0.182 274.9);
Tailwind
colors: {
custom: {
50: '#908be3',
500: '#545ed6',
950: '#000000',
},
}SCSS
$custom: #545ed6; $custom-light: #908be3; $custom-dark: #000000;
JSON
{
"hex": "#545ed6",
"rgb": {
"r": 84,
"g": 94,
"b": 214
},
"hsl": {
"h": 235.385,
"s": 61.321,
"l": 58.431
},
"oklch": {
"l": 0.54099,
"c": 0.18189,
"h": 274.9
},
"luminance": 0.14745
}Semantic roles & 50–950 ramp
primary
#545ED6
secondary
#DDD9A9
accent
#D843E4
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84