#646EE1#646EE1
#646EE1 is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.9% C 0.172 H 276.0°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #646EE1 |
|---|---|
| RGB | rgb(100, 110, 225) |
| HSL | hsl(235, 68%, 64%) |
| HSV | hsv(235, 56%, 88%) |
| CMYK | cmyk(55.6%, 51.1%, 0%, 11.8%) |
| CIE-LAB | lab(51.03, 28.92, -60.00) |
| CIE-LCH | lch(51.03, 66.61, 295.74°) |
| OKLab | oklab(58.91% 0.018 -0.1715) |
| OKLCH | oklch(58.91% 0.172 276) |
| XYZ | xyz(24.4177, 19.2957, 73.6573) |
| Luminance | 0.1930 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.94
Cornflower
#6A79F7
ΔE00 4.67
Royal Blue
#4169E1
ΔE00 5.03
Mediumslateblue
#7B68EE
ΔE00 5.11
Dark Periwinkle
#665FD1
ΔE00 5.62
Bright Blue
#0165FC
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646EE1 #E1D764
analogous
#64ACE1 #646EE1 #9864E1
triadic
#646EE1 #E1646E #6EE164
tetradic
#646EE1 #E164AC #E1D764 #64E198
square
#646EE1 #E164AC #E1D764 #64E198
split-complementary
#646EE1 #E19864 #ACE164
monochromatic
#212CAA #313ED7 #646EE1 #979EEB #CBCEF5
Accessibility & contrast
On white
4.32
#646EE1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.86
#646EE1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #646EE1
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646EE1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##646EE1 | 1.00 | 4.32 | 4.86 | 4.86 |
| #FFFFFF | 4.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#307FE5
Deuteranopia (green-blind)
#1874DF
Tritanopia (blue-blind)
#1F889D
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #646ee1; /* rgb */ color: rgb(100, 110, 225); /* oklch */ color: oklch(58.9% 0.172 276.0);
Tailwind
colors: {
custom: {
50: '#9a97eb',
500: '#646ee1',
950: '#000000',
},
}SCSS
$custom: #646ee1; $custom-light: #9a97eb; $custom-dark: #000000;
JSON
{
"hex": "#646ee1",
"rgb": {
"r": 100,
"g": 110,
"b": 225
},
"hsl": {
"h": 235.2,
"s": 67.568,
"l": 63.725
},
"oklch": {
"l": 0.5891,
"c": 0.17249,
"h": 276
},
"luminance": 0.19297
}Semantic roles & 50–950 ramp
primary
#646EE1
secondary
#E6E3BA
accent
#C116CF
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0D16
muted
#7F7E84