#545FB6#545FB6
#545FB6 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.0% C 0.136 H 275.2°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #545FB6 |
|---|---|
| RGB | rgb(84, 95, 182) |
| HSL | hsl(233, 40%, 52%) |
| HSV | hsv(233, 54%, 71%) |
| CMYK | cmyk(53.8%, 47.8%, 0%, 28.6%) |
| CIE-LAB | lab(43.43, 21.01, -47.60) |
| CIE-LCH | lch(43.43, 52.03, 293.82°) |
| OKLab | oklab(52.03% 0.0124 -0.1356) |
| OKLCH | oklch(52.03% 0.136 275.2) |
| XYZ | xyz(16.1892, 13.4456, 45.9891) |
| Luminance | 0.1345 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.65
Dark Periwinkle
#665FD1
ΔE00 5.32
Dusky Blue
#475F94
ΔE00 5.77
Warm Blue
#4B57DB
ΔE00 5.79
Slate Blue
#6A5ACD
ΔE00 6.04
Light Indigo
#6D5ACF
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545FB6 #B6AB54
analogous
#5490B6 #545FB6 #7A54B6
triadic
#545FB6 #B6545F #5FB654
tetradic
#545FB6 #B65490 #B6AB54 #54B67A
square
#545FB6 #B65490 #B6AB54 #54B67A
split-complementary
#545FB6 #B67A54 #90B654
monochromatic
#2B3165 #3D4790 #545FB6 #7F87C8 #AAAFDB
Accessibility & contrast
On white
5.69
#545FB6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#545FB6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545FB6
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545FB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545FB6 | 1.00 | 5.69 | 3.69 | 5.69 |
| #FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#376BB9
Deuteranopia (green-blind)
#2B63B4
Tritanopia (blue-blind)
#257282
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #545fb6; /* rgb */ color: rgb(84, 95, 182); /* oklch */ color: oklch(52.0% 0.136 275.2);
Tailwind
colors: {
custom: {
50: '#8b8ccc',
500: '#545fb6',
950: '#000000',
},
}SCSS
$custom: #545fb6; $custom-light: #8b8ccc; $custom-dark: #000000;
JSON
{
"hex": "#545fb6",
"rgb": {
"r": 84,
"g": 95,
"b": 182
},
"hsl": {
"h": 233.265,
"s": 40.164,
"l": 52.157
},
"oklch": {
"l": 0.52031,
"c": 0.13617,
"h": 275.2
},
"luminance": 0.13447
}Semantic roles & 50–950 ramp
primary
#545FB6
secondary
#C8C39E
accent
#C358D0
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0D0C13
muted
#7D7D82