#646FD3#646FD3
#646FD3 is a mid, vivid blue. Relative luminance 0.188; OKLCH L 58.2% C 0.152 H 275.9°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #646FD3 |
|---|---|
| RGB | rgb(100, 111, 211) |
| HSL | hsl(234, 56%, 61%) |
| HSV | hsv(234, 53%, 83%) |
| CMYK | cmyk(52.6%, 47.4%, 0%, 17.3%) |
| CIE-LAB | lab(50.43, 23.86, -53.04) |
| CIE-LCH | lch(50.43, 58.16, 294.22°) |
| OKLab | oklab(58.18% 0.0156 -0.1511) |
| OKLCH | oklch(58.18% 0.152 275.9) |
| XYZ | xyz(22.6941, 18.7799, 64.0444) |
| Luminance | 0.1878 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.48
Royal Blue
#4169E1
ΔE00 5.20
Dark Periwinkle
#665FD1
ΔE00 5.57
Cornflower
#6A79F7
ΔE00 5.90
Mediumslateblue
#7B68EE
ΔE00 6.39
Slate Blue
#6A5ACD
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646FD3 #D3C864
analogous
#64A6D3 #646FD3 #9064D3
triadic
#646FD3 #D3646F #6FD364
tetradic
#646FD3 #D364A6 #D3C864 #64D390
square
#646FD3 #D364A6 #D3C864 #64D390
split-complementary
#646FD3 #D39064 #A6D364
monochromatic
#2A3493 #3745C3 #646FD3 #949BE1 #C3C8EE
Accessibility & contrast
On white
4.42
#646FD3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.76
#646FD3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #646FD3
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646FD3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##646FD3 | 1.00 | 4.42 | 4.76 | 4.76 |
| #FFFFFF | 4.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#417DD7
Deuteranopia (green-blind)
#3574D1
Tritanopia (blue-blind)
#328597
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #646fd3; /* rgb */ color: rgb(100, 111, 211); /* oklch */ color: oklch(58.2% 0.152 275.9);
Tailwind
colors: {
custom: {
50: '#9898e1',
500: '#646fd3',
950: '#000000',
},
}SCSS
$custom: #646fd3; $custom-light: #9898e1; $custom-dark: #000000;
JSON
{
"hex": "#646fd3",
"rgb": {
"r": 100,
"g": 111,
"b": 211
},
"hsl": {
"h": 234.054,
"s": 55.779,
"l": 60.98
},
"oklch": {
"l": 0.5818,
"c": 0.15187,
"h": 275.9
},
"luminance": 0.18781
}Semantic roles & 50–950 ramp
primary
#646FD3
secondary
#DEDAB4
accent
#B322C3
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83