#545EB4#545EB4
#545EB4 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.7% C 0.135 H 275.7°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #545EB4 |
|---|---|
| RGB | rgb(84, 94, 180) |
| HSL | hsl(234, 39%, 52%) |
| HSV | hsv(234, 53%, 71%) |
| CMYK | cmyk(53.3%, 47.8%, 0%, 29.4%) |
| CIE-LAB | lab(43.04, 20.99, -47.05) |
| CIE-LCH | lch(43.04, 51.52, 294.04°) |
| OKLab | oklab(51.7% 0.0133 -0.134) |
| OKLCH | oklch(51.7% 0.135 275.7) |
| XYZ | xyz(15.8945, 13.1845, 44.8785) |
| Luminance | 0.1319 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.59
Dark Periwinkle
#665FD1
ΔE00 5.51
Dusky Blue
#475F94
ΔE00 5.65
Warm Blue
#4B57DB
ΔE00 5.94
Slate Blue
#6A5ACD
ΔE00 6.08
Light Indigo
#6D5ACF
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545EB4 #B4AA54
analogous
#548EB4 #545EB4 #7A54B4
triadic
#545EB4 #B4545E #5EB454
tetradic
#545EB4 #B4548E #B4AA54 #54B47A
square
#545EB4 #B4548E #B4AA54 #54B47A
split-complementary
#545EB4 #B47A54 #8EB454
monochromatic
#2B3162 #3E468D #545EB4 #7F86C7 #A9AED9
Accessibility & contrast
On white
5.77
#545EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#545EB4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545EB4
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545EB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545EB4 | 1.00 | 5.77 | 3.64 | 5.77 |
| #FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#376AB7
Deuteranopia (green-blind)
#2C62B2
Tritanopia (blue-blind)
#287180
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #545eb4; /* rgb */ color: rgb(84, 94, 180); /* oklch */ color: oklch(51.7% 0.135 275.7);
Tailwind
colors: {
custom: {
50: '#8b8bcb',
500: '#545eb4',
950: '#000000',
},
}SCSS
$custom: #545eb4; $custom-light: #8b8bcb; $custom-dark: #000000;
JSON
{
"hex": "#545eb4",
"rgb": {
"r": 84,
"g": 94,
"b": 180
},
"hsl": {
"h": 233.75,
"s": 39.024,
"l": 51.765
},
"oklch": {
"l": 0.51699,
"c": 0.13466,
"h": 275.7
},
"luminance": 0.13186
}Semantic roles & 50–950 ramp
primary
#545EB4
secondary
#C7C39D
accent
#C359CF
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82