#545AB7#545AB7
#545AB7 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.1% C 0.144 H 277.2°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #545AB7 |
|---|---|
| RGB | rgb(84, 90, 183) |
| HSL | hsl(236, 41%, 52%) |
| HSV | hsv(236, 54%, 72%) |
| CMYK | cmyk(54.1%, 50.8%, 0%, 28.2%) |
| CIE-LAB | lab(42.18, 24.49, -50.19) |
| CIE-LCH | lch(42.18, 55.84, 296.01°) |
| OKLab | oklab(51.11% 0.0181 -0.1433) |
| OKLCH | oklch(51.11% 0.144 277.2) |
| XYZ | xyz(15.8569, 12.6150, 46.3899) |
| Luminance | 0.1262 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.53
Dark Periwinkle
#665FD1
ΔE00 5.11
Warm Blue
#4B57DB
ΔE00 5.15
Slate Blue
#6A5ACD
ΔE00 5.28
Light Indigo
#6D5ACF
ΔE00 5.90
Dusky Blue
#475F94
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545AB7 #B7B154
analogous
#548BB7 #545AB7 #8054B7
triadic
#545AB7 #B7545A #5AB754
tetradic
#545AB7 #B7548B #B7B154 #54B780
square
#545AB7 #B7548B #B7B154 #54B780
split-complementary
#545AB7 #B78054 #8BB754
monochromatic
#2B2E66 #3D4291 #545AB7 #7F84C9 #AAADDB
Accessibility & contrast
On white
5.96
#545AB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#545AB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545AB7
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545AB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545AB7 | 1.00 | 5.96 | 3.52 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B68BA
Deuteranopia (green-blind)
#1D60B5
Tritanopia (blue-blind)
#256F80
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #545ab7; /* rgb */ color: rgb(84, 90, 183); /* oklch */ color: oklch(51.1% 0.144 277.2);
Tailwind
colors: {
custom: {
50: '#8c88cd',
500: '#545ab7',
950: '#000000',
},
}SCSS
$custom: #545ab7; $custom-light: #8c88cd; $custom-dark: #000000;
JSON
{
"hex": "#545ab7",
"rgb": {
"r": 84,
"g": 90,
"b": 183
},
"hsl": {
"h": 236.364,
"s": 40.741,
"l": 52.353
},
"oklch": {
"l": 0.51107,
"c": 0.14441,
"h": 277.2
},
"luminance": 0.12616
}Semantic roles & 50–950 ramp
primary
#545AB7
secondary
#C9C69E
accent
#C957D1
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0D0B13
muted
#7D7C82