#545AC7#545AC7
#545AC7 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.2% C 0.167 H 276.6°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #545AC7 |
|---|---|
| RGB | rgb(84, 90, 199) |
| HSL | hsl(237, 51%, 55%) |
| HSV | hsv(237, 58%, 78%) |
| CMYK | cmyk(57.8%, 54.8%, 0%, 22%) |
| CIE-LAB | lab(43.24, 29.74, -57.78) |
| CIE-LCH | lch(43.24, 64.98, 297.23°) |
| OKLab | oklab(52.24% 0.0191 -0.1656) |
| OKLCH | oklch(52.24% 0.167 276.6) |
| XYZ | xyz(17.6178, 13.3194, 55.6643) |
| Luminance | 0.1332 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.78
Warm Blue
#4B57DB
ΔE00 2.90
Dark Periwinkle
#665FD1
ΔE00 3.61
Slate Blue
#6A5ACD
ΔE00 4.07
Light Indigo
#6D5ACF
ΔE00 4.67
Azul
#1D5DEC
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545AC7 #C7C154
analogous
#5493C7 #545AC7 #8854C7
triadic
#545AC7 #C7545A #5AC754
tetradic
#545AC7 #C75493 #C7C154 #54C788
square
#545AC7 #C75493 #C7C154 #54C788
split-complementary
#545AC7 #C78854 #93C754
monochromatic
#282C79 #373DA7 #545AC7 #8286D6 #B0B3E5
Accessibility & contrast
On white
5.73
#545AC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#545AC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545AC7
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545AC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545AC7 | 1.00 | 5.73 | 3.66 | 5.73 |
| #FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D6BCB
Deuteranopia (green-blind)
#0061C5
Tritanopia (blue-blind)
#047388
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #545ac7; /* rgb */ color: rgb(84, 90, 199); /* oklch */ color: oklch(52.2% 0.167 276.6);
Tailwind
colors: {
custom: {
50: '#8e88d9',
500: '#545ac7',
950: '#000000',
},
}SCSS
$custom: #545ac7; $custom-light: #8e88d9; $custom-dark: #000000;
JSON
{
"hex": "#545ac7",
"rgb": {
"r": 84,
"g": 90,
"b": 199
},
"hsl": {
"h": 236.87,
"s": 50.661,
"l": 55.49
},
"oklch": {
"l": 0.52244,
"c": 0.1667,
"h": 276.6
},
"luminance": 0.13321
}Semantic roles & 50–950 ramp
primary
#545AC7
secondary
#D3D1A3
accent
#D34EDA
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B15
muted
#7E7C83