#6664E2#6664E2
#6664E2 is a mid, vivid blue. Relative luminance 0.174; OKLCH L 57.3% C 0.186 H 279.5°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #6664E2 |
|---|---|
| RGB | rgb(102, 100, 226) |
| HSL | hsl(241, 68%, 64%) |
| HSV | hsv(241, 56%, 89%) |
| CMYK | cmyk(54.9%, 55.8%, 0%, 11.4%) |
| CIE-LAB | lab(48.80, 35.68, -64.16) |
| CIE-LCH | lch(48.80, 73.42, 299.08°) |
| OKLab | oklab(57.29% 0.0306 -0.1838) |
| OKLCH | oklch(57.29% 0.186 279.5) |
| XYZ | xyz(23.7598, 17.4286, 74.0488) |
| Luminance | 0.1743 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.94
Mediumslateblue
#7B68EE
ΔE00 4.16
Light Indigo
#6D5ACF
ΔE00 4.54
Slate Blue
#6A5ACD
ΔE00 4.57
Warm Blue
#4B57DB
ΔE00 5.46
Iris
#6258C4
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6664E2 #E0E264
analogous
#64A1E2 #6664E2 #A564E2
triadic
#6664E2 #E26664 #64E266
tetradic
#6664E2 #E264A1 #E0E264 #64E2A5
square
#6664E2 #E264A1 #E0E264 #64E2A5
split-complementary
#6664E2 #E2A564 #A1E264
monochromatic
#2220AC #3330D8 #6664E2 #9998EC #CCCBF5
Accessibility & contrast
On white
4.68
#6664E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.49
#6664E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6664E2
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6664E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6664E2 | 1.00 | 4.68 | 4.49 | 4.68 |
| #FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079E6
Deuteranopia (green-blind)
#006FDF
Tritanopia (blue-blind)
#288199
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #6664e2; /* rgb */ color: rgb(102, 100, 226); /* oklch */ color: oklch(57.3% 0.186 279.5);
Tailwind
colors: {
custom: {
50: '#9b90ec',
500: '#6664e2',
950: '#000000',
},
}SCSS
$custom: #6664e2; $custom-light: #9b90ec; $custom-dark: #000000;
JSON
{
"hex": "#6664e2",
"rgb": {
"r": 102,
"g": 100,
"b": 226
},
"hsl": {
"h": 240.952,
"s": 68.478,
"l": 63.922
},
"oklch": {
"l": 0.57295,
"c": 0.18635,
"h": 279.5
},
"luminance": 0.1743
}Semantic roles & 50–950 ramp
primary
#6664E2
secondary
#E6E7BB
accent
#D015CD
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84