#546CE4#546CE4
#546CE4 is a mid, vivid blue. Relative luminance 0.182; OKLCH L 57.8% C 0.183 H 271.1°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #546CE4 |
|---|---|
| RGB | rgb(84, 108, 228) |
| HSL | hsl(230, 73%, 61%) |
| HSV | hsv(230, 63%, 89%) |
| CMYK | cmyk(63.2%, 52.6%, 0%, 10.6%) |
| CIE-LAB | lab(49.75, 28.26, -63.81) |
| CIE-LCH | lch(49.75, 69.78, 293.89°) |
| OKLab | oklab(57.75% 0.0034 -0.1831) |
| OKLCH | oklch(57.75% 0.183 271.1) |
| XYZ | xyz(23.0176, 18.2094, 75.6855) |
| Luminance | 0.1821 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 2.46
Royal Blue
#4169E1
ΔE00 2.63
Bright Blue
#0165FC
ΔE00 5.04
Cornflower
#6A79F7
ΔE00 5.74
Cerulean Blue
#056EEE
ΔE00 5.93
Azul
#1D5DEC
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#546CE4 #E4CC54
analogous
#54B4E4 #546CE4 #8454E4
triadic
#546CE4 #E4546C #6CE454
tetradic
#546CE4 #E454B4 #E4CC54 #54E484
square
#546CE4 #E454B4 #E4CC54 #54E484
split-complementary
#546CE4 #E48454 #B4E454
monochromatic
#1A31A4 #2241D9 #546CE4 #8999EC #BEC7F5
Accessibility & contrast
On white
4.52
#546CE4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.64
#546CE4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #546CE4
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##546CE4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##546CE4 | 1.00 | 4.52 | 4.64 | 4.64 |
| #FFFFFF | 4.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D7DE8
Deuteranopia (green-blind)
#0070E2
Tritanopia (blue-blind)
#00889E
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #546ce4; /* rgb */ color: rgb(84, 108, 228); /* oklch */ color: oklch(57.8% 0.183 271.1);
Tailwind
colors: {
custom: {
50: '#9295ed',
500: '#546ce4',
950: '#000000',
},
}SCSS
$custom: #546ce4; $custom-light: #9295ed; $custom-dark: #000000;
JSON
{
"hex": "#546ce4",
"rgb": {
"r": 84,
"g": 108,
"b": 228
},
"hsl": {
"h": 230,
"s": 72.727,
"l": 61.176
},
"oklch": {
"l": 0.57752,
"c": 0.18317,
"h": 271.1
},
"luminance": 0.18211
}Semantic roles & 50–950 ramp
primary
#546CE4
secondary
#E5DCAF
accent
#B411D5
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84