#545CB3#545CB3
#545CB3 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.2% C 0.136 H 276.5°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #545CB3 |
|---|---|
| RGB | rgb(84, 92, 179) |
| HSL | hsl(235, 38%, 52%) |
| HSV | hsv(235, 53%, 70%) |
| CMYK | cmyk(53.1%, 48.6%, 0%, 29.8%) |
| CIE-LAB | lab(42.45, 21.92, -47.41) |
| CIE-LCH | lch(42.45, 52.23, 294.82°) |
| OKLab | oklab(51.23% 0.0155 -0.1351) |
| OKLCH | oklch(51.23% 0.136 276.5) |
| XYZ | xyz(15.6174, 12.7928, 44.2854) |
| Luminance | 0.1279 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.27
Dark Periwinkle
#665FD1
ΔE00 5.57
Dusky Blue
#475F94
ΔE00 5.83
Warm Blue
#4B57DB
ΔE00 5.89
Slate Blue
#6A5ACD
ΔE00 5.91
Light Indigo
#6D5ACF
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545CB3 #B3AB54
analogous
#548CB3 #545CB3 #7C54B3
triadic
#545CB3 #B3545C #5CB354
tetradic
#545CB3 #B3548C #B3AB54 #54B37C
square
#545CB3 #B3548C #B3AB54 #54B37C
split-complementary
#545CB3 #B37C54 #8CB354
monochromatic
#2B3061 #3E458C #545CB3 #7E84C6 #A9ADD9
Accessibility & contrast
On white
5.90
#545CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#545CB3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545CB3
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545CB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545CB3 | 1.00 | 5.90 | 3.56 | 5.90 |
| #FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3468B6
Deuteranopia (green-blind)
#2960B1
Tritanopia (blue-blind)
#296F7F
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #545cb3; /* rgb */ color: rgb(84, 92, 179); /* oklch */ color: oklch(51.2% 0.136 276.5);
Tailwind
colors: {
custom: {
50: '#8b8aca',
500: '#545cb3',
950: '#000000',
},
}SCSS
$custom: #545cb3; $custom-light: #8b8aca; $custom-dark: #000000;
JSON
{
"hex": "#545cb3",
"rgb": {
"r": 84,
"g": 92,
"b": 179
},
"hsl": {
"h": 234.947,
"s": 38.462,
"l": 51.569
},
"oklch": {
"l": 0.51232,
"c": 0.13596,
"h": 276.5
},
"luminance": 0.12794
}Semantic roles & 50–950 ramp
primary
#545CB3
secondary
#C6C39D
accent
#C559CE
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82