#545AB4#545AB4
#545AB4 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.9% C 0.140 H 277.3°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #545AB4 |
|---|---|
| RGB | rgb(84, 90, 180) |
| HSL | hsl(236, 39%, 52%) |
| HSV | hsv(236, 53%, 71%) |
| CMYK | cmyk(53.3%, 50%, 0%, 29.4%) |
| CIE-LAB | lab(41.99, 23.51, -48.74) |
| CIE-LCH | lch(41.99, 54.11, 295.75°) |
| OKLab | oklab(50.9% 0.0179 -0.139) |
| OKLCH | oklch(50.9% 0.14 277.3) |
| XYZ | xyz(15.5479, 12.4915, 44.7630) |
| Luminance | 0.1249 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.83
Dark Periwinkle
#665FD1
ΔE00 5.47
Warm Blue
#4B57DB
ΔE00 5.60
Slate Blue
#6A5ACD
ΔE00 5.60
Light Indigo
#6D5ACF
ΔE00 6.21
Dusky Blue
#475F94
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545AB4 #B4AE54
analogous
#548AB4 #545AB4 #7E54B4
triadic
#545AB4 #B4545A #5AB454
tetradic
#545AB4 #B4548A #B4AE54 #54B47E
square
#545AB4 #B4548A #B4AE54 #54B47E
split-complementary
#545AB4 #B47E54 #8AB454
monochromatic
#2B2F62 #3E438D #545AB4 #7F83C7 #A9ACD9
Accessibility & contrast
On white
6.00
#545AB4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#545AB4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545AB4
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545AB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545AB4 | 1.00 | 6.00 | 3.50 | 6.00 |
| #FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E67B7
Deuteranopia (green-blind)
#235FB2
Tritanopia (blue-blind)
#296E7E
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #545ab4; /* rgb */ color: rgb(84, 90, 180); /* oklch */ color: oklch(50.9% 0.140 277.3);
Tailwind
colors: {
custom: {
50: '#8b88cb',
500: '#545ab4',
950: '#000000',
},
}SCSS
$custom: #545ab4; $custom-light: #8b88cb; $custom-dark: #000000;
JSON
{
"hex": "#545ab4",
"rgb": {
"r": 84,
"g": 90,
"b": 180
},
"hsl": {
"h": 236.25,
"s": 39.024,
"l": 51.765
},
"oklch": {
"l": 0.50902,
"c": 0.14014,
"h": 277.3
},
"luminance": 0.12492
}Semantic roles & 50–950 ramp
primary
#545AB4
secondary
#C7C49D
accent
#C859CF
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82