#546CE7#546CE7
#546CE7 is a mid, vivid blue. Relative luminance 0.184; OKLCH L 58.0% C 0.187 H 271.1°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #546CE7 |
|---|---|
| RGB | rgb(84, 108, 231) |
| HSL | hsl(230, 75%, 62%) |
| HSV | hsv(230, 64%, 91%) |
| CMYK | cmyk(63.6%, 53.2%, 0%, 9.4%) |
| CIE-LAB | lab(49.95, 29.27, -65.17) |
| CIE-LCH | lch(49.95, 71.44, 294.19°) |
| OKLab | oklab(57.97% 0.0036 -0.1871) |
| OKLCH | oklch(57.97% 0.187 271.1) |
| XYZ | xyz(23.4377, 18.3774, 77.8979) |
| Luminance | 0.1838 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 2.76
Royal Blue
#4169E1
ΔE00 2.82
Bright Blue
#0165FC
ΔE00 4.98
Cornflower
#6A79F7
ΔE00 5.52
Cerulean Blue
#056EEE
ΔE00 5.99
Azul
#1D5DEC
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#546CE7 #E7CF54
analogous
#54B6E7 #546CE7 #8654E7
triadic
#546CE7 #E7546C #6CE754
tetradic
#546CE7 #E754B6 #E7CF54 #54E786
square
#546CE7 #E754B6 #E7CF54 #54E786
split-complementary
#546CE7 #E78654 #B6E754
monochromatic
#182FA9 #1F3EDF #546CE7 #8A9AEF #BFC8F6
Accessibility & contrast
On white
4.49
#546CE7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.68
#546CE7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #546CE7
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##546CE7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##546CE7 | 1.00 | 4.49 | 4.68 | 4.68 |
| #FFFFFF | 4.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#157EEB
Deuteranopia (green-blind)
#0070E4
Tritanopia (blue-blind)
#00899F
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #546ce7; /* rgb */ color: rgb(84, 108, 231); /* oklch */ color: oklch(58.0% 0.187 271.1);
Tailwind
colors: {
custom: {
50: '#9295ef',
500: '#546ce7',
950: '#000000',
},
}SCSS
$custom: #546ce7; $custom-light: #9295ef; $custom-dark: #000000;
JSON
{
"hex": "#546ce7",
"rgb": {
"r": 84,
"g": 108,
"b": 231
},
"hsl": {
"h": 230.204,
"s": 75.385,
"l": 61.765
},
"oklch": {
"l": 0.57968,
"c": 0.18718,
"h": 271.1
},
"luminance": 0.18379
}Semantic roles & 50–950 ramp
primary
#546CE7
secondary
#E7DEB0
accent
#B70ED8
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D17
muted
#7E7E85