#545ED1#545ED1
#545ED1 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.7% C 0.175 H 275.1°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #545ED1 |
|---|---|
| RGB | rgb(84, 94, 209) |
| HSL | hsl(235, 58%, 57%) |
| HSV | hsv(235, 60%, 82%) |
| CMYK | cmyk(59.8%, 55%, 0%, 18%) |
| CIE-LAB | lab(44.93, 30.56, -60.80) |
| CIE-LCH | lch(44.93, 68.05, 296.68°) |
| OKLab | oklab(53.73% 0.0155 -0.1745) |
| OKLCH | oklch(53.73% 0.175 275.1) |
| XYZ | xyz(19.1637, 14.4922, 62.0966) |
| Luminance | 0.1449 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.56
Dark Periwinkle
#665FD1
ΔE00 3.07
Iris
#6258C4
ΔE00 3.88
Slate Blue
#6A5ACD
ΔE00 4.33
Light Indigo
#6D5ACF
ΔE00 4.81
Azul
#1D5DEC
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545ED1 #D1C754
analogous
#549DD1 #545ED1 #8954D1
triadic
#545ED1 #D1545E #5ED154
tetradic
#545ED1 #D1549D #D1C754 #54D189
square
#545ED1 #D1549D #D1C754 #54D189
split-complementary
#545ED1 #D18954 #9DD154
monochromatic
#242C86 #313CB7 #545ED1 #848BDE #B4B9EB
Accessibility & contrast
On white
5.39
#545ED1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#545ED1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545ED1
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545ED1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545ED1 | 1.00 | 5.39 | 3.90 | 5.39 |
| #FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0270D5
Deuteranopia (green-blind)
#0065CF
Tritanopia (blue-blind)
#00798E
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #545ed1; /* rgb */ color: rgb(84, 94, 209); /* oklch */ color: oklch(53.7% 0.175 275.1);
Tailwind
colors: {
custom: {
50: '#8f8be0',
500: '#545ed1',
950: '#000000',
},
}SCSS
$custom: #545ed1; $custom-light: #8f8be0; $custom-dark: #000000;
JSON
{
"hex": "#545ed1",
"rgb": {
"r": 84,
"g": 94,
"b": 209
},
"hsl": {
"h": 235.2,
"s": 57.604,
"l": 57.451
},
"oklch": {
"l": 0.53726,
"c": 0.17515,
"h": 275.1
},
"luminance": 0.14494
}Semantic roles & 50–950 ramp
primary
#545ED1
secondary
#DAD6A7
accent
#D547E1
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83