#665FE4#665FE4
#665FE4 is a mid, vivid blue. Relative luminance 0.166; OKLCH L 56.6% C 0.195 H 280.5°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #665FE4 |
|---|---|
| RGB | rgb(102, 95, 228) |
| HSL | hsl(243, 71%, 63%) |
| HSV | hsv(243, 58%, 89%) |
| CMYK | cmyk(55.3%, 58.3%, 0%, 10.6%) |
| CIE-LAB | lab(47.76, 39.29, -66.96) |
| CIE-LCH | lch(47.76, 77.64, 300.40°) |
| OKLab | oklab(56.58% 0.0356 -0.1921) |
| OKLCH | oklch(56.58% 0.195 280.5) |
| XYZ | xyz(23.5709, 16.6091, 75.3476) |
| Luminance | 0.1661 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.65
Light Indigo
#6D5ACF
ΔE00 3.69
Slate Blue
#6A5ACD
ΔE00 3.77
Mediumslateblue
#7B68EE
ΔE00 4.65
Warm Blue
#4B57DB
ΔE00 4.70
Iris
#6258C4
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665FE4 #DDE45F
analogous
#5F9AE4 #665FE4 #A85FE4
triadic
#665FE4 #E4665F #5FE466
tetradic
#665FE4 #E45F9A #DDE45F #5FE4A8
square
#665FE4 #E45F9A #DDE45F #5FE4A8
split-complementary
#665FE4 #E4A85F #9AE45F
monochromatic
#241DAC #342BDB #665FE4 #9893ED #CAC8F6
Accessibility & contrast
On white
4.86
#665FE4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#665FE4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665FE4
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665FE4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665FE4 | 1.00 | 4.86 | 4.32 | 4.86 |
| #FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076E8
Deuteranopia (green-blind)
#006CE1
Tritanopia (blue-blind)
#267F98
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #665fe4; /* rgb */ color: rgb(102, 95, 228); /* oklch */ color: oklch(56.6% 0.195 280.5);
Tailwind
colors: {
custom: {
50: '#9c8ded',
500: '#665fe4',
950: '#000000',
},
}SCSS
$custom: #665fe4; $custom-light: #9c8ded; $custom-dark: #000000;
JSON
{
"hex": "#665fe4",
"rgb": {
"r": 102,
"g": 95,
"b": 228
},
"hsl": {
"h": 243.158,
"s": 71.123,
"l": 63.333
},
"oklch": {
"l": 0.56575,
"c": 0.19537,
"h": 280.5
},
"luminance": 0.16611
}Semantic roles & 50–950 ramp
primary
#665FE4
secondary
#E5E7B8
accent
#D312C9
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84