#646EE2#646EE2
#646EE2 is a mid, vivid blue. Relative luminance 0.194; OKLCH L 59.0% C 0.174 H 276.0°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #646EE2 |
|---|---|
| RGB | rgb(100, 110, 226) |
| HSL | hsl(235, 68%, 64%) |
| HSV | hsv(235, 56%, 89%) |
| CMYK | cmyk(55.8%, 51.3%, 0%, 11.4%) |
| CIE-LAB | lab(51.09, 29.24, -60.46) |
| CIE-LCH | lch(51.09, 67.16, 295.81°) |
| OKLab | oklab(58.98% 0.0181 -0.1729) |
| OKLCH | oklch(58.98% 0.174 276) |
| XYZ | xyz(24.5545, 19.3505, 74.3779) |
| Luminance | 0.1935 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 4.00
Cornflower
#6A79F7
ΔE00 4.58
Mediumslateblue
#7B68EE
ΔE00 5.04
Royal Blue
#4169E1
ΔE00 5.05
Dark Periwinkle
#665FD1
ΔE00 5.68
Bright Blue
#0165FC
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646EE2 #E2D864
analogous
#64ADE2 #646EE2 #9964E2
triadic
#646EE2 #E2646E #6EE264
tetradic
#646EE2 #E264AD #E2D864 #64E299
square
#646EE2 #E264AD #E2D864 #64E299
split-complementary
#646EE2 #E29964 #ADE264
monochromatic
#202BAC #303ED8 #646EE2 #989EEC #CBCEF5
Accessibility & contrast
On white
4.31
#646EE2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.87
#646EE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #646EE2
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646EE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##646EE2 | 1.00 | 4.31 | 4.87 | 4.87 |
| #FFFFFF | 4.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E7FE6
Deuteranopia (green-blind)
#1575E0
Tritanopia (blue-blind)
#1D889D
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #646ee2; /* rgb */ color: rgb(100, 110, 226); /* oklch */ color: oklch(59.0% 0.174 276.0);
Tailwind
colors: {
custom: {
50: '#9a97ec',
500: '#646ee2',
950: '#000000',
},
}SCSS
$custom: #646ee2; $custom-light: #9a97ec; $custom-dark: #000000;
JSON
{
"hex": "#646ee2",
"rgb": {
"r": 100,
"g": 110,
"b": 226
},
"hsl": {
"h": 235.238,
"s": 68.478,
"l": 63.922
},
"oklch": {
"l": 0.58978,
"c": 0.17384,
"h": 276
},
"luminance": 0.19352
}Semantic roles & 50–950 ramp
primary
#646EE2
secondary
#E7E3BB
accent
#C215D0
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0D16
muted
#7F7E84