#546AE4#546AE4
#546AE4 is a mid, vivid blue. Relative luminance 0.178; OKLCH L 57.4% C 0.186 H 271.6°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #546AE4 |
|---|---|
| RGB | rgb(84, 106, 228) |
| HSL | hsl(231, 73%, 61%) |
| HSV | hsv(231, 63%, 89%) |
| CMYK | cmyk(63.2%, 53.5%, 0%, 10.6%) |
| CIE-LAB | lab(49.24, 29.49, -64.62) |
| CIE-LCH | lch(49.24, 71.04, 294.53°) |
| OKLab | oklab(57.37% 0.0052 -0.1856) |
| OKLCH | oklch(57.37% 0.186 271.6) |
| XYZ | xyz(22.8091, 17.7923, 75.6160) |
| Luminance | 0.1779 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 2.63
Cornflower Blue
#5170D7
ΔE00 2.97
Bright Blue
#0165FC
ΔE00 4.96
Azul
#1D5DEC
ΔE00 5.64
Dark Periwinkle
#665FD1
ΔE00 5.69
Cornflower
#6A79F7
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#546AE4 #E4CE54
analogous
#54B2E4 #546AE4 #8654E4
triadic
#546AE4 #E4546A #6AE454
tetradic
#546AE4 #E454B2 #E4CE54 #54E486
square
#546AE4 #E454B2 #E4CE54 #54E486
split-complementary
#546AE4 #E48654 #B2E454
monochromatic
#1A2FA4 #223ED9 #546AE4 #8998EC #BEC6F5
Accessibility & contrast
On white
4.61
#546AE4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.56
#546AE4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #546AE4
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##546AE4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##546AE4 | 1.00 | 4.61 | 4.56 | 4.61 |
| #FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#127CE8
Deuteranopia (green-blind)
#006FE2
Tritanopia (blue-blind)
#00879D
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #546ae4; /* rgb */ color: rgb(84, 106, 228); /* oklch */ color: oklch(57.4% 0.186 271.6);
Tailwind
colors: {
custom: {
50: '#9294ed',
500: '#546ae4',
950: '#000000',
},
}SCSS
$custom: #546ae4; $custom-light: #9294ed; $custom-dark: #000000;
JSON
{
"hex": "#546ae4",
"rgb": {
"r": 84,
"g": 106,
"b": 228
},
"hsl": {
"h": 230.833,
"s": 72.727,
"l": 61.176
},
"oklch": {
"l": 0.57371,
"c": 0.18564,
"h": 271.6
},
"luminance": 0.17794
}Semantic roles & 50–950 ramp
primary
#546AE4
secondary
#E5DDAF
accent
#B711D5
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84