#646CF1#646CF1
#646CF1 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.7% C 0.196 H 276.1°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #646CF1 |
|---|---|
| RGB | rgb(100, 108, 241) |
| HSL | hsl(237, 83%, 67%) |
| HSV | hsv(237, 59%, 95%) |
| CMYK | cmyk(58.5%, 55.2%, 0%, 5.5%) |
| CIE-LAB | lab(51.59, 35.26, -68.07) |
| CIE-LCH | lch(51.59, 76.66, 297.38°) |
| OKLab | oklab(59.66% 0.0208 -0.1953) |
| OKLCH | oklch(59.66% 0.196 276.1) |
| XYZ | xyz(26.4901, 19.7833, 85.6247) |
| Luminance | 0.1978 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 4.19
Cornflower
#6A79F7
ΔE00 4.22
Cornflower Blue
#5170D7
ΔE00 5.39
Royal Blue
#4169E1
ΔE00 5.73
Dark Periwinkle
#665FD1
ΔE00 6.28
Bright Blue
#0165FC
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646CF1 #F1E964
analogous
#64B2F1 #646CF1 #A364F1
triadic
#646CF1 #F1646C #6CF164
tetradic
#646CF1 #F164B2 #F1E964 #64F1A3
square
#646CF1 #F164B2 #F1E964 #64F1A3
split-complementary
#646CF1 #F1A364 #B2F164
monochromatic
#121CC8 #2C37EC #646CF1 #9CA1F6 #D4D6FB
Accessibility & contrast
On white
4.24
#646CF1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.96
#646CF1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #646CF1
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646CF1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##646CF1 | 1.00 | 4.24 | 4.96 | 4.96 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0081F6
Deuteranopia (green-blind)
#0075EE
Tritanopia (blue-blind)
#008BA4
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #646cf1; /* rgb */ color: rgb(100, 108, 241); /* oklch */ color: oklch(59.7% 0.196 276.1);
Tailwind
colors: {
custom: {
50: '#9c96f6',
500: '#646cf1',
950: '#000000',
},
}SCSS
$custom: #646cf1; $custom-light: #9c96f6; $custom-dark: #000000;
JSON
{
"hex": "#646cf1",
"rgb": {
"r": 100,
"g": 108,
"b": 241
},
"hsl": {
"h": 236.596,
"s": 83.432,
"l": 66.863
},
"oklch": {
"l": 0.59664,
"c": 0.19641,
"h": 276.1
},
"luminance": 0.19785
}Semantic roles & 50–950 ramp
primary
#646CF1
secondary
#EFECC2
accent
#D306E0
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D17
muted
#7F7E85