#646DE2#646DE2
#646DE2 is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.8% C 0.175 H 276.3°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #646DE2 |
|---|---|
| RGB | rgb(100, 109, 226) |
| HSL | hsl(236, 68%, 64%) |
| HSV | hsv(236, 56%, 89%) |
| CMYK | cmyk(55.8%, 51.8%, 0%, 11.4%) |
| CIE-LAB | lab(50.85, 29.85, -60.86) |
| CIE-LCH | lch(50.85, 67.79, 296.13°) |
| OKLab | oklab(58.79% 0.0192 -0.1741) |
| OKLCH | oklch(58.79% 0.175 276.3) |
| XYZ | xyz(24.4472, 19.1359, 74.3421) |
| Luminance | 0.1914 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 4.14
Cornflower
#6A79F7
ΔE00 4.84
Mediumslateblue
#7B68EE
ΔE00 4.88
Royal Blue
#4169E1
ΔE00 5.03
Dark Periwinkle
#665FD1
ΔE00 5.37
Slate Blue
#6A5ACD
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646DE2 #E2D964
analogous
#64ACE2 #646DE2 #9A64E2
triadic
#646DE2 #E2646D #6DE264
tetradic
#646DE2 #E264AC #E2D964 #64E29A
square
#646DE2 #E264AC #E2D964 #64E29A
split-complementary
#646DE2 #E29A64 #ACE264
monochromatic
#202AAC #303CD8 #646DE2 #989EEC #CBCEF5
Accessibility & contrast
On white
4.35
#646DE2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.83
#646DE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #646DE2
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646DE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##646DE2 | 1.00 | 4.35 | 4.83 | 4.83 |
| #FFFFFF | 4.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B7EE6
Deuteranopia (green-blind)
#1074E0
Tritanopia (blue-blind)
#1D889D
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #646de2; /* rgb */ color: rgb(100, 109, 226); /* oklch */ color: oklch(58.8% 0.175 276.3);
Tailwind
colors: {
custom: {
50: '#9a96ec',
500: '#646de2',
950: '#000000',
},
}SCSS
$custom: #646de2; $custom-light: #9a96ec; $custom-dark: #000000;
JSON
{
"hex": "#646de2",
"rgb": {
"r": 100,
"g": 109,
"b": 226
},
"hsl": {
"h": 235.714,
"s": 68.478,
"l": 63.922
},
"oklch": {
"l": 0.58791,
"c": 0.17513,
"h": 276.3
},
"luminance": 0.19138
}Semantic roles & 50–950 ramp
primary
#646DE2
secondary
#E7E4BB
accent
#C315D0
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0D16
muted
#7F7E84