#545FB2#545FB2
#545FB2 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.8% C 0.130 H 275.2°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #545FB2 |
|---|---|
| RGB | rgb(84, 95, 178) |
| HSL | hsl(233, 38%, 51%) |
| HSV | hsv(233, 53%, 70%) |
| CMYK | cmyk(52.8%, 46.6%, 0%, 30.2%) |
| CIE-LAB | lab(43.19, 19.70, -45.64) |
| CIE-LCH | lch(43.19, 49.71, 293.35°) |
| OKLab | oklab(51.77% 0.0118 -0.1299) |
| OKLCH | oklch(51.77% 0.13 275.2) |
| XYZ | xyz(15.7817, 13.2826, 43.8430) |
| Luminance | 0.1328 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 5.02
Dusky Blue
#475F94
ΔE00 5.30
Dark Periwinkle
#665FD1
ΔE00 5.83
Warm Blue
#4B57DB
ΔE00 6.36
Slate Blue
#6A5ACD
ΔE00 6.46
Denim Blue
#3B5B92
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545FB2 #B2A754
analogous
#548EB2 #545FB2 #7854B2
triadic
#545FB2 #B2545F #5FB254
tetradic
#545FB2 #B2548E #B2A754 #54B278
square
#545FB2 #B2548E #B2A754 #54B278
split-complementary
#545FB2 #B27854 #8EB254
monochromatic
#2B3260 #3E478A #545FB2 #7E86C5 #A8AED8
Accessibility & contrast
On white
5.74
#545FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#545FB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545FB2
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545FB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545FB2 | 1.00 | 5.74 | 3.66 | 5.74 |
| #FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A6AB5
Deuteranopia (green-blind)
#3062B0
Tritanopia (blue-blind)
#2A7180
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #545fb2; /* rgb */ color: rgb(84, 95, 178); /* oklch */ color: oklch(51.8% 0.130 275.2);
Tailwind
colors: {
custom: {
50: '#8b8cc9',
500: '#545fb2',
950: '#000000',
},
}SCSS
$custom: #545fb2; $custom-light: #8b8cc9; $custom-dark: #000000;
JSON
{
"hex": "#545fb2",
"rgb": {
"r": 84,
"g": 95,
"b": 178
},
"hsl": {
"h": 232.979,
"s": 37.903,
"l": 51.373
},
"oklch": {
"l": 0.51771,
"c": 0.13041,
"h": 275.2
},
"luminance": 0.13284
}Semantic roles & 50–950 ramp
primary
#545FB2
secondary
#C6C19C
accent
#C05ACE
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82