#665FE5#665FE5
#665FE5 is a mid, vivid blue. Relative luminance 0.167; OKLCH L 56.6% C 0.197 H 280.4°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #665FE5 |
|---|---|
| RGB | rgb(102, 95, 229) |
| HSL | hsl(243, 72%, 64%) |
| HSV | hsv(243, 59%, 90%) |
| CMYK | cmyk(55.5%, 58.5%, 0%, 10.2%) |
| CIE-LAB | lab(47.83, 39.60, -67.41) |
| CIE-LCH | lch(47.83, 78.19, 300.43°) |
| OKLab | oklab(56.65% 0.0356 -0.1934) |
| OKLCH | oklch(56.65% 0.197 280.4) |
| XYZ | xyz(23.7101, 16.6648, 76.0808) |
| Luminance | 0.1667 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.78
Light Indigo
#6D5ACF
ΔE00 3.79
Slate Blue
#6A5ACD
ΔE00 3.88
Mediumslateblue
#7B68EE
ΔE00 4.60
Warm Blue
#4B57DB
ΔE00 4.75
Iris
#6258C4
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665FE5 #DEE55F
analogous
#5F9BE5 #665FE5 #A95FE5
triadic
#665FE5 #E5665F #5FE566
tetradic
#665FE5 #E55F9B #DEE55F #5FE5A9
square
#665FE5 #E55F9B #DEE55F #5FE5A9
split-complementary
#665FE5 #E5A95F #9BE55F
monochromatic
#241CAD #342ADC #665FE5 #9894EE #CBC8F6
Accessibility & contrast
On white
4.85
#665FE5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#665FE5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665FE5
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665FE5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665FE5 | 1.00 | 4.85 | 4.33 | 4.85 |
| #FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077E9
Deuteranopia (green-blind)
#006CE2
Tritanopia (blue-blind)
#247F99
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #665fe5; /* rgb */ color: rgb(102, 95, 229); /* oklch */ color: oklch(56.6% 0.197 280.4);
Tailwind
colors: {
custom: {
50: '#9c8dee',
500: '#665fe5',
950: '#000000',
},
}SCSS
$custom: #665fe5; $custom-light: #9c8dee; $custom-dark: #000000;
JSON
{
"hex": "#665fe5",
"rgb": {
"r": 102,
"g": 95,
"b": 229
},
"hsl": {
"h": 243.134,
"s": 72.043,
"l": 63.529
},
"oklch": {
"l": 0.56649,
"c": 0.19666,
"h": 280.4
},
"luminance": 0.16666
}Semantic roles & 50–950 ramp
primary
#665FE5
secondary
#E5E8B8
accent
#D411CA
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84