#546EE5#546EE5
#546EE5 is a mid, vivid blue. Relative luminance 0.187; OKLCH L 58.2% C 0.182 H 270.5°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #546EE5 |
|---|---|
| RGB | rgb(84, 110, 229) |
| HSL | hsl(229, 74%, 61%) |
| HSV | hsv(229, 63%, 90%) |
| CMYK | cmyk(63.3%, 52%, 0%, 10.2%) |
| CIE-LAB | lab(50.32, 27.36, -63.44) |
| CIE-LCH | lch(50.32, 69.09, 293.33°) |
| OKLab | oklab(58.21% 0.0016 -0.182) |
| OKLCH | oklch(58.21% 0.182 270.5) |
| XYZ | xyz(23.3702, 18.6918, 76.4898) |
| Luminance | 0.1869 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 2.19
Royal Blue
#4169E1
ΔE00 2.87
Bright Blue
#0165FC
ΔE00 5.20
Cornflower
#6A79F7
ΔE00 5.25
Cerulean Blue
#056EEE
ΔE00 5.70
Lightish Blue
#3D7AFD
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#546EE5 #E5CB54
analogous
#54B7E5 #546EE5 #8354E5
triadic
#546EE5 #E5546E #6EE554
tetradic
#546EE5 #E554B7 #E5CB54 #54E583
square
#546EE5 #E554B7 #E5CB54 #54E583
split-complementary
#546EE5 #E58354 #B7E554
monochromatic
#1932A5 #2142DB #546EE5 #899BED #BEC8F5
Accessibility & contrast
On white
4.43
#546EE5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#546EE5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #546EE5
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##546EE5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##546EE5 | 1.00 | 4.43 | 4.74 | 4.74 |
| #FFFFFF | 4.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#237FE9
Deuteranopia (green-blind)
#0072E3
Tritanopia (blue-blind)
#008A9F
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #546ee5; /* rgb */ color: rgb(84, 110, 229); /* oklch */ color: oklch(58.2% 0.182 270.5);
Tailwind
colors: {
custom: {
50: '#9297ee',
500: '#546ee5',
950: '#000000',
},
}SCSS
$custom: #546ee5; $custom-light: #9297ee; $custom-dark: #000000;
JSON
{
"hex": "#546ee5",
"rgb": {
"r": 84,
"g": 110,
"b": 229
},
"hsl": {
"h": 229.241,
"s": 73.604,
"l": 61.373
},
"oklch": {
"l": 0.58207,
"c": 0.18204,
"h": 270.5
},
"luminance": 0.18694
}Semantic roles & 50–950 ramp
primary
#546EE5
secondary
#E6DCAF
accent
#B210D6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84