#545EB7#545EB7
#545EB7 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.9% C 0.139 H 275.6°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #545EB7 |
|---|---|
| RGB | rgb(84, 94, 183) |
| HSL | hsl(234, 41%, 52%) |
| HSV | hsv(234, 54%, 72%) |
| CMYK | cmyk(54.1%, 48.6%, 0%, 28.2%) |
| CIE-LAB | lab(43.22, 21.97, -48.51) |
| CIE-LCH | lch(43.22, 53.25, 294.36°) |
| OKLab | oklab(51.9% 0.0136 -0.1383) |
| OKLCH | oklch(51.9% 0.139 275.6) |
| XYZ | xyz(16.2034, 13.3080, 46.5054) |
| Luminance | 0.1331 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.32
Dark Periwinkle
#665FD1
ΔE00 5.14
Warm Blue
#4B57DB
ΔE00 5.51
Slate Blue
#6A5ACD
ΔE00 5.77
Dusky Blue
#475F94
ΔE00 6.00
Light Indigo
#6D5ACF
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545EB7 #B7AD54
analogous
#5490B7 #545EB7 #7B54B7
triadic
#545EB7 #B7545E #5EB754
tetradic
#545EB7 #B75490 #B7AD54 #54B77B
square
#545EB7 #B75490 #B7AD54 #54B77B
split-complementary
#545EB7 #B77B54 #90B754
monochromatic
#2B3166 #3D4591 #545EB7 #7F87C9 #AAAFDB
Accessibility & contrast
On white
5.73
#545EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#545EB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545EB7
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545EB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545EB7 | 1.00 | 5.73 | 3.66 | 5.73 |
| #FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#346ABA
Deuteranopia (green-blind)
#2862B5
Tritanopia (blue-blind)
#247282
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #545eb7; /* rgb */ color: rgb(84, 94, 183); /* oklch */ color: oklch(51.9% 0.139 275.6);
Tailwind
colors: {
custom: {
50: '#8b8bcd',
500: '#545eb7',
950: '#000000',
},
}SCSS
$custom: #545eb7; $custom-light: #8b8bcd; $custom-dark: #000000;
JSON
{
"hex": "#545eb7",
"rgb": {
"r": 84,
"g": 94,
"b": 183
},
"hsl": {
"h": 233.939,
"s": 40.741,
"l": 52.353
},
"oklch": {
"l": 0.51897,
"c": 0.13897,
"h": 275.6
},
"luminance": 0.13309
}Semantic roles & 50–950 ramp
primary
#545EB7
secondary
#C9C59E
accent
#C457D1
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0D0C13
muted
#7D7D82