#545AB9#545AB9
#545AB9 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.2% C 0.147 H 277.1°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #545AB9 |
|---|---|
| RGB | rgb(84, 90, 185) |
| HSL | hsl(236, 42%, 53%) |
| HSV | hsv(236, 55%, 73%) |
| CMYK | cmyk(54.6%, 51.4%, 0%, 27.5%) |
| CIE-LAB | lab(42.31, 25.14, -51.15) |
| CIE-LCH | lch(42.31, 56.99, 296.17°) |
| OKLab | oklab(51.25% 0.0183 -0.1461) |
| OKLCH | oklch(51.25% 0.147 277.1) |
| XYZ | xyz(16.0665, 12.6989, 47.4940) |
| Luminance | 0.1270 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.35
Warm Blue
#4B57DB
ΔE00 4.85
Dark Periwinkle
#665FD1
ΔE00 4.88
Slate Blue
#6A5ACD
ΔE00 5.08
Light Indigo
#6D5ACF
ΔE00 5.70
Dusky Blue
#475F94
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545AB9 #B9B354
analogous
#548CB9 #545AB9 #8154B9
triadic
#545AB9 #B9545A #5AB954
tetradic
#545AB9 #B9548C #B9B354 #54B981
square
#545AB9 #B9548C #B9B354 #54B981
split-complementary
#545AB9 #B98154 #8CB954
monochromatic
#2B2E68 #3C4293 #545AB9 #7F84CB #ABAEDD
Accessibility & contrast
On white
5.93
#545AB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#545AB9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545AB9
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545AB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545AB9 | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2968BC
Deuteranopia (green-blind)
#1960B7
Tritanopia (blue-blind)
#236F81
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #545ab9; /* rgb */ color: rgb(84, 90, 185); /* oklch */ color: oklch(51.2% 0.147 277.1);
Tailwind
colors: {
custom: {
50: '#8c88cf',
500: '#545ab9',
950: '#000000',
},
}SCSS
$custom: #545ab9; $custom-light: #8c88cf; $custom-dark: #000000;
JSON
{
"hex": "#545ab9",
"rgb": {
"r": 84,
"g": 90,
"b": 185
},
"hsl": {
"h": 236.436,
"s": 41.909,
"l": 52.745
},
"oklch": {
"l": 0.51245,
"c": 0.14724,
"h": 277.1
},
"luminance": 0.127
}Semantic roles & 50–950 ramp
primary
#545AB9
secondary
#CAC89F
accent
#CA56D2
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82