#5643E2#5643E2
#5643E2 is a mid, highly saturated blue. Relative luminance 0.115; OKLCH L 50.9% C 0.228 H 279.9°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #5643E2 |
|---|---|
| RGB | rgb(86, 67, 226) |
| HSL | hsl(247, 73%, 57%) |
| HSV | hsv(247, 70%, 89%) |
| CMYK | cmyk(61.9%, 70.4%, 0%, 11.4%) |
| CIE-LAB | lab(40.38, 52.22, -77.93) |
| CIE-LCH | lch(40.38, 93.81, 303.82°) |
| OKLab | oklab(50.86% 0.0393 -0.2248) |
| OKLCH | oklch(50.86% 0.228 279.9) |
| XYZ | xyz(19.5680, 11.4822, 73.1219) |
| Luminance | 0.1148 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 2.29
Purpley Blue
#5F34E7
ΔE00 3.19
Bluish Purple
#703BE7
ΔE00 3.86
Bluey Purple
#6241C7
ΔE00 3.93
Blurple
#5539CC
ΔE00 3.95
Burple
#6832E3
ΔE00 4.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5643E2 #CFE243
analogous
#437FE2 #5643E2 #A643E2
triadic
#5643E2 #E25643 #43E256
tetradic
#5643E2 #E2437F #CFE243 #43E2A6
square
#5643E2 #E2437F #CFE243 #43E2A6
split-complementary
#5643E2 #E2A643 #7FE243
monochromatic
#261794 #331FC9 #5643E2 #8678EA #B5ADF2
Accessibility & contrast
On white
6.37
#5643E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#5643E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5643E2
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5643E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5643E2 | 1.00 | 6.37 | 3.30 | 6.37 |
| #FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065E7
Deuteranopia (green-blind)
#0059DF
Tritanopia (blue-blind)
#006E8E
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #5643e2; /* rgb */ color: rgb(86, 67, 226); /* oklch */ color: oklch(50.9% 0.228 279.9);
Tailwind
colors: {
custom: {
50: '#9579ec',
500: '#5643e2',
950: '#000000',
},
}SCSS
$custom: #5643e2; $custom-light: #9579ec; $custom-dark: #000000;
JSON
{
"hex": "#5643e2",
"rgb": {
"r": 86,
"g": 67,
"b": 226
},
"hsl": {
"h": 247.17,
"s": 73.272,
"l": 57.451
},
"oklch": {
"l": 0.50855,
"c": 0.22821,
"h": 279.9
},
"luminance": 0.11484
}Semantic roles & 50–950 ramp
primary
#5643E2
secondary
#D9E1A0
accent
#F038DA
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0916
muted
#7F7B84