#545AB8#545AB8
#545AB8 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.2% C 0.146 H 277.2°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #545AB8 |
|---|---|
| RGB | rgb(84, 90, 184) |
| HSL | hsl(236, 41%, 53%) |
| HSV | hsv(236, 54%, 72%) |
| CMYK | cmyk(54.3%, 51.1%, 0%, 27.8%) |
| CIE-LAB | lab(42.24, 24.81, -50.67) |
| CIE-LCH | lch(42.24, 56.42, 296.09°) |
| OKLab | oklab(51.18% 0.0182 -0.1447) |
| OKLCH | oklch(51.18% 0.146 277.2) |
| XYZ | xyz(15.9613, 12.6568, 46.9400) |
| Luminance | 0.1266 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.43
Dark Periwinkle
#665FD1
ΔE00 5.00
Warm Blue
#4B57DB
ΔE00 5.00
Slate Blue
#6A5ACD
ΔE00 5.18
Light Indigo
#6D5ACF
ΔE00 5.80
Dusky Blue
#475F94
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545AB8 #B8B254
analogous
#548CB8 #545AB8 #8054B8
triadic
#545AB8 #B8545A #5AB854
tetradic
#545AB8 #B8548C #B8B254 #54B880
square
#545AB8 #B8548C #B8B254 #54B880
split-complementary
#545AB8 #B88054 #8CB854
monochromatic
#2B2E67 #3D4292 #545AB8 #7F84CA #AAADDC
Accessibility & contrast
On white
5.95
#545AB8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#545AB8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545AB8
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545AB8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545AB8 | 1.00 | 5.95 | 3.53 | 5.95 |
| #FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A68BB
Deuteranopia (green-blind)
#1C60B6
Tritanopia (blue-blind)
#246F80
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #545ab8; /* rgb */ color: rgb(84, 90, 184); /* oklch */ color: oklch(51.2% 0.146 277.2);
Tailwind
colors: {
custom: {
50: '#8c88ce',
500: '#545ab8',
950: '#000000',
},
}SCSS
$custom: #545ab8; $custom-light: #8c88ce; $custom-dark: #000000;
JSON
{
"hex": "#545ab8",
"rgb": {
"r": 84,
"g": 90,
"b": 184
},
"hsl": {
"h": 236.4,
"s": 41.322,
"l": 52.549
},
"oklch": {
"l": 0.51176,
"c": 0.14583,
"h": 277.2
},
"luminance": 0.12658
}Semantic roles & 50–950 ramp
primary
#545AB8
secondary
#CAC79E
accent
#CA57D1
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82