#545FD5#545FD5
#545FD5 is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.2% C 0.179 H 274.7°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #545FD5 |
|---|---|
| RGB | rgb(84, 95, 213) |
| HSL | hsl(235, 61%, 58%) |
| HSV | hsv(235, 61%, 84%) |
| CMYK | cmyk(60.6%, 55.4%, 0%, 16.5%) |
| CIE-LAB | lab(45.46, 31.27, -62.24) |
| CIE-LCH | lch(45.46, 69.65, 296.67°) |
| OKLab | oklab(54.21% 0.0147 -0.1787) |
| OKLCH | oklch(54.21% 0.179 274.7) |
| XYZ | xyz(19.7547, 14.8718, 64.7674) |
| Luminance | 0.1487 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.64
Dark Periwinkle
#665FD1
ΔE00 3.09
Iris
#6258C4
ΔE00 4.33
Slate Blue
#6A5ACD
ΔE00 4.53
Royal Blue
#4169E1
ΔE00 4.83
Light Indigo
#6D5ACF
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545FD5 #D5CA54
analogous
#549FD5 #545FD5 #8954D5
triadic
#545FD5 #D5545F #5FD554
tetradic
#545FD5 #D5549F #D5CA54 #54D589
square
#545FD5 #D5549F #D5CA54 #54D589
split-complementary
#545FD5 #D58954 #9FD554
monochromatic
#222B8C #2E3BBD #545FD5 #858DE1 #B6BBED
Accessibility & contrast
On white
5.28
#545FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#545FD5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545FD5
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545FD5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545FD5 | 1.00 | 5.28 | 3.97 | 5.28 |
| #FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071D9
Deuteranopia (green-blind)
#0066D3
Tritanopia (blue-blind)
#007B91
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #545fd5; /* rgb */ color: rgb(84, 95, 213); /* oklch */ color: oklch(54.2% 0.179 274.7);
Tailwind
colors: {
custom: {
50: '#908ce3',
500: '#545fd5',
950: '#000000',
},
}SCSS
$custom: #545fd5; $custom-light: #908ce3; $custom-dark: #000000;
JSON
{
"hex": "#545fd5",
"rgb": {
"r": 84,
"g": 95,
"b": 213
},
"hsl": {
"h": 234.884,
"s": 60.563,
"l": 58.235
},
"oklch": {
"l": 0.54209,
"c": 0.17928,
"h": 274.7
},
"luminance": 0.14873
}Semantic roles & 50–950 ramp
primary
#545FD5
secondary
#DCD8A9
accent
#D644E4
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C15
muted
#7E7D84