#545FC1#545FC1
#545FC1 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.8% C 0.152 H 275.1°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #545FC1 |
|---|---|
| RGB | rgb(84, 95, 193) |
| HSL | hsl(234, 47%, 54%) |
| HSV | hsv(234, 56%, 76%) |
| CMYK | cmyk(56.5%, 50.8%, 0%, 24.3%) |
| CIE-LAB | lab(44.12, 24.63, -52.90) |
| CIE-LCH | lch(44.12, 58.35, 294.97°) |
| OKLab | oklab(52.77% 0.0135 -0.1512) |
| OKLCH | oklch(52.77% 0.152 275.1) |
| XYZ | xyz(17.3709, 13.9183, 52.2129) |
| Luminance | 0.1392 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.98
Dark Periwinkle
#665FD1
ΔE00 4.12
Warm Blue
#4B57DB
ΔE00 4.35
Slate Blue
#6A5ACD
ΔE00 5.10
Light Indigo
#6D5ACF
ΔE00 5.68
Royal Blue
#4169E1
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545FC1 #C1B654
analogous
#5496C1 #545FC1 #8054C1
triadic
#545FC1 #C1545F #5FC154
tetradic
#545FC1 #C15496 #C1B654 #54C180
square
#545FC1 #C15496 #C1B654 #54C180
split-complementary
#545FC1 #C18054 #96C154
monochromatic
#293071 #39449E #545FC1 #8189D1 #AEB3E2
Accessibility & contrast
On white
5.55
#545FC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.78
#545FC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545FC1
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545FC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545FC1 | 1.00 | 5.55 | 3.78 | 5.55 |
| #FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C6DC4
Deuteranopia (green-blind)
#1964BF
Tritanopia (blue-blind)
#147587
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #545fc1; /* rgb */ color: rgb(84, 95, 193); /* oklch */ color: oklch(52.8% 0.152 275.1);
Tailwind
colors: {
custom: {
50: '#8d8cd4',
500: '#545fc1',
950: '#000000',
},
}SCSS
$custom: #545fc1; $custom-light: #8d8cd4; $custom-dark: #000000;
JSON
{
"hex": "#545fc1",
"rgb": {
"r": 84,
"g": 95,
"b": 193
},
"hsl": {
"h": 233.945,
"s": 46.781,
"l": 54.314
},
"oklch": {
"l": 0.52773,
"c": 0.1518,
"h": 275.1
},
"luminance": 0.13919
}Semantic roles & 50–950 ramp
primary
#545FC1
secondary
#D0CBA1
accent
#C951D6
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83