#545EF7#545EF7
#545EF7 is a mid, highly saturated blue. Relative luminance 0.166; OKLCH L 56.7% C 0.225 H 273.9°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #545EF7 |
|---|---|
| RGB | rgb(84, 94, 247) |
| HSL | hsl(236, 91%, 65%) |
| HSV | hsv(236, 66%, 97%) |
| CMYK | cmyk(66%, 61.9%, 0%, 3.1%) |
| CIE-LAB | lab(47.76, 43.14, -77.70) |
| CIE-LCH | lch(47.76, 88.87, 299.04°) |
| OKLab | oklab(56.7% 0.0151 -0.2241) |
| OKLCH | oklch(56.7% 0.225 273.9) |
| XYZ | xyz(24.4418, 16.6034, 89.8944) |
| Luminance | 0.1661 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.63
Dark Periwinkle
#665FD1
ΔE00 5.28
Electric Blue
#0652FF
ΔE00 5.29
Azul
#1D5DEC
ΔE00 5.46
Royal Blue
#4169E1
ΔE00 5.80
Bright Blue
#0165FC
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545EF7 #F7ED54
analogous
#54B0F7 #545EF7 #9C54F7
triadic
#545EF7 #F7545E #5EF754
tetradic
#545EF7 #F754B0 #F7ED54 #54F79C
square
#545EF7 #F754B0 #F7ED54 #54F79C
split-complementary
#545EF7 #F79C54 #B0F754
monochromatic
#0915C7 #1A27F4 #545EF7 #8E95FA #C9CCFC
Accessibility & contrast
On white
4.86
#545EF7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#545EF7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545EF7
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545EF7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545EF7 | 1.00 | 4.86 | 4.32 | 4.86 |
| #FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079FC
Deuteranopia (green-blind)
#006AF4
Tritanopia (blue-blind)
#0085A2
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #545ef7; /* rgb */ color: rgb(84, 94, 247); /* oklch */ color: oklch(56.7% 0.225 273.9);
Tailwind
colors: {
custom: {
50: '#968cfb',
500: '#545ef7',
950: '#000000',
},
}SCSS
$custom: #545ef7; $custom-light: #968cfb; $custom-dark: #000000;
JSON
{
"hex": "#545ef7",
"rgb": {
"r": 84,
"g": 94,
"b": 247
},
"hsl": {
"h": 236.319,
"s": 91.061,
"l": 64.902
},
"oklch": {
"l": 0.56704,
"c": 0.22462,
"h": 273.9
},
"luminance": 0.16606
}Semantic roles & 50–950 ramp
primary
#545EF7
secondary
#EFECB8
accent
#D700E6
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C18
muted
#7F7D86