#545BB4#545BB4
#545BB4 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.1% C 0.139 H 276.9°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #545BB4 |
|---|---|
| RGB | rgb(84, 91, 180) |
| HSL | hsl(236, 39%, 52%) |
| HSV | hsv(236, 53%, 71%) |
| CMYK | cmyk(53.3%, 49.4%, 0%, 29.4%) |
| CIE-LAB | lab(42.25, 22.88, -48.32) |
| CIE-LCH | lch(42.25, 53.46, 295.34°) |
| OKLab | oklab(51.1% 0.0167 -0.1378) |
| OKLCH | oklch(51.1% 0.139 276.9) |
| XYZ | xyz(15.6329, 12.6613, 44.7913) |
| Luminance | 0.1266 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.98
Dark Periwinkle
#665FD1
ΔE00 5.45
Warm Blue
#4B57DB
ΔE00 5.66
Slate Blue
#6A5ACD
ΔE00 5.69
Dusky Blue
#475F94
ΔE00 6.10
Light Indigo
#6D5ACF
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545BB4 #B4AD54
analogous
#548BB4 #545BB4 #7D54B4
triadic
#545BB4 #B4545B #5BB454
tetradic
#545BB4 #B4548B #B4AD54 #54B47D
square
#545BB4 #B4548B #B4AD54 #54B47D
split-complementary
#545BB4 #B47D54 #8BB454
monochromatic
#2B2F62 #3E448D #545BB4 #7F84C7 #A9ADD9
Accessibility & contrast
On white
5.94
#545BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#545BB4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545BB4
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545BB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545BB4 | 1.00 | 5.94 | 3.53 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3068B7
Deuteranopia (green-blind)
#2560B2
Tritanopia (blue-blind)
#286F7F
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #545bb4; /* rgb */ color: rgb(84, 91, 180); /* oklch */ color: oklch(51.1% 0.139 276.9);
Tailwind
colors: {
custom: {
50: '#8b89cb',
500: '#545bb4',
950: '#000000',
},
}SCSS
$custom: #545bb4; $custom-light: #8b89cb; $custom-dark: #000000;
JSON
{
"hex": "#545bb4",
"rgb": {
"r": 84,
"g": 91,
"b": 180
},
"hsl": {
"h": 235.625,
"s": 39.024,
"l": 51.765
},
"oklch": {
"l": 0.511,
"c": 0.13877,
"h": 276.9
},
"luminance": 0.12662
}Semantic roles & 50–950 ramp
primary
#545BB4
secondary
#C7C49D
accent
#C659CF
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82