#664FDA#664FDA
#664FDA is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 53.2% C 0.203 H 284.7°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #664FDA |
|---|---|
| RGB | rgb(102, 79, 218) |
| HSL | hsl(250, 65%, 58%) |
| HSV | hsv(250, 64%, 85%) |
| CMYK | cmyk(53.2%, 63.8%, 0%, 14.5%) |
| CIE-LAB | lab(43.47, 45.56, -68.26) |
| CIE-LCH | lch(43.47, 82.07, 303.72°) |
| OKLab | oklab(53.2% 0.0515 -0.196) |
| OKLCH | oklch(53.2% 0.203 284.7) |
| XYZ | xyz(20.9265, 13.4775, 67.8148) |
| Luminance | 0.1348 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.52
Slate Blue
#6A5ACD
ΔE00 3.55
Purpleish Blue
#6140EF
ΔE00 4.00
Iris
#6258C4
ΔE00 4.10
Bluey Purple
#6241C7
ΔE00 4.68
Bluish Purple
#703BE7
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#664FDA #C3DA4F
analogous
#4F7DDA #664FDA #AB4FDA
triadic
#664FDA #DA664F #4FDA66
tetradic
#664FDA #DA4F7D #C3DA4F #4FDAAB
square
#664FDA #DA4F7D #C3DA4F #4FDAAB
split-complementary
#664FDA #DAAB4F #7DDA4F
monochromatic
#311E90 #4229C3 #664FDA #9282E5 #BEB4EF
Accessibility & contrast
On white
5.68
#664FDA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#664FDA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #664FDA
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##664FDA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##664FDA | 1.00 | 5.68 | 3.70 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BDE
Deuteranopia (green-blind)
#0062D7
Tritanopia (blue-blind)
#35718D
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #664fda; /* rgb */ color: rgb(102, 79, 218); /* oklch */ color: oklch(53.2% 0.203 284.7);
Tailwind
colors: {
custom: {
50: '#9b82e6',
500: '#664fda',
950: '#000000',
},
}SCSS
$custom: #664fda; $custom-light: #9b82e6; $custom-dark: #000000;
JSON
{
"hex": "#664fda",
"rgb": {
"r": 102,
"g": 79,
"b": 218
},
"hsl": {
"h": 249.928,
"s": 65.258,
"l": 58.235
},
"oklch": {
"l": 0.53202,
"c": 0.20262,
"h": 284.7
},
"luminance": 0.13479
}Semantic roles & 50–950 ramp
primary
#664FDA
secondary
#D5DEA7
accent
#E840CC
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#0F0A16
muted
#7F7C84