#646DF2#646DF2
#646DF2 is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.9% C 0.196 H 275.8°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #646DF2 |
|---|---|
| RGB | rgb(100, 109, 242) |
| HSL | hsl(236, 85%, 67%) |
| HSV | hsv(236, 59%, 95%) |
| CMYK | cmyk(58.7%, 55%, 0%, 5.1%) |
| CIE-LAB | lab(51.90, 34.98, -68.13) |
| CIE-LCH | lch(51.90, 76.58, 297.18°) |
| OKLab | oklab(59.92% 0.0199 -0.1955) |
| OKLCH | oklch(59.92% 0.196 275.8) |
| XYZ | xyz(26.7460, 20.0554, 86.4488) |
| Luminance | 0.2006 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.88
Mediumslateblue
#7B68EE
ΔE00 4.34
Cornflower Blue
#5170D7
ΔE00 5.36
Royal Blue
#4169E1
ΔE00 5.81
Dark Periwinkle
#665FD1
ΔE00 6.62
Bright Blue
#0165FC
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646DF2 #F2E964
analogous
#64B4F2 #646DF2 #A264F2
triadic
#646DF2 #F2646D #6DF264
tetradic
#646DF2 #F264B4 #F2E964 #64F2A2
square
#646DF2 #F264B4 #F2E964 #64F2A2
split-complementary
#646DF2 #F2A264 #B4F264
monochromatic
#111DCB #2C38ED #646DF2 #9CA2F7 #D5D7FB
Accessibility & contrast
On white
4.19
#646DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.01
#646DF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #646DF2
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646DF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##646DF2 | 1.00 | 4.19 | 5.01 | 5.01 |
| #FFFFFF | 4.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0082F7
Deuteranopia (green-blind)
#0076EF
Tritanopia (blue-blind)
#008CA5
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #646df2; /* rgb */ color: rgb(100, 109, 242); /* oklch */ color: oklch(59.9% 0.196 275.8);
Tailwind
colors: {
custom: {
50: '#9c96f7',
500: '#646df2',
950: '#000000',
},
}SCSS
$custom: #646df2; $custom-light: #9c96f7; $custom-dark: #000000;
JSON
{
"hex": "#646df2",
"rgb": {
"r": 100,
"g": 109,
"b": 242
},
"hsl": {
"h": 236.197,
"s": 84.524,
"l": 67.059
},
"oklch": {
"l": 0.59915,
"c": 0.19647,
"h": 275.8
},
"luminance": 0.20057
}Semantic roles & 50–950 ramp
primary
#646DF2
secondary
#EFEDC2
accent
#D305E1
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D17
muted
#7F7E85