#545FB7#545FB7
#545FB7 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.1% C 0.138 H 275.2°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #545FB7 |
|---|---|
| RGB | rgb(84, 95, 183) |
| HSL | hsl(233, 41%, 52%) |
| HSV | hsv(233, 54%, 72%) |
| CMYK | cmyk(54.1%, 48.1%, 0%, 28.2%) |
| CIE-LAB | lab(43.49, 21.34, -48.09) |
| CIE-LCH | lch(43.49, 52.61, 293.93°) |
| OKLab | oklab(52.1% 0.0125 -0.137) |
| OKLCH | oklch(52.1% 0.138 275.2) |
| XYZ | xyz(16.2929, 13.4870, 46.5353) |
| Luminance | 0.1349 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.57
Dark Periwinkle
#665FD1
ΔE00 5.20
Warm Blue
#4B57DB
ΔE00 5.65
Dusky Blue
#475F94
ΔE00 5.89
Slate Blue
#6A5ACD
ΔE00 5.94
Light Indigo
#6D5ACF
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545FB7 #B7AC54
analogous
#5491B7 #545FB7 #7A54B7
triadic
#545FB7 #B7545F #5FB754
tetradic
#545FB7 #B75491 #B7AC54 #54B77A
square
#545FB7 #B75491 #B7AC54 #54B77A
split-complementary
#545FB7 #B77A54 #91B754
monochromatic
#2B3166 #3D4691 #545FB7 #7F87C9 #AAB0DB
Accessibility & contrast
On white
5.68
#545FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#545FB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545FB7
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545FB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545FB7 | 1.00 | 5.68 | 3.70 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#366BBA
Deuteranopia (green-blind)
#2A63B5
Tritanopia (blue-blind)
#247282
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #545fb7; /* rgb */ color: rgb(84, 95, 183); /* oklch */ color: oklch(52.1% 0.138 275.2);
Tailwind
colors: {
custom: {
50: '#8b8ccd',
500: '#545fb7',
950: '#000000',
},
}SCSS
$custom: #545fb7; $custom-light: #8b8ccd; $custom-dark: #000000;
JSON
{
"hex": "#545fb7",
"rgb": {
"r": 84,
"g": 95,
"b": 183
},
"hsl": {
"h": 233.333,
"s": 40.741,
"l": 52.353
},
"oklch": {
"l": 0.52097,
"c": 0.13761,
"h": 275.2
},
"luminance": 0.13488
}Semantic roles & 50–950 ramp
primary
#545FB7
secondary
#C9C49E
accent
#C357D1
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0D0C13
muted
#7D7D82