#646EC3#646EC3
#646EC3 is a mid, vivid blue. Relative luminance 0.178; OKLCH L 57.0% C 0.131 H 276.4°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #646EC3 |
|---|---|
| RGB | rgb(100, 110, 195) |
| HSL | hsl(234, 44%, 58%) |
| HSV | hsv(234, 49%, 76%) |
| CMYK | cmyk(48.7%, 43.6%, 0%, 23.5%) |
| CIE-LAB | lab(49.25, 19.46, -45.77) |
| CIE-LCH | lch(49.25, 49.74, 293.03°) |
| OKLab | oklab(56.99% 0.0145 -0.1298) |
| OKLCH | oklch(56.99% 0.131 276.4) |
| XYZ | xyz(20.6787, 17.8001, 53.9653) |
| Luminance | 0.1780 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 4.57
Dark Periwinkle
#665FD1
ΔE00 5.74
Royal Blue
#4169E1
ΔE00 6.28
French Blue
#436BAD
ΔE00 7.35
Slate Blue
#6A5ACD
ΔE00 7.36
Iris
#6258C4
ΔE00 7.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646EC3 #C3B964
analogous
#649EC3 #646EC3 #8964C3
triadic
#646EC3 #C3646E #6EC364
tetradic
#646EC3 #C3649E #C3B964 #64C389
square
#646EC3 #C3649E #C3B964 #64C389
split-complementary
#646EC3 #C38964 #9EC364
monochromatic
#30387C #414CA9 #646EC3 #9097D4 #BCC1E5
Accessibility & contrast
On white
4.61
#646EC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.56
#646EC3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #646EC3
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646EC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##646EC3 | 1.00 | 4.61 | 4.56 | 4.61 |
| #FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C79C6
Deuteranopia (green-blind)
#4371C1
Tritanopia (blue-blind)
#3F808F
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #646ec3; /* rgb */ color: rgb(100, 110, 195); /* oklch */ color: oklch(57.0% 0.131 276.4);
Tailwind
colors: {
custom: {
50: '#9697d5',
500: '#646ec3',
950: '#000000',
},
}SCSS
$custom: #646ec3; $custom-light: #9697d5; $custom-dark: #000000;
JSON
{
"hex": "#646ec3",
"rgb": {
"r": 100,
"g": 110,
"b": 195
},
"hsl": {
"h": 233.684,
"s": 44.186,
"l": 57.843
},
"oklch": {
"l": 0.5699,
"c": 0.13057,
"h": 276.4
},
"luminance": 0.17801
}Semantic roles & 50–950 ramp
primary
#646EC3
secondary
#D4D0AE
accent
#C654D4
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0E0D14
muted
#7E7E83