#646FD2#646FD2
#646FD2 is a mid, vivid blue. Relative luminance 0.187; OKLCH L 58.1% C 0.150 H 275.9°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #646FD2 |
|---|---|
| RGB | rgb(100, 111, 210) |
| HSL | hsl(234, 55%, 61%) |
| HSV | hsv(234, 52%, 82%) |
| CMYK | cmyk(52.4%, 47.1%, 0%, 17.6%) |
| CIE-LAB | lab(50.37, 23.54, -52.57) |
| CIE-LCH | lch(50.37, 57.60, 294.13°) |
| OKLab | oklab(58.12% 0.0155 -0.1497) |
| OKLCH | oklch(58.12% 0.15 275.9) |
| XYZ | xyz(22.5691, 18.7299, 63.3862) |
| Luminance | 0.1873 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.50
Royal Blue
#4169E1
ΔE00 5.24
Dark Periwinkle
#665FD1
ΔE00 5.57
Cornflower
#6A79F7
ΔE00 6.01
Mediumslateblue
#7B68EE
ΔE00 6.49
Slate Blue
#6A5ACD
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646FD2 #D2C764
analogous
#64A6D2 #646FD2 #9064D2
triadic
#646FD2 #D2646F #6FD264
tetradic
#646FD2 #D264A6 #D2C764 #64D290
square
#646FD2 #D264A6 #D2C764 #64D290
split-complementary
#646FD2 #D29064 #A6D264
monochromatic
#2A3591 #3846C1 #646FD2 #939BE0 #C3C7EE
Accessibility & contrast
On white
4.42
#646FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.75
#646FD2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #646FD2
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646FD2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##646FD2 | 1.00 | 4.42 | 4.75 | 4.75 |
| #FFFFFF | 4.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#427DD6
Deuteranopia (green-blind)
#3674D0
Tritanopia (blue-blind)
#338596
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #646fd2; /* rgb */ color: rgb(100, 111, 210); /* oklch */ color: oklch(58.1% 0.150 275.9);
Tailwind
colors: {
custom: {
50: '#9798e0',
500: '#646fd2',
950: '#000000',
},
}SCSS
$custom: #646fd2; $custom-light: #9798e0; $custom-dark: #000000;
JSON
{
"hex": "#646fd2",
"rgb": {
"r": 100,
"g": 111,
"b": 210
},
"hsl": {
"h": 234,
"s": 55,
"l": 60.784
},
"oklch": {
"l": 0.58116,
"c": 0.15048,
"h": 275.9
},
"luminance": 0.18731
}Semantic roles & 50–950 ramp
primary
#646FD2
secondary
#DEDAB4
accent
#B323C3
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83