#545BB2#545BB2
#545BB2 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.0% C 0.136 H 277.0°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #545BB2 |
|---|---|
| RGB | rgb(84, 91, 178) |
| HSL | hsl(236, 38%, 51%) |
| HSV | hsv(236, 53%, 70%) |
| CMYK | cmyk(52.8%, 48.9%, 0%, 30.2%) |
| CIE-LAB | lab(42.12, 22.23, -47.34) |
| CIE-LCH | lch(42.12, 52.30, 295.15°) |
| OKLab | oklab(50.97% 0.0165 -0.1349) |
| OKLCH | oklch(50.97% 0.136 277) |
| XYZ | xyz(15.4306, 12.5804, 43.7260) |
| Luminance | 0.1258 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.20
Dark Periwinkle
#665FD1
ΔE00 5.70
Dusky Blue
#475F94
ΔE00 5.89
Slate Blue
#6A5ACD
ΔE00 5.92
Warm Blue
#4B57DB
ΔE00 5.96
Light Indigo
#6D5ACF
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545BB2 #B2AB54
analogous
#548AB2 #545BB2 #7C54B2
triadic
#545BB2 #B2545B #5BB254
tetradic
#545BB2 #B2548A #B2AB54 #54B27C
square
#545BB2 #B2548A #B2AB54 #54B27C
split-complementary
#545BB2 #B27C54 #8AB254
monochromatic
#2B2F60 #3E448A #545BB2 #7E83C5 #A8ACD8
Accessibility & contrast
On white
5.97
#545BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#545BB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545BB2
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545BB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545BB2 | 1.00 | 5.97 | 3.52 | 5.97 |
| #FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3267B5
Deuteranopia (green-blind)
#2860B0
Tritanopia (blue-blind)
#2B6E7E
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #545bb2; /* rgb */ color: rgb(84, 91, 178); /* oklch */ color: oklch(51.0% 0.136 277.0);
Tailwind
colors: {
custom: {
50: '#8b89c9',
500: '#545bb2',
950: '#000000',
},
}SCSS
$custom: #545bb2; $custom-light: #8b89c9; $custom-dark: #000000;
JSON
{
"hex": "#545bb2",
"rgb": {
"r": 84,
"g": 91,
"b": 178
},
"hsl": {
"h": 235.532,
"s": 37.903,
"l": 51.373
},
"oklch": {
"l": 0.50966,
"c": 0.13589,
"h": 277
},
"luminance": 0.12581
}Semantic roles & 50–950 ramp
primary
#545BB2
secondary
#C6C39C
accent
#C55ACE
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82