#646CC1#646CC1
#646CC1 is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.5% C 0.130 H 277.3°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #646CC1 |
|---|---|
| RGB | rgb(100, 108, 193) |
| HSL | hsl(235, 43%, 57%) |
| HSV | hsv(235, 48%, 76%) |
| CMYK | cmyk(48.2%, 44%, 0%, 24.3%) |
| CIE-LAB | lab(48.62, 20.07, -45.63) |
| CIE-LCH | lch(48.62, 49.85, 293.74°) |
| OKLab | oklab(56.47% 0.0166 -0.1294) |
| OKLCH | oklch(56.47% 0.13 277.3) |
| XYZ | xyz(20.2408, 17.2836, 52.7113) |
| Luminance | 0.1729 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 5.08
Dark Periwinkle
#665FD1
ΔE00 5.24
Royal Blue
#4169E1
ΔE00 6.51
Slate Blue
#6A5ACD
ΔE00 6.76
Iris
#6258C4
ΔE00 6.83
Light Indigo
#6D5ACF
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646CC1 #C1B964
analogous
#649AC1 #646CC1 #8B64C1
triadic
#646CC1 #C1646C #6CC164
tetradic
#646CC1 #C1649A #C1B964 #64C18B
square
#646CC1 #C1649A #C1B964 #64C18B
split-complementary
#646CC1 #C18B64 #9AC164
monochromatic
#31377A #424BA6 #646CC1 #9095D2 #BBBFE4
Accessibility & contrast
On white
4.71
#646CC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#646CC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #646CC1
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646CC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##646CC1 | 1.00 | 4.71 | 4.46 | 4.71 |
| #FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A77C4
Deuteranopia (green-blind)
#4270BF
Tritanopia (blue-blind)
#417E8D
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #646cc1; /* rgb */ color: rgb(100, 108, 193); /* oklch */ color: oklch(56.5% 0.130 277.3);
Tailwind
colors: {
custom: {
50: '#9596d4',
500: '#646cc1',
950: '#000000',
},
}SCSS
$custom: #646cc1; $custom-light: #9596d4; $custom-dark: #000000;
JSON
{
"hex": "#646cc1",
"rgb": {
"r": 100,
"g": 108,
"b": 193
},
"hsl": {
"h": 234.839,
"s": 42.857,
"l": 57.451
},
"oklch": {
"l": 0.56468,
"c": 0.13043,
"h": 277.3
},
"luminance": 0.17285
}Semantic roles & 50–950 ramp
primary
#646CC1
secondary
#D3D0AE
accent
#C855D3
background
#F9F9FD
surface
#F2F1FA
border
#CCCBD3
text
#0E0D14
muted
#7E7E83