#545FBA#545FBA
#545FBA is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.3% C 0.142 H 275.2°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #545FBA |
|---|---|
| RGB | rgb(84, 95, 186) |
| HSL | hsl(234, 43%, 53%) |
| HSV | hsv(234, 55%, 73%) |
| CMYK | cmyk(54.8%, 48.9%, 0%, 27.1%) |
| CIE-LAB | lab(43.67, 22.32, -49.54) |
| CIE-LCH | lch(43.67, 54.33, 294.26°) |
| OKLab | oklab(52.3% 0.0128 -0.1413) |
| OKLCH | oklch(52.3% 0.142 275.2) |
| XYZ | xyz(16.6084, 13.6133, 48.1973) |
| Luminance | 0.1361 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.34
Dark Periwinkle
#665FD1
ΔE00 4.85
Warm Blue
#4B57DB
ΔE00 5.24
Slate Blue
#6A5ACD
ΔE00 5.66
Light Indigo
#6D5ACF
ΔE00 6.24
Dusky Blue
#475F94
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545FBA #BAAF54
analogous
#5492BA #545FBA #7C54BA
triadic
#545FBA #BA545F #5FBA54
tetradic
#545FBA #BA5492 #BAAF54 #54BA7C
square
#545FBA #BA5492 #BAAF54 #54BA7C
split-complementary
#545FBA #BA7C54 #92BA54
monochromatic
#2A3169 #3C4695 #545FBA #8088CC #ABB1DD
Accessibility & contrast
On white
5.64
#545FBA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#545FBA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545FBA
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545FBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545FBA | 1.00 | 5.64 | 3.72 | 5.64 |
| #FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#336CBD
Deuteranopia (green-blind)
#2663B8
Tritanopia (blue-blind)
#207383
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #545fba; /* rgb */ color: rgb(84, 95, 186); /* oklch */ color: oklch(52.3% 0.142 275.2);
Tailwind
colors: {
custom: {
50: '#8c8ccf',
500: '#545fba',
950: '#000000',
},
}SCSS
$custom: #545fba; $custom-light: #8c8ccf; $custom-dark: #000000;
JSON
{
"hex": "#545fba",
"rgb": {
"r": 84,
"g": 95,
"b": 186
},
"hsl": {
"h": 233.529,
"s": 42.5,
"l": 52.941
},
"oklch": {
"l": 0.52297,
"c": 0.14189,
"h": 275.2
},
"luminance": 0.13614
}Semantic roles & 50–950 ramp
primary
#545FBA
secondary
#CBC69F
accent
#C556D2
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0C14
muted
#7E7D82