#646BE2#646BE2
#646BE2 is a mid, vivid blue. Relative luminance 0.187; OKLCH L 58.4% C 0.178 H 276.9°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #646BE2 |
|---|---|
| RGB | rgb(100, 107, 226) |
| HSL | hsl(237, 68%, 64%) |
| HSV | hsv(237, 56%, 89%) |
| CMYK | cmyk(55.8%, 52.7%, 0%, 11.4%) |
| CIE-LAB | lab(50.35, 31.07, -61.66) |
| CIE-LCH | lch(50.35, 69.04, 296.74°) |
| OKLab | oklab(58.42% 0.0212 -0.1764) |
| OKLCH | oklch(58.42% 0.178 276.9) |
| XYZ | xyz(24.2363, 18.7140, 74.2718) |
| Luminance | 0.1872 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 4.49
Mediumslateblue
#7B68EE
ΔE00 4.61
Dark Periwinkle
#665FD1
ΔE00 4.76
Royal Blue
#4169E1
ΔE00 5.05
Cornflower
#6A79F7
ΔE00 5.39
Slate Blue
#6A5ACD
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646BE2 #E2DB64
analogous
#64AAE2 #646BE2 #9C64E2
triadic
#646BE2 #E2646B #6BE264
tetradic
#646BE2 #E264AA #E2DB64 #64E29C
square
#646BE2 #E264AA #E2DB64 #64E29C
split-complementary
#646BE2 #E29C64 #AAE264
monochromatic
#2028AC #303AD8 #646BE2 #989CEC #CBCDF5
Accessibility & contrast
On white
4.43
#646BE2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#646BE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #646BE2
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646BE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##646BE2 | 1.00 | 4.43 | 4.74 | 4.74 |
| #FFFFFF | 4.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#257DE6
Deuteranopia (green-blind)
#0073E0
Tritanopia (blue-blind)
#1E869C
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #646be2; /* rgb */ color: rgb(100, 107, 226); /* oklch */ color: oklch(58.4% 0.178 276.9);
Tailwind
colors: {
custom: {
50: '#9a95ec',
500: '#646be2',
950: '#000000',
},
}SCSS
$custom: #646be2; $custom-light: #9a95ec; $custom-dark: #000000;
JSON
{
"hex": "#646be2",
"rgb": {
"r": 100,
"g": 107,
"b": 226
},
"hsl": {
"h": 236.667,
"s": 68.478,
"l": 63.922
},
"oklch": {
"l": 0.5842,
"c": 0.17772,
"h": 276.9
},
"luminance": 0.18716
}Semantic roles & 50–950 ramp
primary
#646BE2
secondary
#E7E5BB
accent
#C615D0
background
#FAF9FE
surface
#F3F1FD
border
#CDCBD5
text
#0F0D16
muted
#7F7E84