#545ED2#545ED2
#545ED2 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.8% C 0.176 H 275.1°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #545ED2 |
|---|---|
| RGB | rgb(84, 94, 210) |
| HSL | hsl(235, 58%, 58%) |
| HSV | hsv(235, 60%, 82%) |
| CMYK | cmyk(60%, 55.2%, 0%, 17.6%) |
| CIE-LAB | lab(45.00, 30.89, -61.26) |
| CIE-LCH | lch(45.00, 68.61, 296.76°) |
| OKLab | oklab(53.8% 0.0156 -0.1758) |
| OKLCH | oklch(53.8% 0.177 275.1) |
| XYZ | xyz(19.2879, 14.5419, 62.7507) |
| Luminance | 0.1454 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.50
Dark Periwinkle
#665FD1
ΔE00 3.05
Iris
#6258C4
ΔE00 3.93
Slate Blue
#6A5ACD
ΔE00 4.33
Light Indigo
#6D5ACF
ΔE00 4.80
Azul
#1D5DEC
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545ED2 #D2C854
analogous
#549DD2 #545ED2 #8954D2
triadic
#545ED2 #D2545E #5ED254
tetradic
#545ED2 #D2549D #D2C854 #54D289
square
#545ED2 #D2549D #D2C854 #54D289
split-complementary
#545ED2 #D28954 #9DD254
monochromatic
#242C88 #313BB8 #545ED2 #848CDF #B5B9EB
Accessibility & contrast
On white
5.37
#545ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#545ED2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545ED2
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545ED2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545ED2 | 1.00 | 5.37 | 3.91 | 5.37 |
| #FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070D6
Deuteranopia (green-blind)
#0065D0
Tritanopia (blue-blind)
#00798F
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #545ed2; /* rgb */ color: rgb(84, 94, 210); /* oklch */ color: oklch(53.8% 0.176 275.1);
Tailwind
colors: {
custom: {
50: '#908be1',
500: '#545ed2',
950: '#000000',
},
}SCSS
$custom: #545ed2; $custom-light: #908be1; $custom-dark: #000000;
JSON
{
"hex": "#545ed2",
"rgb": {
"r": 84,
"g": 94,
"b": 210
},
"hsl": {
"h": 235.238,
"s": 58.333,
"l": 57.647
},
"oklch": {
"l": 0.538,
"c": 0.1765,
"h": 275.1
},
"luminance": 0.14543
}Semantic roles & 50–950 ramp
primary
#545ED2
secondary
#DAD6A8
accent
#D546E2
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83