#545DC7#545DC7
#545DC7 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.8% C 0.163 H 275.7°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #545DC7 |
|---|---|
| RGB | rgb(84, 93, 199) |
| HSL | hsl(235, 51%, 55%) |
| HSV | hsv(235, 58%, 78%) |
| CMYK | cmyk(57.8%, 53.3%, 0%, 22%) |
| CIE-LAB | lab(44.00, 27.87, -56.56) |
| CIE-LCH | lch(44.00, 63.05, 296.23°) |
| OKLab | oklab(52.81% 0.0161 -0.162) |
| OKLCH | oklch(52.81% 0.163 275.7) |
| XYZ | xyz(17.8760, 13.8357, 55.7503) |
| Luminance | 0.1384 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.28
Iris
#6258C4
ΔE00 3.37
Dark Periwinkle
#665FD1
ΔE00 3.52
Slate Blue
#6A5ACD
ΔE00 4.42
Light Indigo
#6D5ACF
ΔE00 4.99
Azul
#1D5DEC
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545DC7 #C7BE54
analogous
#5497C7 #545DC7 #8454C7
triadic
#545DC7 #C7545D #5DC754
tetradic
#545DC7 #C75497 #C7BE54 #54C784
square
#545DC7 #C75497 #C7BE54 #54C784
split-complementary
#545DC7 #C78454 #97C754
monochromatic
#282E79 #3740A7 #545DC7 #8289D6 #B0B4E5
Accessibility & contrast
On white
5.57
#545DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#545DC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545DC7
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545DC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545DC7 | 1.00 | 5.57 | 3.77 | 5.57 |
| #FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C6DCB
Deuteranopia (green-blind)
#0063C5
Tritanopia (blue-blind)
#037589
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #545dc7; /* rgb */ color: rgb(84, 93, 199); /* oklch */ color: oklch(52.8% 0.163 275.7);
Tailwind
colors: {
custom: {
50: '#8e8ad9',
500: '#545dc7',
950: '#000000',
},
}SCSS
$custom: #545dc7; $custom-light: #8e8ad9; $custom-dark: #000000;
JSON
{
"hex": "#545dc7",
"rgb": {
"r": 84,
"g": 93,
"b": 199
},
"hsl": {
"h": 235.304,
"s": 50.661,
"l": 55.49
},
"oklch": {
"l": 0.5281,
"c": 0.16278,
"h": 275.7
},
"luminance": 0.13837
}Semantic roles & 50–950 ramp
primary
#545DC7
secondary
#D3D0A3
accent
#CF4EDA
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B15
muted
#7E7C83