#545FB1#545FB1
#545FB1 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.7% C 0.129 H 275.2°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #545FB1 |
|---|---|
| RGB | rgb(84, 95, 177) |
| HSL | hsl(233, 37%, 51%) |
| HSV | hsv(233, 53%, 69%) |
| CMYK | cmyk(52.5%, 46.3%, 0%, 30.6%) |
| CIE-LAB | lab(43.13, 19.38, -45.15) |
| CIE-LCH | lch(43.13, 49.13, 293.23°) |
| OKLab | oklab(51.71% 0.0117 -0.1284) |
| OKLCH | oklch(51.71% 0.129 275.2) |
| XYZ | xyz(15.6817, 13.2426, 43.3162) |
| Luminance | 0.1324 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 5.12
Dusky Blue
#475F94
ΔE00 5.19
Dark Periwinkle
#665FD1
ΔE00 5.96
Warm Blue
#4B57DB
ΔE00 6.50
Slate Blue
#6A5ACD
ΔE00 6.57
Denim Blue
#3B5B92
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545FB1 #B1A654
analogous
#548DB1 #545FB1 #7754B1
triadic
#545FB1 #B1545F #5FB154
tetradic
#545FB1 #B1548D #B1A654 #54B177
square
#545FB1 #B1548D #B1A654 #54B177
split-complementary
#545FB1 #B17754 #8DB154
monochromatic
#2B325F #3F4789 #545FB1 #7E86C4 #A8AED7
Accessibility & contrast
On white
5.76
#545FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#545FB1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545FB1
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545FB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545FB1 | 1.00 | 5.76 | 3.65 | 5.76 |
| #FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B6AB4
Deuteranopia (green-blind)
#3162AF
Tritanopia (blue-blind)
#2B717F
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #545fb1; /* rgb */ color: rgb(84, 95, 177); /* oklch */ color: oklch(51.7% 0.129 275.2);
Tailwind
colors: {
custom: {
50: '#8a8cc9',
500: '#545fb1',
950: '#000000',
},
}SCSS
$custom: #545fb1; $custom-light: #8a8cc9; $custom-dark: #000000;
JSON
{
"hex": "#545fb1",
"rgb": {
"r": 84,
"g": 95,
"b": 177
},
"hsl": {
"h": 232.903,
"s": 37.349,
"l": 51.176
},
"oklch": {
"l": 0.51706,
"c": 0.12896,
"h": 275.2
},
"luminance": 0.13244
}Semantic roles & 50–950 ramp
primary
#545FB1
secondary
#C5C09C
accent
#C05ACD
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82