#646EF1#646EF1
#646EF1 is a mid, vivid blue. Relative luminance 0.202; OKLCH L 60.0% C 0.194 H 275.6°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #646EF1 |
|---|---|
| RGB | rgb(100, 110, 241) |
| HSL | hsl(236, 83%, 67%) |
| HSV | hsv(236, 59%, 95%) |
| CMYK | cmyk(58.5%, 54.4%, 0%, 5.5%) |
| CIE-LAB | lab(52.07, 34.05, -67.29) |
| CIE-LCH | lch(52.07, 75.41, 296.84°) |
| OKLab | oklab(60.02% 0.0189 -0.193) |
| OKLCH | oklch(60.02% 0.194 275.6) |
| XYZ | xyz(26.7035, 20.2100, 85.6958) |
| Luminance | 0.2021 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.61
Mediumslateblue
#7B68EE
ΔE00 4.52
Cornflower Blue
#5170D7
ΔE00 5.17
Royal Blue
#4169E1
ΔE00 5.77
Dark Periwinkle
#665FD1
ΔE00 6.78
Lightish Blue
#3D7AFD
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646EF1 #F1E764
analogous
#64B4F1 #646EF1 #A164F1
triadic
#646EF1 #F1646E #6EF164
tetradic
#646EF1 #F164B4 #F1E764 #64F1A1
square
#646EF1 #F164B4 #F1E764 #64F1A1
split-complementary
#646EF1 #F1A164 #B4F164
monochromatic
#121FC8 #2C39EC #646EF1 #9CA3F6 #D4D7FB
Accessibility & contrast
On white
4.16
#646EF1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#646EF1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #646EF1
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646EF1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##646EF1 | 1.00 | 4.16 | 5.04 | 5.04 |
| #FFFFFF | 4.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B82F6
Deuteranopia (green-blind)
#0076EE
Tritanopia (blue-blind)
#008DA5
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #646ef1; /* rgb */ color: rgb(100, 110, 241); /* oklch */ color: oklch(60.0% 0.194 275.6);
Tailwind
colors: {
custom: {
50: '#9c97f6',
500: '#646ef1',
950: '#000000',
},
}SCSS
$custom: #646ef1; $custom-light: #9c97f6; $custom-dark: #000000;
JSON
{
"hex": "#646ef1",
"rgb": {
"r": 100,
"g": 110,
"b": 241
},
"hsl": {
"h": 235.745,
"s": 83.432,
"l": 66.863
},
"oklch": {
"l": 0.60024,
"c": 0.19391,
"h": 275.6
},
"luminance": 0.20212
}Semantic roles & 50–950 ramp
primary
#646EF1
secondary
#EFECC2
accent
#D006E0
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D17
muted
#7F7E85