#664EF5#664EF5
#664EF5 is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 55.3% C 0.236 H 281.9°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #664EF5 |
|---|---|
| RGB | rgb(102, 78, 245) |
| HSL | hsl(249, 89%, 63%) |
| HSV | hsv(249, 68%, 96%) |
| CMYK | cmyk(58.4%, 68.2%, 0%, 3.9%) |
| CIE-LAB | lab(45.45, 54.13, -80.31) |
| CIE-LCH | lch(45.45, 96.84, 303.98°) |
| OKLab | oklab(55.3% 0.0489 -0.2313) |
| OKLCH | oklch(55.3% 0.236 281.9) |
| XYZ | xyz(24.6802, 14.8645, 87.9371) |
| Luminance | 0.1487 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.60
Bluish Purple
#703BE7
ΔE00 4.94
Light Indigo
#6D5ACF
ΔE00 5.62
Slate Blue
#6A5ACD
ΔE00 5.83
Warm Blue
#4B57DB
ΔE00 5.85
Purpley
#8756E4
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#664EF5 #DDF54E
analogous
#4E89F5 #664EF5 #BA4EF5
triadic
#664EF5 #F5664E #4EF566
tetradic
#664EF5 #F54E89 #DDF54E #4EF5BA
square
#664EF5 #F54E89 #DDF54E #4EF5BA
split-complementary
#664EF5 #F5BA4E #89F54E
monochromatic
#240BBE #3414F2 #664EF5 #9888F8 #CAC2FC
Accessibility & contrast
On white
5.29
#664EF5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#664EF5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #664EF5
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##664EF5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##664EF5 | 1.00 | 5.29 | 3.97 | 5.29 |
| #FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071FA
Deuteranopia (green-blind)
#0066F2
Tritanopia (blue-blind)
#007A9C
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #664ef5; /* rgb */ color: rgb(102, 78, 245); /* oklch */ color: oklch(55.3% 0.236 281.9);
Tailwind
colors: {
custom: {
50: '#a082fa',
500: '#664ef5',
950: '#000000',
},
}SCSS
$custom: #664ef5; $custom-light: #a082fa; $custom-dark: #000000;
JSON
{
"hex": "#664ef5",
"rgb": {
"r": 102,
"g": 78,
"b": 245
},
"hsl": {
"h": 248.623,
"s": 89.305,
"l": 63.333
},
"oklch": {
"l": 0.553,
"c": 0.23643,
"h": 281.9
},
"luminance": 0.14866
}Semantic roles & 50–950 ramp
primary
#664EF5
secondary
#E5EDB2
accent
#E600C5
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100A17
muted
#7F7C85