#665EE6#665EE6
#665EE6 is a mid, vivid blue. Relative luminance 0.165; OKLCH L 56.6% C 0.199 H 280.6°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #665EE6 |
|---|---|
| RGB | rgb(102, 94, 230) |
| HSL | hsl(244, 73%, 64%) |
| HSV | hsv(244, 59%, 90%) |
| CMYK | cmyk(55.7%, 59.1%, 0%, 9.8%) |
| CIE-LAB | lab(47.68, 40.50, -68.23) |
| CIE-LCH | lch(47.68, 79.35, 300.69°) |
| OKLab | oklab(56.56% 0.0365 -0.1958) |
| OKLCH | oklch(56.56% 0.199 280.6) |
| XYZ | xyz(23.7607, 16.5418, 76.7884) |
| Luminance | 0.1654 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.91
Light Indigo
#6D5ACF
ΔE00 3.76
Slate Blue
#6A5ACD
ΔE00 3.87
Warm Blue
#4B57DB
ΔE00 4.69
Mediumslateblue
#7B68EE
ΔE00 4.72
Iris
#6258C4
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665EE6 #DEE65E
analogous
#5E9AE6 #665EE6 #AA5EE6
triadic
#665EE6 #E6665E #5EE666
tetradic
#665EE6 #E65E9A #DEE65E #5EE6AA
square
#665EE6 #E65E9A #DEE65E #5EE6AA
split-complementary
#665EE6 #E6AA5E #9AE65E
monochromatic
#241BAF #3429DE #665EE6 #9893EE #CBC8F6
Accessibility & contrast
On white
4.87
#665EE6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#665EE6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665EE6
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665EE6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665EE6 | 1.00 | 4.87 | 4.31 | 4.87 |
| #FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076EA
Deuteranopia (green-blind)
#006CE3
Tritanopia (blue-blind)
#237F99
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #665ee6; /* rgb */ color: rgb(102, 94, 230); /* oklch */ color: oklch(56.6% 0.199 280.6);
Tailwind
colors: {
custom: {
50: '#9c8cef',
500: '#665ee6',
950: '#000000',
},
}SCSS
$custom: #665ee6; $custom-light: #9c8cef; $custom-dark: #000000;
JSON
{
"hex": "#665ee6",
"rgb": {
"r": 102,
"g": 94,
"b": 230
},
"hsl": {
"h": 243.529,
"s": 73.118,
"l": 63.529
},
"oklch": {
"l": 0.56556,
"c": 0.1992,
"h": 280.6
},
"luminance": 0.16543
}Semantic roles & 50–950 ramp
primary
#665EE6
secondary
#E5E8B8
accent
#D510CA
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85