#664EFF#664EFF
#664EFF is a mid, highly saturated blue. Relative luminance 0.155; OKLCH L 56.2% C 0.248 H 281.0°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #664EFF |
|---|---|
| RGB | rgb(102, 78, 255) |
| HSL | hsl(248, 100%, 65%) |
| HSV | hsv(248, 69%, 100%) |
| CMYK | cmyk(60%, 69.4%, 0%, 0%) |
| CIE-LAB | lab(46.30, 57.07, -84.49) |
| CIE-LCH | lch(46.30, 101.96, 304.04°) |
| OKLab | oklab(56.17% 0.0472 -0.2436) |
| OKLCH | oklch(56.17% 0.248 281) |
| XYZ | xyz(26.2482, 15.4917, 96.1954) |
| Luminance | 0.1549 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 4.34
Bluish Purple
#703BE7
ΔE00 5.67
Purpley
#8756E4
ΔE00 6.13
Light Indigo
#6D5ACF
ΔE00 6.53
Warm Blue
#4B57DB
ΔE00 6.59
Slate Blue
#6A5ACD
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#664EFF #E7FF4E
analogous
#4E8EFF #664EFF #BF4EFF
triadic
#664EFF #FF664E #4EFF66
tetradic
#664EFF #FF4E8E #E7FF4E #4EFFBF
square
#664EFF #FF4E8E #E7FF4E #4EFFBF
split-complementary
#664EFF #FFBF4E #8EFF4E
monochromatic
#1D00D3 #3111FF #664EFF #9B8BFF #D0C8FF
Accessibility & contrast
On white
5.12
#664EFF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#664EFF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #664EFF
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##664EFF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##664EFF | 1.00 | 5.12 | 4.10 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074FF
Deuteranopia (green-blind)
#0067FC
Tritanopia (blue-blind)
#007EA1
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #664eff; /* rgb */ color: rgb(102, 78, 255); /* oklch */ color: oklch(56.2% 0.248 281.0);
Tailwind
colors: {
custom: {
50: '#a182ff',
500: '#664eff',
950: '#000000',
},
}SCSS
$custom: #664eff; $custom-light: #a182ff; $custom-dark: #000000;
JSON
{
"hex": "#664eff",
"rgb": {
"r": 102,
"g": 78,
"b": 255
},
"hsl": {
"h": 248.136,
"s": 100,
"l": 65.294
},
"oklch": {
"l": 0.5617,
"c": 0.24812,
"h": 281
},
"luminance": 0.15494
}Semantic roles & 50–950 ramp
primary
#664EFF
secondary
#EAF2B7
accent
#E600C6
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B18
muted
#7F7C86