#545CD7#545CD7
#545CD7 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.8% C 0.186 H 275.4°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #545CD7 |
|---|---|
| RGB | rgb(84, 92, 215) |
| HSL | hsl(236, 62%, 59%) |
| HSV | hsv(236, 61%, 84%) |
| CMYK | cmyk(60.9%, 57.2%, 0%, 15.7%) |
| CIE-LAB | lab(44.86, 33.79, -64.35) |
| CIE-LCH | lch(44.86, 72.68, 297.70°) |
| OKLab | oklab(53.81% 0.0176 -0.1849) |
| OKLCH | oklch(53.81% 0.186 275.4) |
| XYZ | xyz(19.7450, 14.4438, 66.0242) |
| Luminance | 0.1444 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.80
Dark Periwinkle
#665FD1
ΔE00 3.04
Iris
#6258C4
ΔE00 3.90
Slate Blue
#6A5ACD
ΔE00 4.11
Light Indigo
#6D5ACF
ΔE00 4.53
Azul
#1D5DEC
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545CD7 #D7CF54
analogous
#549DD7 #545CD7 #8D54D7
triadic
#545CD7 #D7545C #5CD754
tetradic
#545CD7 #D7549D #D7CF54 #54D78D
square
#545CD7 #D7549D #D7CF54 #54D78D
split-complementary
#545CD7 #D78D54 #9DD754
monochromatic
#21288F #2D36C1 #545CD7 #868BE3 #B7BBEE
Accessibility & contrast
On white
5.40
#545CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#545CD7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545CD7
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545CD7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545CD7 | 1.00 | 5.40 | 3.89 | 5.40 |
| #FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070DB
Deuteranopia (green-blind)
#0065D5
Tritanopia (blue-blind)
#007A90
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #545cd7; /* rgb */ color: rgb(84, 92, 215); /* oklch */ color: oklch(53.8% 0.186 275.4);
Tailwind
colors: {
custom: {
50: '#918ae4',
500: '#545cd7',
950: '#000000',
},
}SCSS
$custom: #545cd7; $custom-light: #918ae4; $custom-dark: #000000;
JSON
{
"hex": "#545cd7",
"rgb": {
"r": 84,
"g": 92,
"b": 215
},
"hsl": {
"h": 236.336,
"s": 62.085,
"l": 58.627
},
"oklch": {
"l": 0.5381,
"c": 0.18573,
"h": 275.4
},
"luminance": 0.14445
}Semantic roles & 50–950 ramp
primary
#545CD7
secondary
#DDDAA9
accent
#DB43E5
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B16
muted
#7E7C84