#665FE7#665FE7
#665FE7 is a mid, vivid blue. Relative luminance 0.168; OKLCH L 56.8% C 0.199 H 280.3°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #665FE7 |
|---|---|
| RGB | rgb(102, 95, 231) |
| HSL | hsl(243, 74%, 64%) |
| HSV | hsv(243, 59%, 91%) |
| CMYK | cmyk(55.8%, 58.9%, 0%, 9.4%) |
| CIE-LAB | lab(47.98, 40.22, -68.31) |
| CIE-LCH | lch(47.98, 79.27, 300.49°) |
| OKLab | oklab(56.8% 0.0355 -0.196) |
| OKLCH | oklch(56.8% 0.199 280.3) |
| XYZ | xyz(23.9910, 16.7771, 77.5599) |
| Luminance | 0.1678 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.05
Light Indigo
#6D5ACF
ΔE00 4.01
Slate Blue
#6A5ACD
ΔE00 4.12
Mediumslateblue
#7B68EE
ΔE00 4.49
Warm Blue
#4B57DB
ΔE00 4.87
Iris
#6258C4
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665FE7 #E0E75F
analogous
#5F9CE7 #665FE7 #AA5FE7
triadic
#665FE7 #E7665F #5FE766
tetradic
#665FE7 #E75F9C #E0E75F #5FE7AA
square
#665FE7 #E75F9C #E0E75F #5FE7AA
split-complementary
#665FE7 #E7AA5F #9CE75F
monochromatic
#221BB1 #332ADF #665FE7 #9994EF #CCC9F7
Accessibility & contrast
On white
4.82
#665FE7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.36
#665FE7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665FE7
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665FE7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665FE7 | 1.00 | 4.82 | 4.36 | 4.82 |
| #FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077EB
Deuteranopia (green-blind)
#006DE4
Tritanopia (blue-blind)
#21809A
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #665fe7; /* rgb */ color: rgb(102, 95, 231); /* oklch */ color: oklch(56.8% 0.199 280.3);
Tailwind
colors: {
custom: {
50: '#9c8df0',
500: '#665fe7',
950: '#000000',
},
}SCSS
$custom: #665fe7; $custom-light: #9c8df0; $custom-dark: #000000;
JSON
{
"hex": "#665fe7",
"rgb": {
"r": 102,
"g": 95,
"b": 231
},
"hsl": {
"h": 243.088,
"s": 73.913,
"l": 63.922
},
"oklch": {
"l": 0.568,
"c": 0.19924,
"h": 280.3
},
"luminance": 0.16779
}Semantic roles & 50–950 ramp
primary
#665FE7
secondary
#E6E9B9
accent
#D60FCC
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85