#545CD5#545CD5
#545CD5 is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.7% C 0.183 H 275.5°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #545CD5 |
|---|---|
| RGB | rgb(84, 92, 213) |
| HSL | hsl(236, 61%, 58%) |
| HSV | hsv(236, 61%, 84%) |
| CMYK | cmyk(60.6%, 56.8%, 0%, 16.5%) |
| CIE-LAB | lab(44.72, 33.12, -63.44) |
| CIE-LCH | lch(44.72, 71.56, 297.57°) |
| OKLab | oklab(53.66% 0.0175 -0.1822) |
| OKLCH | oklch(53.66% 0.183 275.5) |
| XYZ | xyz(19.4896, 14.3417, 64.6791) |
| Luminance | 0.1434 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.86
Dark Periwinkle
#665FD1
ΔE00 3.02
Iris
#6258C4
ΔE00 3.75
Slate Blue
#6A5ACD
ΔE00 4.07
Light Indigo
#6D5ACF
ΔE00 4.52
Azul
#1D5DEC
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545CD5 #D5CD54
analogous
#549CD5 #545CD5 #8C54D5
triadic
#545CD5 #D5545C #5CD554
tetradic
#545CD5 #D5549C #D5CD54 #54D58C
square
#545CD5 #D5549C #D5CD54 #54D58C
split-complementary
#545CD5 #D58C54 #9CD554
monochromatic
#22298C #2E37BD #545CD5 #858BE1 #B6BAED
Accessibility & contrast
On white
5.43
#545CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#545CD5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545CD5
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545CD5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545CD5 | 1.00 | 5.43 | 3.87 | 5.43 |
| #FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FD9
Deuteranopia (green-blind)
#0064D3
Tritanopia (blue-blind)
#00798F
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #545cd5; /* rgb */ color: rgb(84, 92, 213); /* oklch */ color: oklch(53.7% 0.183 275.5);
Tailwind
colors: {
custom: {
50: '#908ae3',
500: '#545cd5',
950: '#000000',
},
}SCSS
$custom: #545cd5; $custom-light: #908ae3; $custom-dark: #000000;
JSON
{
"hex": "#545cd5",
"rgb": {
"r": 84,
"g": 92,
"b": 213
},
"hsl": {
"h": 236.279,
"s": 60.563,
"l": 58.235
},
"oklch": {
"l": 0.53658,
"c": 0.18307,
"h": 275.5
},
"luminance": 0.14343
}Semantic roles & 50–950 ramp
primary
#545CD5
secondary
#DCD9A9
accent
#DA44E4
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B15
muted
#7E7C84