#545DC5#545DC5
#545DC5 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.7% C 0.160 H 275.7°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #545DC5 |
|---|---|
| RGB | rgb(84, 93, 197) |
| HSL | hsl(235, 49%, 55%) |
| HSV | hsv(235, 57%, 77%) |
| CMYK | cmyk(57.4%, 52.8%, 0%, 22.7%) |
| CIE-LAB | lab(43.86, 27.20, -55.62) |
| CIE-LCH | lch(43.86, 61.92, 296.06°) |
| OKLab | oklab(52.67% 0.016 -0.1592) |
| OKLCH | oklch(52.67% 0.16 275.7) |
| XYZ | xyz(17.6453, 13.7435, 54.5354) |
| Luminance | 0.1374 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.38
Warm Blue
#4B57DB
ΔE00 3.51
Dark Periwinkle
#665FD1
ΔE00 3.67
Slate Blue
#6A5ACD
ΔE00 4.52
Light Indigo
#6D5ACF
ΔE00 5.10
Royal Blue
#4169E1
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545DC5 #C5BC54
analogous
#5496C5 #545DC5 #8354C5
triadic
#545DC5 #C5545D #5DC554
tetradic
#545DC5 #C55496 #C5BC54 #54C583
square
#545DC5 #C55496 #C5BC54 #54C583
split-complementary
#545DC5 #C58354 #96C554
monochromatic
#282E76 #3840A4 #545DC5 #8288D5 #AFB4E4
Accessibility & contrast
On white
5.60
#545DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#545DC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545DC5
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545DC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545DC5 | 1.00 | 5.60 | 3.75 | 5.60 |
| #FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#206DC9
Deuteranopia (green-blind)
#0063C3
Tritanopia (blue-blind)
#0A7588
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #545dc5; /* rgb */ color: rgb(84, 93, 197); /* oklch */ color: oklch(52.7% 0.160 275.7);
Tailwind
colors: {
custom: {
50: '#8e8ad7',
500: '#545dc5',
950: '#000000',
},
}SCSS
$custom: #545dc5; $custom-light: #8e8ad7; $custom-dark: #000000;
JSON
{
"hex": "#545dc5",
"rgb": {
"r": 84,
"g": 93,
"b": 197
},
"hsl": {
"h": 235.221,
"s": 49.345,
"l": 55.098
},
"oklch": {
"l": 0.52667,
"c": 0.16002,
"h": 275.7
},
"luminance": 0.13745
}Semantic roles & 50–950 ramp
primary
#545DC5
secondary
#D2CEA3
accent
#CE4FD9
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83