#646FE2#646FE2
#646FE2 is a mid, vivid blue. Relative luminance 0.196; OKLCH L 59.2% C 0.173 H 275.7°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #646FE2 |
|---|---|
| RGB | rgb(100, 111, 226) |
| HSL | hsl(235, 68%, 64%) |
| HSV | hsv(235, 56%, 89%) |
| CMYK | cmyk(55.8%, 50.9%, 0%, 11.4%) |
| CIE-LAB | lab(51.34, 28.63, -60.06) |
| CIE-LCH | lch(51.34, 66.53, 295.49°) |
| OKLab | oklab(59.17% 0.0171 -0.1717) |
| OKLCH | oklch(59.17% 0.173 275.7) |
| XYZ | xyz(24.6630, 19.5675, 74.4140) |
| Luminance | 0.1957 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.87
Cornflower
#6A79F7
ΔE00 4.33
Royal Blue
#4169E1
ΔE00 5.09
Mediumslateblue
#7B68EE
ΔE00 5.23
Dark Periwinkle
#665FD1
ΔE00 6.00
Lightish Blue
#3D7AFD
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646FE2 #E2D764
analogous
#64AEE2 #646FE2 #9864E2
triadic
#646FE2 #E2646F #6FE264
tetradic
#646FE2 #E264AE #E2D764 #64E298
square
#646FE2 #E264AE #E2D764 #64E298
split-complementary
#646FE2 #E29864 #AEE264
monochromatic
#202CAC #303FD8 #646FE2 #989FEC #CBCFF5
Accessibility & contrast
On white
4.27
#646FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.91
#646FE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #646FE2
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646FE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##646FE2 | 1.00 | 4.27 | 4.91 | 4.91 |
| #FFFFFF | 4.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3180E6
Deuteranopia (green-blind)
#1A75E0
Tritanopia (blue-blind)
#1C899E
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #646fe2; /* rgb */ color: rgb(100, 111, 226); /* oklch */ color: oklch(59.2% 0.173 275.7);
Tailwind
colors: {
custom: {
50: '#9a98ec',
500: '#646fe2',
950: '#000000',
},
}SCSS
$custom: #646fe2; $custom-light: #9a98ec; $custom-dark: #000000;
JSON
{
"hex": "#646fe2",
"rgb": {
"r": 100,
"g": 111,
"b": 226
},
"hsl": {
"h": 234.762,
"s": 68.478,
"l": 63.922
},
"oklch": {
"l": 0.59166,
"c": 0.17255,
"h": 275.7
},
"luminance": 0.19569
}Semantic roles & 50–950 ramp
primary
#646FE2
secondary
#E7E3BB
accent
#C015D0
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0D16
muted
#7F7E84