#545CB8#545CB8
#545CB8 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.6% C 0.143 H 276.4°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #545CB8 |
|---|---|
| RGB | rgb(84, 92, 184) |
| HSL | hsl(235, 41%, 53%) |
| HSV | hsv(235, 54%, 72%) |
| CMYK | cmyk(54.3%, 50%, 0%, 27.8%) |
| CIE-LAB | lab(42.76, 23.55, -49.83) |
| CIE-LCH | lch(42.76, 55.12, 295.30°) |
| OKLab | oklab(51.57% 0.016 -0.1422) |
| OKLCH | oklch(51.57% 0.143 276.4) |
| XYZ | xyz(16.1323, 12.9987, 46.9970) |
| Luminance | 0.1300 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.79
Dark Periwinkle
#665FD1
ΔE00 4.96
Warm Blue
#4B57DB
ΔE00 5.15
Slate Blue
#6A5ACD
ΔE00 5.39
Light Indigo
#6D5ACF
ΔE00 5.99
Dusky Blue
#475F94
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545CB8 #B8B054
analogous
#548EB8 #545CB8 #7E54B8
triadic
#545CB8 #B8545C #5CB854
tetradic
#545CB8 #B8548E #B8B054 #54B87E
square
#545CB8 #B8548E #B8B054 #54B87E
split-complementary
#545CB8 #B87E54 #8EB854
monochromatic
#2B3067 #3D4492 #545CB8 #7F85CA #AAAEDC
Accessibility & contrast
On white
5.83
#545CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#545CB8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545CB8
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545CB8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545CB8 | 1.00 | 5.83 | 3.60 | 5.83 |
| #FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F69BB
Deuteranopia (green-blind)
#2161B6
Tritanopia (blue-blind)
#247081
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #545cb8; /* rgb */ color: rgb(84, 92, 184); /* oklch */ color: oklch(51.6% 0.143 276.4);
Tailwind
colors: {
custom: {
50: '#8c8ace',
500: '#545cb8',
950: '#000000',
},
}SCSS
$custom: #545cb8; $custom-light: #8c8ace; $custom-dark: #000000;
JSON
{
"hex": "#545cb8",
"rgb": {
"r": 84,
"g": 92,
"b": 184
},
"hsl": {
"h": 235.2,
"s": 41.322,
"l": 52.549
},
"oklch": {
"l": 0.51568,
"c": 0.14311,
"h": 276.4
},
"luminance": 0.13
}Semantic roles & 50–950 ramp
primary
#545CB8
secondary
#CAC69E
accent
#C757D1
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0D0B14
muted
#7D7C82