#546FE5#546FE5
#546FE5 is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.4% C 0.181 H 270.2°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #546FE5 |
|---|---|
| RGB | rgb(84, 111, 229) |
| HSL | hsl(229, 74%, 61%) |
| HSV | hsv(229, 63%, 90%) |
| CMYK | cmyk(63.3%, 51.5%, 0%, 10.2%) |
| CIE-LAB | lab(50.58, 26.74, -63.03) |
| CIE-LCH | lch(50.58, 68.46, 292.99°) |
| OKLab | oklab(58.4% 0.0007 -0.1808) |
| OKLCH | oklch(58.4% 0.181 270.2) |
| XYZ | xyz(23.4787, 18.9088, 76.5260) |
| Luminance | 0.1891 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 2.07
Royal Blue
#4169E1
ΔE00 3.02
Cornflower
#6A79F7
ΔE00 5.07
Bright Blue
#0165FC
ΔE00 5.32
Lightish Blue
#3D7AFD
ΔE00 5.44
Cerulean Blue
#056EEE
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#546FE5 #E5CA54
analogous
#54B7E5 #546FE5 #8254E5
triadic
#546FE5 #E5546F #6FE554
tetradic
#546FE5 #E554B7 #E5CA54 #54E582
square
#546FE5 #E554B7 #E5CA54 #54E582
split-complementary
#546FE5 #E58254 #B7E554
monochromatic
#1933A5 #2144DB #546FE5 #899CED #BEC8F5
Accessibility & contrast
On white
4.39
#546FE5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.78
#546FE5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #546FE5
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##546FE5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##546FE5 | 1.00 | 4.39 | 4.78 | 4.78 |
| #FFFFFF | 4.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#277FE9
Deuteranopia (green-blind)
#0072E3
Tritanopia (blue-blind)
#008B9F
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #546fe5; /* rgb */ color: rgb(84, 111, 229); /* oklch */ color: oklch(58.4% 0.181 270.2);
Tailwind
colors: {
custom: {
50: '#9298ee',
500: '#546fe5',
950: '#000000',
},
}SCSS
$custom: #546fe5; $custom-light: #9298ee; $custom-dark: #000000;
JSON
{
"hex": "#546fe5",
"rgb": {
"r": 84,
"g": 111,
"b": 229
},
"hsl": {
"h": 228.828,
"s": 73.604,
"l": 61.373
},
"oklch": {
"l": 0.584,
"c": 0.18081,
"h": 270.2
},
"luminance": 0.18911
}Semantic roles & 50–950 ramp
primary
#546FE5
secondary
#E6DBAF
accent
#B110D6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84