#545FE1#545FE1
#545FE1 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 55.1% C 0.195 H 274.4°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #545FE1 |
|---|---|
| RGB | rgb(84, 95, 225) |
| HSL | hsl(235, 70%, 61%) |
| HSV | hsv(235, 63%, 88%) |
| CMYK | cmyk(62.7%, 57.8%, 0%, 11.8%) |
| CIE-LAB | lab(46.32, 35.26, -67.67) |
| CIE-LCH | lch(46.32, 76.31, 297.52°) |
| OKLab | oklab(55.12% 0.0149 -0.1947) |
| OKLCH | oklch(55.12% 0.195 274.4) |
| XYZ | xyz(21.3345, 15.5037, 73.0878) |
| Luminance | 0.1550 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.80
Dark Periwinkle
#665FD1
ΔE00 3.48
Azul
#1D5DEC
ΔE00 4.66
Royal Blue
#4169E1
ΔE00 4.70
Slate Blue
#6A5ACD
ΔE00 4.93
Light Indigo
#6D5ACF
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545FE1 #E1D654
analogous
#54A5E1 #545FE1 #8F54E1
triadic
#545FE1 #E1545F #5FE154
tetradic
#545FE1 #E154A5 #E1D654 #54E18F
square
#545FE1 #E154A5 #E1D654 #54E18F
split-complementary
#545FE1 #E18F54 #A5E154
monochromatic
#1C269F #2533D3 #545FE1 #8890EA #BCC0F3
Accessibility & contrast
On white
5.12
#545FE1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#545FE1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545FE1
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545FE1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545FE1 | 1.00 | 5.12 | 4.10 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E5
Deuteranopia (green-blind)
#0068DE
Tritanopia (blue-blind)
#007F97
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #545fe1; /* rgb */ color: rgb(84, 95, 225); /* oklch */ color: oklch(55.1% 0.195 274.4);
Tailwind
colors: {
custom: {
50: '#928ceb',
500: '#545fe1',
950: '#000000',
},
}SCSS
$custom: #545fe1; $custom-light: #928ceb; $custom-dark: #000000;
JSON
{
"hex": "#545fe1",
"rgb": {
"r": 84,
"g": 95,
"b": 225
},
"hsl": {
"h": 235.319,
"s": 70.149,
"l": 60.588
},
"oklch": {
"l": 0.55119,
"c": 0.19523,
"h": 274.4
},
"luminance": 0.15505
}Semantic roles & 50–950 ramp
primary
#545FE1
secondary
#E3DFAE
accent
#C313D2
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84