#545CB5#545CB5
#545CB5 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.4% C 0.139 H 276.5°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #545CB5 |
|---|---|
| RGB | rgb(84, 92, 181) |
| HSL | hsl(235, 40%, 52%) |
| HSV | hsv(235, 54%, 71%) |
| CMYK | cmyk(53.6%, 49.2%, 0%, 29%) |
| CIE-LAB | lab(42.57, 22.57, -48.38) |
| CIE-LCH | lch(42.57, 53.39, 295.01°) |
| OKLab | oklab(51.37% 0.0157 -0.1379) |
| OKLCH | oklch(51.37% 0.139 276.5) |
| XYZ | xyz(15.8211, 12.8743, 45.3584) |
| Luminance | 0.1288 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.07
Dark Periwinkle
#665FD1
ΔE00 5.32
Warm Blue
#4B57DB
ΔE00 5.59
Slate Blue
#6A5ACD
ΔE00 5.69
Dusky Blue
#475F94
ΔE00 6.05
Light Indigo
#6D5ACF
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545CB5 #B5AD54
analogous
#548CB5 #545CB5 #7D54B5
triadic
#545CB5 #B5545C #5CB554
tetradic
#545CB5 #B5548C #B5AD54 #54B57D
square
#545CB5 #B5548C #B5AD54 #54B57D
split-complementary
#545CB5 #B57D54 #8CB554
monochromatic
#2B3064 #3E448E #545CB5 #7F85C7 #A9ADDA
Accessibility & contrast
On white
5.87
#545CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#545CB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545CB5
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545CB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545CB5 | 1.00 | 5.87 | 3.58 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3269B8
Deuteranopia (green-blind)
#2661B3
Tritanopia (blue-blind)
#277080
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #545cb5; /* rgb */ color: rgb(84, 92, 181); /* oklch */ color: oklch(51.4% 0.139 276.5);
Tailwind
colors: {
custom: {
50: '#8b8acc',
500: '#545cb5',
950: '#000000',
},
}SCSS
$custom: #545cb5; $custom-light: #8b8acc; $custom-dark: #000000;
JSON
{
"hex": "#545cb5",
"rgb": {
"r": 84,
"g": 92,
"b": 181
},
"hsl": {
"h": 235.052,
"s": 39.592,
"l": 51.961
},
"oklch": {
"l": 0.51365,
"c": 0.13883,
"h": 276.5
},
"luminance": 0.12875
}Semantic roles & 50–950 ramp
primary
#545CB5
secondary
#C8C49D
accent
#C658CF
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0D0B13
muted
#7D7C82