#545AB2#545AB2
#545AB2 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.8% C 0.137 H 277.4°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #545AB2 |
|---|---|
| RGB | rgb(84, 90, 178) |
| HSL | hsl(236, 38%, 51%) |
| HSV | hsv(236, 53%, 70%) |
| CMYK | cmyk(52.8%, 49.4%, 0%, 30.2%) |
| CIE-LAB | lab(41.86, 22.86, -47.76) |
| CIE-LCH | lch(41.86, 52.95, 295.58°) |
| OKLab | oklab(50.77% 0.0176 -0.1361) |
| OKLCH | oklch(50.77% 0.137 277.4) |
| XYZ | xyz(15.3457, 12.4105, 43.6977) |
| Luminance | 0.1241 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.05
Dark Periwinkle
#665FD1
ΔE00 5.72
Slate Blue
#6A5ACD
ΔE00 5.82
Warm Blue
#4B57DB
ΔE00 5.91
Dusky Blue
#475F94
ΔE00 6.08
Light Indigo
#6D5ACF
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545AB2 #B2AC54
analogous
#5489B2 #545AB2 #7D54B2
triadic
#545AB2 #B2545A #5AB254
tetradic
#545AB2 #B25489 #B2AC54 #54B27D
square
#545AB2 #B25489 #B2AC54 #54B27D
split-complementary
#545AB2 #B27D54 #89B254
monochromatic
#2B2F60 #3E438A #545AB2 #7E83C5 #A8ABD8
Accessibility & contrast
On white
6.03
#545AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#545AB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545AB2
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545AB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545AB2 | 1.00 | 6.03 | 3.48 | 6.03 |
| #FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3067B5
Deuteranopia (green-blind)
#265FB0
Tritanopia (blue-blind)
#2B6D7D
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #545ab2; /* rgb */ color: rgb(84, 90, 178); /* oklch */ color: oklch(50.8% 0.137 277.4);
Tailwind
colors: {
custom: {
50: '#8b88c9',
500: '#545ab2',
950: '#000000',
},
}SCSS
$custom: #545ab2; $custom-light: #8b88c9; $custom-dark: #000000;
JSON
{
"hex": "#545ab2",
"rgb": {
"r": 84,
"g": 90,
"b": 178
},
"hsl": {
"h": 236.17,
"s": 37.903,
"l": 51.373
},
"oklch": {
"l": 0.50767,
"c": 0.13728,
"h": 277.4
},
"luminance": 0.12411
}Semantic roles & 50–950 ramp
primary
#545AB2
secondary
#C6C39C
accent
#C65ACE
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82