#545CD4#545CD4
#545CD4 is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.6% C 0.182 H 275.5°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #545CD4 |
|---|---|
| RGB | rgb(84, 92, 212) |
| HSL | hsl(236, 60%, 58%) |
| HSV | hsv(236, 60%, 83%) |
| CMYK | cmyk(60.4%, 56.6%, 0%, 16.9%) |
| CIE-LAB | lab(44.65, 32.79, -62.98) |
| CIE-LCH | lch(44.65, 71.01, 297.50°) |
| OKLab | oklab(53.58% 0.0175 -0.1809) |
| OKLCH | oklch(53.58% 0.182 275.5) |
| XYZ | xyz(19.3631, 14.2911, 64.0127) |
| Luminance | 0.1429 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.91
Dark Periwinkle
#665FD1
ΔE00 3.02
Iris
#6258C4
ΔE00 3.68
Slate Blue
#6A5ACD
ΔE00 4.06
Light Indigo
#6D5ACF
ΔE00 4.52
Azul
#1D5DEC
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545CD4 #D4CC54
analogous
#549CD4 #545CD4 #8C54D4
triadic
#545CD4 #D4545C #5CD454
tetradic
#545CD4 #D4549C #D4CC54 #54D48C
square
#545CD4 #D4549C #D4CC54 #54D48C
split-complementary
#545CD4 #D48C54 #9CD454
monochromatic
#23298B #2F38BC #545CD4 #858BE0 #B6B9ED
Accessibility & contrast
On white
5.44
#545CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#545CD4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545CD4
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545CD4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545CD4 | 1.00 | 5.44 | 3.86 | 5.44 |
| #FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FD8
Deuteranopia (green-blind)
#0064D2
Tritanopia (blue-blind)
#00798F
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #545cd4; /* rgb */ color: rgb(84, 92, 212); /* oklch */ color: oklch(53.6% 0.182 275.5);
Tailwind
colors: {
custom: {
50: '#908ae2',
500: '#545cd4',
950: '#000000',
},
}SCSS
$custom: #545cd4; $custom-light: #908ae2; $custom-dark: #000000;
JSON
{
"hex": "#545cd4",
"rgb": {
"r": 84,
"g": 92,
"b": 212
},
"hsl": {
"h": 236.25,
"s": 59.813,
"l": 58.039
},
"oklch": {
"l": 0.53582,
"c": 0.18173,
"h": 275.5
},
"luminance": 0.14293
}Semantic roles & 50–950 ramp
primary
#545CD4
secondary
#DBD8A8
accent
#D945E3
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83