#646CE2#646CE2
#646CE2 is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.6% C 0.176 H 276.6°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #646CE2 |
|---|---|
| RGB | rgb(100, 108, 226) |
| HSL | hsl(236, 68%, 64%) |
| HSV | hsv(236, 56%, 89%) |
| CMYK | cmyk(55.8%, 52.2%, 0%, 11.4%) |
| CIE-LAB | lab(50.60, 30.46, -61.26) |
| CIE-LCH | lch(50.60, 68.42, 296.44°) |
| OKLab | oklab(58.61% 0.0202 -0.1753) |
| OKLCH | oklch(58.61% 0.176 276.6) |
| XYZ | xyz(24.3412, 18.9237, 74.3067) |
| Luminance | 0.1893 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 4.31
Mediumslateblue
#7B68EE
ΔE00 4.74
Royal Blue
#4169E1
ΔE00 5.03
Dark Periwinkle
#665FD1
ΔE00 5.06
Cornflower
#6A79F7
ΔE00 5.11
Slate Blue
#6A5ACD
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646CE2 #E2DA64
analogous
#64ABE2 #646CE2 #9B64E2
triadic
#646CE2 #E2646C #6CE264
tetradic
#646CE2 #E264AB #E2DA64 #64E29B
square
#646CE2 #E264AB #E2DA64 #64E29B
split-complementary
#646CE2 #E29B64 #ABE264
monochromatic
#2029AC #303BD8 #646CE2 #989DEC #CBCEF5
Accessibility & contrast
On white
4.39
#646CE2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.79
#646CE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #646CE2
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646CE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##646CE2 | 1.00 | 4.39 | 4.79 | 4.79 |
| #FFFFFF | 4.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#287EE6
Deuteranopia (green-blind)
#0873E0
Tritanopia (blue-blind)
#1D879D
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #646ce2; /* rgb */ color: rgb(100, 108, 226); /* oklch */ color: oklch(58.6% 0.176 276.6);
Tailwind
colors: {
custom: {
50: '#9a96ec',
500: '#646ce2',
950: '#000000',
},
}SCSS
$custom: #646ce2; $custom-light: #9a96ec; $custom-dark: #000000;
JSON
{
"hex": "#646ce2",
"rgb": {
"r": 100,
"g": 108,
"b": 226
},
"hsl": {
"h": 236.19,
"s": 68.478,
"l": 63.922
},
"oklch": {
"l": 0.58605,
"c": 0.17643,
"h": 276.6
},
"luminance": 0.18925
}Semantic roles & 50–950 ramp
primary
#646CE2
secondary
#E7E4BB
accent
#C515D0
background
#FAF9FE
surface
#F3F1FD
border
#CDCBD5
text
#0F0D16
muted
#7F7E84