#545AB5#545AB5
#545AB5 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.0% C 0.142 H 277.3°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #545AB5 |
|---|---|
| RGB | rgb(84, 90, 181) |
| HSL | hsl(236, 40%, 52%) |
| HSV | hsv(236, 54%, 71%) |
| CMYK | cmyk(53.6%, 50.3%, 0%, 29%) |
| CIE-LAB | lab(42.05, 23.84, -49.22) |
| CIE-LCH | lch(42.05, 54.69, 295.84°) |
| OKLab | oklab(50.97% 0.018 -0.1404) |
| OKLCH | oklch(50.97% 0.142 277.3) |
| XYZ | xyz(15.6502, 12.5323, 45.3014) |
| Luminance | 0.1253 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.72
Dark Periwinkle
#665FD1
ΔE00 5.35
Warm Blue
#4B57DB
ΔE00 5.45
Slate Blue
#6A5ACD
ΔE00 5.49
Light Indigo
#6D5ACF
ΔE00 6.10
Dusky Blue
#475F94
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545AB5 #B5AF54
analogous
#548AB5 #545AB5 #7F54B5
triadic
#545AB5 #B5545A #5AB554
tetradic
#545AB5 #B5548A #B5AF54 #54B57F
square
#545AB5 #B5548A #B5AF54 #54B57F
split-complementary
#545AB5 #B57F54 #8AB554
monochromatic
#2B2F64 #3E438E #545AB5 #7F83C7 #A9ACDA
Accessibility & contrast
On white
5.99
#545AB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#545AB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545AB5
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545AB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545AB5 | 1.00 | 5.99 | 3.51 | 5.99 |
| #FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D67B8
Deuteranopia (green-blind)
#215FB3
Tritanopia (blue-blind)
#286E7F
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #545ab5; /* rgb */ color: rgb(84, 90, 181); /* oklch */ color: oklch(51.0% 0.142 277.3);
Tailwind
colors: {
custom: {
50: '#8b88cc',
500: '#545ab5',
950: '#000000',
},
}SCSS
$custom: #545ab5; $custom-light: #8b88cc; $custom-dark: #000000;
JSON
{
"hex": "#545ab5",
"rgb": {
"r": 84,
"g": 90,
"b": 181
},
"hsl": {
"h": 236.289,
"s": 39.592,
"l": 51.961
},
"oklch": {
"l": 0.5097,
"c": 0.14157,
"h": 277.3
},
"luminance": 0.12533
}Semantic roles & 50–950 ramp
primary
#545AB5
secondary
#C8C59D
accent
#C858CF
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0D0B13
muted
#7D7C82