#545BAC#545BAC
#545BAC is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.6% C 0.127 H 277.1°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #545BAC |
|---|---|
| RGB | rgb(84, 91, 172) |
| HSL | hsl(235, 35%, 50%) |
| HSV | hsv(235, 51%, 67%) |
| CMYK | cmyk(51.2%, 47.1%, 0%, 32.5%) |
| CIE-LAB | lab(41.76, 20.28, -44.39) |
| CIE-LCH | lch(41.76, 48.81, 294.56°) |
| OKLab | oklab(50.57% 0.0157 -0.1262) |
| OKLCH | oklch(50.57% 0.127 277.1) |
| XYZ | xyz(14.8413, 12.3447, 40.6224) |
| Luminance | 0.1235 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.93
Dusky Blue
#475F94
ΔE00 5.30
Twilight
#4E518B
ΔE00 6.19
Dark Periwinkle
#665FD1
ΔE00 6.50
Denim Blue
#3B5B92
ΔE00 6.61
Slate Blue
#6A5ACD
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545BAC #ACA554
analogous
#5487AC #545BAC #7954AC
triadic
#545BAC #AC545B #5BAC54
tetradic
#545BAC #AC5487 #ACA554 #54AC79
square
#545BAC #AC5487 #ACA554 #54AC79
split-complementary
#545BAC #AC7954 #87AC54
monochromatic
#2C2F5A #404583 #545BAC #7D83C0 #A6AAD4
Accessibility & contrast
On white
6.05
#545BAC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#545BAC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545BAC
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545BAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545BAC | 1.00 | 6.05 | 3.47 | 6.05 |
| #FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3866AF
Deuteranopia (green-blind)
#2F5FAA
Tritanopia (blue-blind)
#306C7B
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #545bac; /* rgb */ color: rgb(84, 91, 172); /* oklch */ color: oklch(50.6% 0.127 277.1);
Tailwind
colors: {
custom: {
50: '#8a89c5',
500: '#545bac',
950: '#000000',
},
}SCSS
$custom: #545bac; $custom-light: #8a89c5; $custom-dark: #000000;
JSON
{
"hex": "#545bac",
"rgb": {
"r": 84,
"g": 91,
"b": 172
},
"hsl": {
"h": 235.227,
"s": 34.646,
"l": 50.196
},
"oklch": {
"l": 0.50571,
"c": 0.12722,
"h": 277.1
},
"luminance": 0.12346
}Semantic roles & 50–950 ramp
primary
#545BAC
secondary
#C2BE9A
accent
#C25DCB
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82