#545BB1#545BB1
#545BB1 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.9% C 0.134 H 277.0°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #545BB1 |
|---|---|
| RGB | rgb(84, 91, 177) |
| HSL | hsl(235, 37%, 51%) |
| HSV | hsv(235, 53%, 69%) |
| CMYK | cmyk(52.5%, 48.6%, 0%, 30.6%) |
| CIE-LAB | lab(42.06, 21.90, -46.85) |
| CIE-LCH | lch(42.06, 51.72, 295.06°) |
| OKLab | oklab(50.9% 0.0164 -0.1335) |
| OKLCH | oklch(50.9% 0.134 277) |
| XYZ | xyz(15.3306, 12.5404, 43.1992) |
| Luminance | 0.1254 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.31
Dusky Blue
#475F94
ΔE00 5.79
Dark Periwinkle
#665FD1
ΔE00 5.83
Slate Blue
#6A5ACD
ΔE00 6.03
Warm Blue
#4B57DB
ΔE00 6.12
Light Indigo
#6D5ACF
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545BB1 #B1AA54
analogous
#5489B1 #545BB1 #7B54B1
triadic
#545BB1 #B1545B #5BB154
tetradic
#545BB1 #B15489 #B1AA54 #54B17B
square
#545BB1 #B15489 #B1AA54 #54B17B
split-complementary
#545BB1 #B17B54 #89B154
monochromatic
#2B2F5F #3F4489 #545BB1 #7E83C4 #A8ACD7
Accessibility & contrast
On white
5.99
#545BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#545BB1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545BB1
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545BB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545BB1 | 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)
#3367B4
Deuteranopia (green-blind)
#2960AF
Tritanopia (blue-blind)
#2C6E7D
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #545bb1; /* rgb */ color: rgb(84, 91, 177); /* oklch */ color: oklch(50.9% 0.134 277.0);
Tailwind
colors: {
custom: {
50: '#8b89c9',
500: '#545bb1',
950: '#000000',
},
}SCSS
$custom: #545bb1; $custom-light: #8b89c9; $custom-dark: #000000;
JSON
{
"hex": "#545bb1",
"rgb": {
"r": 84,
"g": 91,
"b": 177
},
"hsl": {
"h": 235.484,
"s": 37.349,
"l": 51.176
},
"oklch": {
"l": 0.50899,
"c": 0.13446,
"h": 277
},
"luminance": 0.12541
}Semantic roles & 50–950 ramp
primary
#545BB1
secondary
#C5C29C
accent
#C55ACD
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82