#664BFC#664BFC
#664BFC is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 55.5% C 0.248 H 281.6°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #664BFC |
|---|---|
| RGB | rgb(102, 75, 252) |
| HSL | hsl(249, 97%, 64%) |
| HSV | hsv(249, 70%, 99%) |
| CMYK | cmyk(59.5%, 70.2%, 0%, 1.2%) |
| CIE-LAB | lab(45.47, 57.76, -84.18) |
| CIE-LCH | lch(45.47, 102.09, 304.46°) |
| OKLab | oklab(55.5% 0.0499 -0.2426) |
| OKLCH | oklch(55.5% 0.248 281.6) |
| XYZ | xyz(25.5608, 14.8834, 93.6024) |
| Luminance | 0.1489 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.46
Bluish Purple
#703BE7
ΔE00 4.82
Purpley
#8756E4
ΔE00 6.24
Purpley Blue
#5F34E7
ΔE00 6.28
Light Indigo
#6D5ACF
ΔE00 6.52
Warm Blue
#4B57DB
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#664BFC #E1FC4B
analogous
#4B88FC #664BFC #BF4BFC
triadic
#664BFC #FC664B #4BFC66
tetradic
#664BFC #FC4B88 #E1FC4B #4BFCBF
square
#664BFC #FC4B88 #E1FC4B #4BFCBF
split-complementary
#664BFC #FCBF4B #88FC4B
monochromatic
#2203C9 #330FFB #664BFC #9987FD #CCC3FE
Accessibility & contrast
On white
5.28
#664BFC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#664BFC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #664BFC
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##664BFC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##664BFC | 1.00 | 5.28 | 3.98 | 5.28 |
| #FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072FF
Deuteranopia (green-blind)
#0065F9
Tritanopia (blue-blind)
#007B9F
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #664bfc; /* rgb */ color: rgb(102, 75, 252); /* oklch */ color: oklch(55.5% 0.248 281.6);
Tailwind
colors: {
custom: {
50: '#a180ff',
500: '#664bfc',
950: '#000000',
},
}SCSS
$custom: #664bfc; $custom-light: #a180ff; $custom-dark: #000000;
JSON
{
"hex": "#664bfc",
"rgb": {
"r": 102,
"g": 75,
"b": 252
},
"hsl": {
"h": 249.153,
"s": 96.721,
"l": 64.118
},
"oklch": {
"l": 0.55502,
"c": 0.24773,
"h": 281.6
},
"luminance": 0.14885
}Semantic roles & 50–950 ramp
primary
#664BFC
secondary
#E7F0B3
accent
#E600C2
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100A18
muted
#7F7C86