#545FC2#545FC2
#545FC2 is a mid, vivid blue. Relative luminance 0.140; OKLCH L 52.8% C 0.153 H 275.1°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #545FC2 |
|---|---|
| RGB | rgb(84, 95, 194) |
| HSL | hsl(234, 47%, 55%) |
| HSV | hsv(234, 57%, 76%) |
| CMYK | cmyk(56.7%, 51%, 0%, 23.9%) |
| CIE-LAB | lab(44.18, 24.96, -53.37) |
| CIE-LCH | lch(44.18, 58.92, 295.06°) |
| OKLab | oklab(52.84% 0.0136 -0.1526) |
| OKLCH | oklch(52.84% 0.153 275.1) |
| XYZ | xyz(17.4828, 13.9630, 52.8023) |
| Luminance | 0.1396 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.95
Dark Periwinkle
#665FD1
ΔE00 4.03
Warm Blue
#4B57DB
ΔE00 4.23
Slate Blue
#6A5ACD
ΔE00 5.04
Light Indigo
#6D5ACF
ΔE00 5.61
Royal Blue
#4169E1
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545FC2 #C2B754
analogous
#5496C2 #545FC2 #8054C2
triadic
#545FC2 #C2545F #5FC254
tetradic
#545FC2 #C25496 #C2B754 #54C280
square
#545FC2 #C25496 #C2B754 #54C280
split-complementary
#545FC2 #C28054 #96C254
monochromatic
#293073 #3943A0 #545FC2 #8189D2 #AEB3E2
Accessibility & contrast
On white
5.54
#545FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#545FC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545FC2
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545FC2 | 1.00 | 5.54 | 3.79 | 5.54 |
| #FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A6DC6
Deuteranopia (green-blind)
#1664C0
Tritanopia (blue-blind)
#127587
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #545fc2; /* rgb */ color: rgb(84, 95, 194); /* oklch */ color: oklch(52.8% 0.153 275.1);
Tailwind
colors: {
custom: {
50: '#8d8cd5',
500: '#545fc2',
950: '#000000',
},
}SCSS
$custom: #545fc2; $custom-light: #8d8cd5; $custom-dark: #000000;
JSON
{
"hex": "#545fc2",
"rgb": {
"r": 84,
"g": 95,
"b": 194
},
"hsl": {
"h": 234,
"s": 47.414,
"l": 54.51
},
"oklch": {
"l": 0.52843,
"c": 0.1532,
"h": 275.1
},
"luminance": 0.13964
}Semantic roles & 50–950 ramp
primary
#545FC2
secondary
#D0CCA2
accent
#CA51D7
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83