#545CFC#545CFC
#545CFC is a mid, highly saturated blue. Relative luminance 0.166; OKLCH L 56.8% C 0.233 H 274.0°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #545CFC |
|---|---|
| RGB | rgb(84, 92, 252) |
| HSL | hsl(237, 97%, 66%) |
| HSV | hsv(237, 67%, 99%) |
| CMYK | cmyk(66.7%, 63.5%, 0%, 1.2%) |
| CIE-LAB | lab(47.71, 45.96, -80.57) |
| CIE-LCH | lch(47.71, 92.76, 299.71°) |
| OKLab | oklab(56.79% 0.0162 -0.2325) |
| OKLCH | oklch(56.79% 0.233 274) |
| XYZ | xyz(25.0482, 16.5651, 93.9539) |
| Luminance | 0.1657 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.95
Electric Blue
#0652FF
ΔE00 5.16
Dark Periwinkle
#665FD1
ΔE00 5.74
Azul
#1D5DEC
ΔE00 5.86
Bright Blue
#0165FC
ΔE00 6.32
Mediumslateblue
#7B68EE
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545CFC #FCF454
analogous
#54B0FC #545CFC #A054FC
triadic
#545CFC #FC545C #5CFC54
tetradic
#545CFC #FC54B0 #FCF454 #54FCA0
square
#545CFC #FC54B0 #FCF454 #54FCA0
split-complementary
#545CFC #FCA054 #B0FC54
monochromatic
#040ED2 #1823FB #545CFC #9095FD #CCCFFE
Accessibility & contrast
On white
4.87
#545CFC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#545CFC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545CFC
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545CFC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545CFC | 1.00 | 4.87 | 4.31 | 4.87 |
| #FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079FF
Deuteranopia (green-blind)
#006AF9
Tritanopia (blue-blind)
#0085A4
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #545cfc; /* rgb */ color: rgb(84, 92, 252); /* oklch */ color: oklch(56.8% 0.233 274.0);
Tailwind
colors: {
custom: {
50: '#978aff',
500: '#545cfc',
950: '#000000',
},
}SCSS
$custom: #545cfc; $custom-light: #978aff; $custom-dark: #000000;
JSON
{
"hex": "#545cfc",
"rgb": {
"r": 84,
"g": 92,
"b": 252
},
"hsl": {
"h": 237.143,
"s": 96.552,
"l": 65.882
},
"oklch": {
"l": 0.56792,
"c": 0.2331,
"h": 274
},
"luminance": 0.16567
}Semantic roles & 50–950 ramp
primary
#545CFC
secondary
#F2EFBA
accent
#DB00E6
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C18
muted
#7F7D86