#545ED5#545ED5
#545ED5 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.0% C 0.181 H 275.0°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #545ED5 |
|---|---|
| RGB | rgb(84, 94, 213) |
| HSL | hsl(235, 61%, 58%) |
| HSV | hsv(235, 61%, 84%) |
| CMYK | cmyk(60.6%, 55.9%, 0%, 16.5%) |
| CIE-LAB | lab(45.21, 31.89, -62.64) |
| CIE-LCH | lch(45.21, 70.29, 296.98°) |
| OKLab | oklab(54.02% 0.0157 -0.1799) |
| OKLCH | oklch(54.02% 0.181 275) |
| XYZ | xyz(19.6652, 14.6928, 64.7376) |
| Luminance | 0.1469 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.36
Dark Periwinkle
#665FD1
ΔE00 3.03
Iris
#6258C4
ΔE00 4.11
Slate Blue
#6A5ACD
ΔE00 4.35
Light Indigo
#6D5ACF
ΔE00 4.79
Azul
#1D5DEC
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545ED5 #D5CB54
analogous
#549ED5 #545ED5 #8A54D5
triadic
#545ED5 #D5545E #5ED554
tetradic
#545ED5 #D5549E #D5CB54 #54D58A
square
#545ED5 #D5549E #D5CB54 #54D58A
split-complementary
#545ED5 #D58A54 #9ED554
monochromatic
#222B8C #2E3ABD #545ED5 #858CE1 #B6BBED
Accessibility & contrast
On white
5.33
#545ED5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#545ED5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545ED5
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545ED5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545ED5 | 1.00 | 5.33 | 3.94 | 5.33 |
| #FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071D9
Deuteranopia (green-blind)
#0066D3
Tritanopia (blue-blind)
#007A90
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #545ed5; /* rgb */ color: rgb(84, 94, 213); /* oklch */ color: oklch(54.0% 0.181 275.0);
Tailwind
colors: {
custom: {
50: '#908be3',
500: '#545ed5',
950: '#000000',
},
}SCSS
$custom: #545ed5; $custom-light: #908be3; $custom-dark: #000000;
JSON
{
"hex": "#545ed5",
"rgb": {
"r": 84,
"g": 94,
"b": 213
},
"hsl": {
"h": 235.349,
"s": 60.563,
"l": 58.235
},
"oklch": {
"l": 0.54024,
"c": 0.18054,
"h": 275
},
"luminance": 0.14694
}Semantic roles & 50–950 ramp
primary
#545ED5
secondary
#DCD8A9
accent
#D744E4
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C15
muted
#7E7D84