#545AE1#545AE1
#545AE1 is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.2% C 0.201 H 275.5°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #545AE1 |
|---|---|
| RGB | rgb(84, 90, 225) |
| HSL | hsl(237, 70%, 61%) |
| HSV | hsv(237, 63%, 88%) |
| CMYK | cmyk(62.7%, 60%, 0%, 11.8%) |
| CIE-LAB | lab(45.13, 38.31, -69.61) |
| CIE-LCH | lch(45.13, 79.46, 298.83°) |
| OKLab | oklab(54.24% 0.0192 -0.2004) |
| OKLCH | oklch(54.24% 0.201 275.5) |
| XYZ | xyz(20.8985, 14.6317, 72.9425) |
| Luminance | 0.1463 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.74
Dark Periwinkle
#665FD1
ΔE00 3.54
Slate Blue
#6A5ACD
ΔE00 4.38
Iris
#6258C4
ΔE00 4.60
Light Indigo
#6D5ACF
ΔE00 4.65
Azul
#1D5DEC
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545AE1 #E1DB54
analogous
#54A0E1 #545AE1 #9454E1
triadic
#545AE1 #E1545A #5AE154
tetradic
#545AE1 #E154A0 #E1DB54 #54E194
square
#545AE1 #E154A0 #E1DB54 #54E194
split-complementary
#545AE1 #E19454 #A0E154
monochromatic
#1C219F #252CD3 #545AE1 #888CEA #BCBEF3
Accessibility & contrast
On white
5.35
#545AE1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#545AE1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545AE1
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545AE1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545AE1 | 1.00 | 5.35 | 3.93 | 5.35 |
| #FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071E5
Deuteranopia (green-blind)
#0065DE
Tritanopia (blue-blind)
#007B95
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #545ae1; /* rgb */ color: rgb(84, 90, 225); /* oklch */ color: oklch(54.2% 0.201 275.5);
Tailwind
colors: {
custom: {
50: '#9289eb',
500: '#545ae1',
950: '#000000',
},
}SCSS
$custom: #545ae1; $custom-light: #9289eb; $custom-dark: #000000;
JSON
{
"hex": "#545ae1",
"rgb": {
"r": 84,
"g": 90,
"b": 225
},
"hsl": {
"h": 237.447,
"s": 70.149,
"l": 60.588
},
"oklch": {
"l": 0.54237,
"c": 0.20131,
"h": 275.5
},
"luminance": 0.14633
}Semantic roles & 50–950 ramp
primary
#545AE1
secondary
#E3E1AE
accent
#CA13D2
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84