#664EE5#664EE5
#664EE5 is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.9% C 0.217 H 283.6°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #664EE5 |
|---|---|
| RGB | rgb(102, 78, 229) |
| HSL | hsl(250, 74%, 60%) |
| HSV | hsv(250, 66%, 90%) |
| CMYK | cmyk(55.5%, 65.9%, 0%, 10.2%) |
| CIE-LAB | lab(44.13, 49.39, -73.44) |
| CIE-LCH | lch(44.13, 88.51, 303.92°) |
| OKLab | oklab(53.95% 0.0512 -0.2112) |
| OKLCH | oklch(53.95% 0.217 283.6) |
| XYZ | xyz(22.3424, 13.9293, 75.6249) |
| Luminance | 0.1393 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.26
Bluish Purple
#703BE7
ΔE00 4.33
Light Indigo
#6D5ACF
ΔE00 4.34
Slate Blue
#6A5ACD
ΔE00 4.47
Warm Blue
#4B57DB
ΔE00 5.07
Iris
#6258C4
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#664EE5 #CDE54E
analogous
#4E82E5 #664EE5 #B14EE5
triadic
#664EE5 #E5664E #4EE566
tetradic
#664EE5 #E54E82 #CDE54E #4EE5B1
square
#664EE5 #E54E82 #CDE54E #4EE5B1
split-complementary
#664EE5 #E5B14E #82E54E
monochromatic
#2D18A1 #3D1FD6 #664EE5 #9483ED #C2B9F5
Accessibility & contrast
On white
5.55
#664EE5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#664EE5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #664EE5
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##664EE5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##664EE5 | 1.00 | 5.55 | 3.79 | 5.55 |
| #FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DEA
Deuteranopia (green-blind)
#0063E2
Tritanopia (blue-blind)
#287493
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #664ee5; /* rgb */ color: rgb(102, 78, 229); /* oklch */ color: oklch(53.9% 0.217 283.6);
Tailwind
colors: {
custom: {
50: '#9d81ee',
500: '#664ee5',
950: '#000000',
},
}SCSS
$custom: #664ee5; $custom-light: #9d81ee; $custom-dark: #000000;
JSON
{
"hex": "#664ee5",
"rgb": {
"r": 102,
"g": 78,
"b": 229
},
"hsl": {
"h": 249.536,
"s": 74.384,
"l": 60.196
},
"oklch": {
"l": 0.53947,
"c": 0.21731,
"h": 283.6
},
"luminance": 0.13931
}Semantic roles & 50–950 ramp
primary
#664EE5
secondary
#DBE4AA
accent
#D70FB7
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A17
muted
#7F7C85