#545FD4#545FD4
#545FD4 is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.1% C 0.178 H 274.7°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #545FD4 |
|---|---|
| RGB | rgb(84, 95, 212) |
| HSL | hsl(235, 60%, 58%) |
| HSV | hsv(235, 60%, 83%) |
| CMYK | cmyk(60.4%, 55.2%, 0%, 16.9%) |
| CIE-LAB | lab(45.39, 30.94, -61.78) |
| CIE-LCH | lch(45.39, 69.09, 296.60°) |
| OKLab | oklab(54.13% 0.0147 -0.1773) |
| OKLCH | oklch(54.13% 0.178 274.7) |
| XYZ | xyz(19.6281, 14.8212, 64.1010) |
| Luminance | 0.1482 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.68
Dark Periwinkle
#665FD1
ΔE00 3.09
Iris
#6258C4
ΔE00 4.27
Slate Blue
#6A5ACD
ΔE00 4.52
Royal Blue
#4169E1
ΔE00 4.87
Light Indigo
#6D5ACF
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545FD4 #D4C954
analogous
#549FD4 #545FD4 #8954D4
triadic
#545FD4 #D4545F #5FD454
tetradic
#545FD4 #D4549F #D4C954 #54D489
square
#545FD4 #D4549F #D4C954 #54D489
split-complementary
#545FD4 #D48954 #9FD454
monochromatic
#232C8B #2F3BBC #545FD4 #858DE0 #B6BBED
Accessibility & contrast
On white
5.30
#545FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#545FD4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545FD4
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545FD4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545FD4 | 1.00 | 5.30 | 3.96 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071D8
Deuteranopia (green-blind)
#0066D2
Tritanopia (blue-blind)
#007B90
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #545fd4; /* rgb */ color: rgb(84, 95, 212); /* oklch */ color: oklch(54.1% 0.178 274.7);
Tailwind
colors: {
custom: {
50: '#908ce2',
500: '#545fd4',
950: '#000000',
},
}SCSS
$custom: #545fd4; $custom-light: #908ce2; $custom-dark: #000000;
JSON
{
"hex": "#545fd4",
"rgb": {
"r": 84,
"g": 95,
"b": 212
},
"hsl": {
"h": 234.844,
"s": 59.813,
"l": 58.039
},
"oklch": {
"l": 0.54134,
"c": 0.17793,
"h": 274.7
},
"luminance": 0.14823
}Semantic roles & 50–950 ramp
primary
#545FD4
secondary
#DBD7A8
accent
#D545E3
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83