#546FC7#546FC7
#546FC7 is a mid, vivid blue. Relative luminance 0.174; OKLCH L 56.4% C 0.139 H 268.8°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #546FC7 |
|---|---|
| RGB | rgb(84, 111, 199) |
| HSL | hsl(226, 51%, 55%) |
| HSV | hsv(226, 58%, 78%) |
| CMYK | cmyk(57.8%, 44.2%, 0%, 22%) |
| CIE-LAB | lab(48.73, 16.62, -48.96) |
| CIE-LCH | lch(48.73, 51.71, 288.75°) |
| OKLab | oklab(56.4% -0.0029 -0.1394) |
| OKLCH | oklch(56.4% 0.139 268.8) |
| XYZ | xyz(19.6459, 17.3757, 56.3403) |
| Luminance | 0.1738 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 2.11
Royal Blue
#4169E1
ΔE00 3.93
French Blue
#436BAD
ΔE00 4.88
Cerulean Blue
#056EEE
ΔE00 6.27
Medium Blue
#2C6FBB
ΔE00 6.80
Cadet Blue
#4E7496
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#546FC7 #C7AC54
analogous
#54A8C7 #546FC7 #7254C7
triadic
#546FC7 #C7546F #6FC754
tetradic
#546FC7 #C754A8 #C7AC54 #54C772
square
#546FC7 #C754A8 #C7AC54 #54C772
split-complementary
#546FC7 #C77254 #A8C754
monochromatic
#283B79 #3751A7 #546FC7 #8296D6 #B0BDE5
Accessibility & contrast
On white
4.69
#546FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.48
#546FC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #546FC7
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##546FC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##546FC7 | 1.00 | 4.69 | 4.48 | 4.69 |
| #FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4779CA
Deuteranopia (green-blind)
#386FC5
Tritanopia (blue-blind)
#008391
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #546fc7; /* rgb */ color: rgb(84, 111, 199); /* oklch */ color: oklch(56.4% 0.139 268.8);
Tailwind
colors: {
custom: {
50: '#8d98d8',
500: '#546fc7',
950: '#000000',
},
}SCSS
$custom: #546fc7; $custom-light: #8d98d8; $custom-dark: #000000;
JSON
{
"hex": "#546fc7",
"rgb": {
"r": 84,
"g": 111,
"b": 199
},
"hsl": {
"h": 225.913,
"s": 50.661,
"l": 55.49
},
"oklch": {
"l": 0.56398,
"c": 0.13948,
"h": 268.8
},
"luminance": 0.17377
}Semantic roles & 50–950 ramp
primary
#546FC7
secondary
#D3C8A3
accent
#B94EDA
background
#F9F9FD
surface
#F1F2FA
border
#CBCCD3
text
#0D0D14
muted
#7E7E83