#646FE6#646FE6
#646FE6 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.4% C 0.178 H 275.6°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #646FE6 |
|---|---|
| RGB | rgb(100, 111, 230) |
| HSL | hsl(235, 72%, 65%) |
| HSV | hsv(235, 57%, 90%) |
| CMYK | cmyk(56.5%, 51.7%, 0%, 9.8%) |
| CIE-LAB | lab(51.60, 29.92, -61.90) |
| CIE-LCH | lch(51.60, 68.75, 295.80°) |
| OKLab | oklab(59.44% 0.0174 -0.1771) |
| OKLCH | oklch(59.44% 0.178 275.6) |
| XYZ | xyz(25.2183, 19.7896, 77.3384) |
| Luminance | 0.1979 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.99
Cornflower Blue
#5170D7
ΔE00 4.15
Mediumslateblue
#7B68EE
ΔE00 5.02
Royal Blue
#4169E1
ΔE00 5.22
Dark Periwinkle
#665FD1
ΔE00 6.23
Lightish Blue
#3D7AFD
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646FE6 #E6DB64
analogous
#64B0E6 #646FE6 #9A64E6
triadic
#646FE6 #E6646F #6FE664
tetradic
#646FE6 #E664B0 #E6DB64 #64E69A
square
#646FE6 #E664B0 #E6DB64 #64E69A
split-complementary
#646FE6 #E69A64 #B0E664
monochromatic
#1D2AB3 #2F3EDD #646FE6 #99A0EE #CDD1F7
Accessibility & contrast
On white
4.24
#646FE6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.96
#646FE6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #646FE6
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646FE6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##646FE6 | 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)
#2B81EA
Deuteranopia (green-blind)
#0B76E4
Tritanopia (blue-blind)
#138AA0
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #646fe6; /* rgb */ color: rgb(100, 111, 230); /* oklch */ color: oklch(59.4% 0.178 275.6);
Tailwind
colors: {
custom: {
50: '#9a98ef',
500: '#646fe6',
950: '#000000',
},
}SCSS
$custom: #646fe6; $custom-light: #9a98ef; $custom-dark: #000000;
JSON
{
"hex": "#646fe6",
"rgb": {
"r": 100,
"g": 111,
"b": 230
},
"hsl": {
"h": 234.923,
"s": 72.222,
"l": 64.706
},
"oklch": {
"l": 0.59438,
"c": 0.17796,
"h": 275.6
},
"luminance": 0.19791
}Semantic roles & 50–950 ramp
primary
#646FE6
secondary
#E9E5BD
accent
#C411D4
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0D16
muted
#7F7E84