#545CB4#545CB4
#545CB4 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.3% C 0.137 H 276.5°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #545CB4 |
|---|---|
| RGB | rgb(84, 92, 180) |
| HSL | hsl(235, 39%, 52%) |
| HSV | hsv(235, 53%, 71%) |
| CMYK | cmyk(53.3%, 48.9%, 0%, 29.4%) |
| CIE-LAB | lab(42.51, 22.25, -47.90) |
| CIE-LCH | lch(42.51, 52.81, 294.92°) |
| OKLab | oklab(51.3% 0.0156 -0.1365) |
| OKLCH | oklch(51.3% 0.137 276.5) |
| XYZ | xyz(15.7189, 12.8334, 44.8200) |
| Luminance | 0.1283 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.17
Dark Periwinkle
#665FD1
ΔE00 5.45
Warm Blue
#4B57DB
ΔE00 5.74
Slate Blue
#6A5ACD
ΔE00 5.80
Dusky Blue
#475F94
ΔE00 5.94
Light Indigo
#6D5ACF
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545CB4 #B4AC54
analogous
#548CB4 #545CB4 #7C54B4
triadic
#545CB4 #B4545C #5CB454
tetradic
#545CB4 #B4548C #B4AC54 #54B47C
square
#545CB4 #B4548C #B4AC54 #54B47C
split-complementary
#545CB4 #B47C54 #8CB454
monochromatic
#2B3062 #3E448D #545CB4 #7F85C7 #A9ADD9
Accessibility & contrast
On white
5.89
#545CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#545CB4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545CB4
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545CB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545CB4 | 1.00 | 5.89 | 3.57 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3368B7
Deuteranopia (green-blind)
#2761B2
Tritanopia (blue-blind)
#286F7F
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #545cb4; /* rgb */ color: rgb(84, 92, 180); /* oklch */ color: oklch(51.3% 0.137 276.5);
Tailwind
colors: {
custom: {
50: '#8b8acb',
500: '#545cb4',
950: '#000000',
},
}SCSS
$custom: #545cb4; $custom-light: #8b8acb; $custom-dark: #000000;
JSON
{
"hex": "#545cb4",
"rgb": {
"r": 84,
"g": 92,
"b": 180
},
"hsl": {
"h": 235,
"s": 39.024,
"l": 51.765
},
"oklch": {
"l": 0.51298,
"c": 0.13739,
"h": 276.5
},
"luminance": 0.12834
}Semantic roles & 50–950 ramp
primary
#545CB4
secondary
#C7C39D
accent
#C559CF
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82