#646FF1#646FF1
#646FF1 is a mid, vivid blue. Relative luminance 0.204; OKLCH L 60.2% C 0.193 H 275.4°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #646FF1 |
|---|---|
| RGB | rgb(100, 111, 241) |
| HSL | hsl(235, 83%, 67%) |
| HSV | hsv(235, 59%, 95%) |
| CMYK | cmyk(58.5%, 53.9%, 0%, 5.5%) |
| CIE-LAB | lab(52.32, 33.45, -66.89) |
| CIE-LCH | lch(52.32, 74.79, 296.57°) |
| OKLab | oklab(60.21% 0.018 -0.1918) |
| OKLCH | oklch(60.21% 0.193 275.4) |
| XYZ | xyz(26.8120, 20.4270, 85.7319) |
| Luminance | 0.2043 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.30
Mediumslateblue
#7B68EE
ΔE00 4.72
Cornflower Blue
#5170D7
ΔE00 5.09
Royal Blue
#4169E1
ΔE00 5.82
Lightish Blue
#3D7AFD
ΔE00 6.70
Dark Periwinkle
#665FD1
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646FF1 #F1E664
analogous
#64B6F1 #646FF1 #A064F1
triadic
#646FF1 #F1646F #6FF164
tetradic
#646FF1 #F164B6 #F1E664 #64F1A0
square
#646FF1 #F164B6 #F1E664 #64F1A0
split-complementary
#646FF1 #F1A064 #B6F164
monochromatic
#1220C8 #2C3BEC #646FF1 #9CA3F6 #D4D7FB
Accessibility & contrast
On white
4.13
#646FF1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.09
#646FF1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #646FF1
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646FF1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##646FF1 | 1.00 | 4.13 | 5.09 | 5.09 |
| #FFFFFF | 4.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1383F5
Deuteranopia (green-blind)
#0077EE
Tritanopia (blue-blind)
#008DA5
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #646ff1; /* rgb */ color: rgb(100, 111, 241); /* oklch */ color: oklch(60.2% 0.193 275.4);
Tailwind
colors: {
custom: {
50: '#9c98f6',
500: '#646ff1',
950: '#000000',
},
}SCSS
$custom: #646ff1; $custom-light: #9c98f6; $custom-dark: #000000;
JSON
{
"hex": "#646ff1",
"rgb": {
"r": 100,
"g": 111,
"b": 241
},
"hsl": {
"h": 235.319,
"s": 83.432,
"l": 66.863
},
"oklch": {
"l": 0.60206,
"c": 0.19266,
"h": 275.4
},
"luminance": 0.20429
}Semantic roles & 50–950 ramp
primary
#646FF1
secondary
#EFEBC2
accent
#CF06E0
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D17
muted
#7F7E85