#545CB0#545CB0
#545CB0 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.0% C 0.132 H 276.6°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #545CB0 |
|---|---|
| RGB | rgb(84, 92, 176) |
| HSL | hsl(235, 37%, 51%) |
| HSV | hsv(235, 52%, 69%) |
| CMYK | cmyk(52.3%, 47.7%, 0%, 31%) |
| CIE-LAB | lab(42.27, 20.95, -45.94) |
| CIE-LCH | lch(42.27, 50.49, 294.51°) |
| OKLab | oklab(51.03% 0.0151 -0.1308) |
| OKLCH | oklch(51.03% 0.132 276.6) |
| XYZ | xyz(15.3173, 12.6727, 42.7048) |
| Luminance | 0.1267 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.60
Dusky Blue
#475F94
ΔE00 5.51
Dark Periwinkle
#665FD1
ΔE00 5.96
Slate Blue
#6A5ACD
ΔE00 6.26
Warm Blue
#4B57DB
ΔE00 6.35
Denim Blue
#3B5B92
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545CB0 #B0A854
analogous
#548AB0 #545CB0 #7A54B0
triadic
#545CB0 #B0545C #5CB054
tetradic
#545CB0 #B0548A #B0A854 #54B07A
square
#545CB0 #B0548A #B0A854 #54B07A
split-complementary
#545CB0 #B07A54 #8AB054
monochromatic
#2B305E #3F4588 #545CB0 #7E84C3 #A8ACD7
Accessibility & contrast
On white
5.94
#545CB0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#545CB0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545CB0
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545CB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545CB0 | 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)
#3668B3
Deuteranopia (green-blind)
#2C60AE
Tritanopia (blue-blind)
#2C6E7D
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #545cb0; /* rgb */ color: rgb(84, 92, 176); /* oklch */ color: oklch(51.0% 0.132 276.6);
Tailwind
colors: {
custom: {
50: '#8a8ac8',
500: '#545cb0',
950: '#000000',
},
}SCSS
$custom: #545cb0; $custom-light: #8a8ac8; $custom-dark: #000000;
JSON
{
"hex": "#545cb0",
"rgb": {
"r": 84,
"g": 92,
"b": 176
},
"hsl": {
"h": 234.783,
"s": 36.8,
"l": 50.98
},
"oklch": {
"l": 0.51034,
"c": 0.13164,
"h": 276.6
},
"luminance": 0.12674
}Semantic roles & 50–950 ramp
primary
#545CB0
secondary
#C4C19C
accent
#C35BCD
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82