#646EC7#646EC7
#646EC7 is a mid, vivid blue. Relative luminance 0.180; OKLCH L 57.2% C 0.136 H 276.4°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #646EC7 |
|---|---|
| RGB | rgb(100, 110, 199) |
| HSL | hsl(234, 47%, 59%) |
| HSV | hsv(234, 50%, 78%) |
| CMYK | cmyk(49.7%, 44.7%, 0%, 22%) |
| CIE-LAB | lab(49.48, 20.70, -47.71) |
| CIE-LCH | lch(49.48, 52.01, 293.46°) |
| OKLab | oklab(57.23% 0.0151 -0.1354) |
| OKLCH | oklch(57.23% 0.136 276.4) |
| XYZ | xyz(21.1370, 17.9835, 56.3791) |
| Luminance | 0.1799 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 4.22
Dark Periwinkle
#665FD1
ΔE00 5.51
Royal Blue
#4169E1
ΔE00 5.92
Slate Blue
#6A5ACD
ΔE00 7.20
Light Indigo
#6D5ACF
ΔE00 7.42
Iris
#6258C4
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646EC7 #C7BD64
analogous
#649FC7 #646EC7 #8B64C7
triadic
#646EC7 #C7646E #6EC764
tetradic
#646EC7 #C7649F #C7BD64 #64C78B
square
#646EC7 #C7649F #C7BD64 #64C78B
split-complementary
#646EC7 #C78B64 #9FC764
monochromatic
#2F3782 #3F4AAF #646EC7 #9198D7 #BEC2E7
Accessibility & contrast
On white
4.57
#646EC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.60
#646EC7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #646EC7
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646EC7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##646EC7 | 1.00 | 4.57 | 4.60 | 4.60 |
| #FFFFFF | 4.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#497ACA
Deuteranopia (green-blind)
#4072C5
Tritanopia (blue-blind)
#3D8191
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #646ec7; /* rgb */ color: rgb(100, 110, 199); /* oklch */ color: oklch(57.2% 0.136 276.4);
Tailwind
colors: {
custom: {
50: '#9697d8',
500: '#646ec7',
950: '#000000',
},
}SCSS
$custom: #646ec7; $custom-light: #9697d8; $custom-dark: #000000;
JSON
{
"hex": "#646ec7",
"rgb": {
"r": 100,
"g": 110,
"b": 199
},
"hsl": {
"h": 233.939,
"s": 46.919,
"l": 58.627
},
"oklch": {
"l": 0.57232,
"c": 0.13628,
"h": 276.4
},
"luminance": 0.17985
}Semantic roles & 50–950 ramp
primary
#646EC7
secondary
#D7D3B0
accent
#C951D7
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0E0D14
muted
#7E7E83