#545FB3#545FB3
#545FB3 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.8% C 0.132 H 275.2°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #545FB3 |
|---|---|
| RGB | rgb(84, 95, 179) |
| HSL | hsl(233, 38%, 52%) |
| HSV | hsv(233, 53%, 70%) |
| CMYK | cmyk(53.1%, 46.9%, 0%, 29.8%) |
| CIE-LAB | lab(43.25, 20.03, -46.13) |
| CIE-LCH | lch(43.25, 50.29, 293.47°) |
| OKLab | oklab(51.84% 0.012 -0.1313) |
| OKLCH | oklch(51.84% 0.132 275.2) |
| XYZ | xyz(15.8825, 13.3229, 44.3737) |
| Luminance | 0.1332 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.92
Dusky Blue
#475F94
ΔE00 5.42
Dark Periwinkle
#665FD1
ΔE00 5.70
Warm Blue
#4B57DB
ΔE00 6.22
Slate Blue
#6A5ACD
ΔE00 6.35
French Blue
#436BAD
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545FB3 #B3A854
analogous
#548FB3 #545FB3 #7954B3
triadic
#545FB3 #B3545F #5FB354
tetradic
#545FB3 #B3548F #B3A854 #54B379
square
#545FB3 #B3548F #B3A854 #54B379
split-complementary
#545FB3 #B37954 #8FB354
monochromatic
#2B3261 #3E478C #545FB3 #7E87C6 #A9AED9
Accessibility & contrast
On white
5.73
#545FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#545FB3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545FB3
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545FB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545FB3 | 1.00 | 5.73 | 3.66 | 5.73 |
| #FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#396AB6
Deuteranopia (green-blind)
#2F62B1
Tritanopia (blue-blind)
#297180
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #545fb3; /* rgb */ color: rgb(84, 95, 179); /* oklch */ color: oklch(51.8% 0.132 275.2);
Tailwind
colors: {
custom: {
50: '#8b8cca',
500: '#545fb3',
950: '#000000',
},
}SCSS
$custom: #545fb3; $custom-light: #8b8cca; $custom-dark: #000000;
JSON
{
"hex": "#545fb3",
"rgb": {
"r": 84,
"g": 95,
"b": 179
},
"hsl": {
"h": 233.053,
"s": 38.462,
"l": 51.569
},
"oklch": {
"l": 0.51835,
"c": 0.13185,
"h": 275.2
},
"luminance": 0.13324
}Semantic roles & 50–950 ramp
primary
#545FB3
secondary
#C6C19D
accent
#C159CE
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82