#545CB2#545CB2
#545CB2 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.2% C 0.135 H 276.5°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #545CB2 |
|---|---|
| RGB | rgb(84, 92, 178) |
| HSL | hsl(235, 38%, 51%) |
| HSV | hsv(235, 53%, 70%) |
| CMYK | cmyk(52.8%, 48.3%, 0%, 30.2%) |
| CIE-LAB | lab(42.39, 21.60, -46.92) |
| CIE-LCH | lch(42.39, 51.65, 294.72°) |
| OKLab | oklab(51.17% 0.0153 -0.1336) |
| OKLCH | oklch(51.17% 0.135 276.5) |
| XYZ | xyz(15.5166, 12.7525, 43.7547) |
| Luminance | 0.1275 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.38
Dark Periwinkle
#665FD1
ΔE00 5.70
Dusky Blue
#475F94
ΔE00 5.72
Slate Blue
#6A5ACD
ΔE00 6.02
Warm Blue
#4B57DB
ΔE00 6.04
Light Indigo
#6D5ACF
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545CB2 #B2AA54
analogous
#548BB2 #545CB2 #7B54B2
triadic
#545CB2 #B2545C #5CB254
tetradic
#545CB2 #B2548B #B2AA54 #54B27B
square
#545CB2 #B2548B #B2AA54 #54B27B
split-complementary
#545CB2 #B27B54 #8BB254
monochromatic
#2B3060 #3E458A #545CB2 #7E84C5 #A8ACD8
Accessibility & contrast
On white
5.91
#545CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#545CB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545CB2
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545CB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545CB2 | 1.00 | 5.91 | 3.55 | 5.91 |
| #FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3468B5
Deuteranopia (green-blind)
#2A60B0
Tritanopia (blue-blind)
#2A6F7E
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #545cb2; /* rgb */ color: rgb(84, 92, 178); /* oklch */ color: oklch(51.2% 0.135 276.5);
Tailwind
colors: {
custom: {
50: '#8b8ac9',
500: '#545cb2',
950: '#000000',
},
}SCSS
$custom: #545cb2; $custom-light: #8b8ac9; $custom-dark: #000000;
JSON
{
"hex": "#545cb2",
"rgb": {
"r": 84,
"g": 92,
"b": 178
},
"hsl": {
"h": 234.894,
"s": 37.903,
"l": 51.373
},
"oklch": {
"l": 0.51165,
"c": 0.13452,
"h": 276.5
},
"luminance": 0.12753
}Semantic roles & 50–950 ramp
primary
#545CB2
secondary
#C6C29C
accent
#C45ACE
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82