#646FF3#646FF3
#646FF3 is a mid, vivid blue. Relative luminance 0.205; OKLCH L 60.3% C 0.195 H 275.3°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #646FF3 |
|---|---|
| RGB | rgb(100, 111, 243) |
| HSL | hsl(235, 86%, 67%) |
| HSV | hsv(235, 59%, 95%) |
| CMYK | cmyk(58.8%, 54.3%, 0%, 4.7%) |
| CIE-LAB | lab(52.45, 34.09, -67.79) |
| CIE-LCH | lch(52.45, 75.88, 296.70°) |
| OKLab | oklab(60.35% 0.0181 -0.1945) |
| OKLCH | oklch(60.35% 0.195 275.3) |
| XYZ | xyz(27.1124, 20.5472, 87.3139) |
| Luminance | 0.2055 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.23
Mediumslateblue
#7B68EE
ΔE00 4.71
Cornflower Blue
#5170D7
ΔE00 5.28
Royal Blue
#4169E1
ΔE00 5.96
Lightish Blue
#3D7AFD
ΔE00 6.68
Dark Periwinkle
#665FD1
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646FF3 #F3E864
analogous
#64B6F3 #646FF3 #A164F3
triadic
#646FF3 #F3646F #6FF364
tetradic
#646FF3 #F364B6 #F3E864 #64F3A1
square
#646FF3 #F364B6 #F3E864 #64F3A1
split-complementary
#646FF3 #F3A164 #B6F364
monochromatic
#101ECD #2B3AEF #646FF3 #9DA4F7 #D6D9FC
Accessibility & contrast
On white
4.11
#646FF3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.11
#646FF3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #646FF3
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646FF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##646FF3 | 1.00 | 4.11 | 5.11 | 5.11 |
| #FFFFFF | 4.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A83F8
Deuteranopia (green-blind)
#0077F0
Tritanopia (blue-blind)
#008EA6
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #646ff3; /* rgb */ color: rgb(100, 111, 243); /* oklch */ color: oklch(60.3% 0.195 275.3);
Tailwind
colors: {
custom: {
50: '#9c98f8',
500: '#646ff3',
950: '#000000',
},
}SCSS
$custom: #646ff3; $custom-light: #9c98f8; $custom-dark: #000000;
JSON
{
"hex": "#646ff3",
"rgb": {
"r": 100,
"g": 111,
"b": 243
},
"hsl": {
"h": 235.385,
"s": 85.629,
"l": 67.255
},
"oklch": {
"l": 0.60348,
"c": 0.1953,
"h": 275.3
},
"luminance": 0.20549
}Semantic roles & 50–950 ramp
primary
#646FF3
secondary
#F0ECC3
accent
#D103E2
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D17
muted
#7F7E85