#545DC4#545DC4
#545DC4 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.6% C 0.159 H 275.7°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #545DC4 |
|---|---|
| RGB | rgb(84, 93, 196) |
| HSL | hsl(235, 49%, 55%) |
| HSV | hsv(235, 57%, 77%) |
| CMYK | cmyk(57.1%, 52.6%, 0%, 23.1%) |
| CIE-LAB | lab(43.80, 26.87, -55.15) |
| CIE-LCH | lch(43.80, 61.35, 295.98°) |
| OKLab | oklab(52.6% 0.0159 -0.1578) |
| OKLCH | oklch(52.6% 0.159 275.7) |
| XYZ | xyz(17.5311, 13.6978, 53.9340) |
| Luminance | 0.1370 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.39
Warm Blue
#4B57DB
ΔE00 3.64
Dark Periwinkle
#665FD1
ΔE00 3.75
Slate Blue
#6A5ACD
ΔE00 4.57
Light Indigo
#6D5ACF
ΔE00 5.16
Royal Blue
#4169E1
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545DC4 #C4BB54
analogous
#5495C4 #545DC4 #8354C4
triadic
#545DC4 #C4545D #5DC454
tetradic
#545DC4 #C45495 #C4BB54 #54C483
square
#545DC4 #C45495 #C4BB54 #54C483
split-complementary
#545DC4 #C48354 #95C454
monochromatic
#282F75 #3841A3 #545DC4 #8288D4 #AFB3E3
Accessibility & contrast
On white
5.62
#545DC4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#545DC4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545DC4
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545DC4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545DC4 | 1.00 | 5.62 | 3.74 | 5.62 |
| #FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#226CC8
Deuteranopia (green-blind)
#0363C2
Tritanopia (blue-blind)
#0E7587
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #545dc4; /* rgb */ color: rgb(84, 93, 196); /* oklch */ color: oklch(52.6% 0.159 275.7);
Tailwind
colors: {
custom: {
50: '#8d8ad6',
500: '#545dc4',
950: '#000000',
},
}SCSS
$custom: #545dc4; $custom-light: #8d8ad6; $custom-dark: #000000;
JSON
{
"hex": "#545dc4",
"rgb": {
"r": 84,
"g": 93,
"b": 196
},
"hsl": {
"h": 235.179,
"s": 48.696,
"l": 54.902
},
"oklch": {
"l": 0.52596,
"c": 0.15863,
"h": 275.7
},
"luminance": 0.13699
}Semantic roles & 50–950 ramp
primary
#545DC4
secondary
#D1CEA2
accent
#CD50D8
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83