#5646E3#5646E3
#5646E3 is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 51.4% C 0.226 H 279.4°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #5646E3 |
|---|---|
| RGB | rgb(86, 70, 227) |
| HSL | hsl(246, 74%, 58%) |
| HSV | hsv(246, 69%, 89%) |
| CMYK | cmyk(62.1%, 69.2%, 0%, 11%) |
| CIE-LAB | lab(41.06, 50.88, -77.39) |
| CIE-LCH | lch(41.06, 92.62, 303.33°) |
| OKLab | oklab(51.37% 0.037 -0.2232) |
| OKLCH | oklch(51.37% 0.226 279.4) |
| XYZ | xyz(19.8886, 11.9033, 73.9076) |
| Luminance | 0.1191 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 2.39
Purpley Blue
#5F34E7
ΔE00 3.86
Bluish Purple
#703BE7
ΔE00 4.16
Bluey Purple
#6241C7
ΔE00 4.31
Blurple
#5539CC
ΔE00 4.59
Burple
#6832E3
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5646E3 #D3E346
analogous
#4684E3 #5646E3 #A546E3
triadic
#5646E3 #E35646 #46E356
tetradic
#5646E3 #E34684 #D3E346 #46E3A5
square
#5646E3 #E34684 #D3E346 #46E3A5
split-complementary
#5646E3 #E3A546 #84E346
monochromatic
#241798 #311FCD #5646E3 #877BEB #B7B0F3
Accessibility & contrast
On white
6.21
#5646E3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#5646E3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5646E3
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5646E3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5646E3 | 1.00 | 6.21 | 3.38 | 6.21 |
| #FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067E8
Deuteranopia (green-blind)
#005BE0
Tritanopia (blue-blind)
#00708F
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #5646e3; /* rgb */ color: rgb(86, 70, 227); /* oklch */ color: oklch(51.4% 0.226 279.4);
Tailwind
colors: {
custom: {
50: '#957bed',
500: '#5646e3',
950: '#000000',
},
}SCSS
$custom: #5646e3; $custom-light: #957bed; $custom-dark: #000000;
JSON
{
"hex": "#5646e3",
"rgb": {
"r": 86,
"g": 70,
"b": 227
},
"hsl": {
"h": 246.115,
"s": 73.709,
"l": 58.235
},
"oklch": {
"l": 0.51369,
"c": 0.22625,
"h": 279.4
},
"luminance": 0.11905
}Semantic roles & 50–950 ramp
primary
#5646E3
secondary
#DBE2A3
accent
#F037DE
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0916
muted
#7F7B84