#545CB1#545CB1
#545CB1 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.1% C 0.133 H 276.6°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #545CB1 |
|---|---|
| RGB | rgb(84, 92, 177) |
| HSL | hsl(235, 37%, 51%) |
| HSV | hsv(235, 53%, 69%) |
| CMYK | cmyk(52.5%, 48%, 0%, 30.6%) |
| CIE-LAB | lab(42.33, 21.27, -46.43) |
| CIE-LCH | lch(42.33, 51.07, 294.61°) |
| OKLab | oklab(51.1% 0.0152 -0.1322) |
| OKLCH | oklch(51.1% 0.133 276.6) |
| XYZ | xyz(15.4166, 12.7125, 43.2278) |
| Luminance | 0.1271 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.49
Dusky Blue
#475F94
ΔE00 5.61
Dark Periwinkle
#665FD1
ΔE00 5.83
Slate Blue
#6A5ACD
ΔE00 6.14
Warm Blue
#4B57DB
ΔE00 6.19
Light Indigo
#6D5ACF
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545CB1 #B1A954
analogous
#548AB1 #545CB1 #7A54B1
triadic
#545CB1 #B1545C #5CB154
tetradic
#545CB1 #B1548A #B1A954 #54B17A
square
#545CB1 #B1548A #B1A954 #54B17A
split-complementary
#545CB1 #B17A54 #8AB154
monochromatic
#2B305F #3F4589 #545CB1 #7E84C4 #A8ACD7
Accessibility & contrast
On white
5.93
#545CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#545CB1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545CB1
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545CB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545CB1 | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3568B4
Deuteranopia (green-blind)
#2B60AF
Tritanopia (blue-blind)
#2B6F7E
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #545cb1; /* rgb */ color: rgb(84, 92, 177); /* oklch */ color: oklch(51.1% 0.133 276.6);
Tailwind
colors: {
custom: {
50: '#8b8ac9',
500: '#545cb1',
950: '#000000',
},
}SCSS
$custom: #545cb1; $custom-light: #8b8ac9; $custom-dark: #000000;
JSON
{
"hex": "#545cb1",
"rgb": {
"r": 84,
"g": 92,
"b": 177
},
"hsl": {
"h": 234.839,
"s": 37.349,
"l": 51.176
},
"oklch": {
"l": 0.51099,
"c": 0.13308,
"h": 276.6
},
"luminance": 0.12713
}Semantic roles & 50–950 ramp
primary
#545CB1
secondary
#C5C19C
accent
#C35ACD
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82