#665BE2#665BE2
#665BE2 is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.8% C 0.198 H 281.5°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #665BE2 |
|---|---|
| RGB | rgb(102, 91, 226) |
| HSL | hsl(245, 70%, 62%) |
| HSV | hsv(245, 60%, 89%) |
| CMYK | cmyk(54.9%, 59.7%, 0%, 11.4%) |
| CIE-LAB | lab(46.71, 41.04, -67.55) |
| CIE-LCH | lch(46.71, 79.04, 301.28°) |
| OKLab | oklab(55.75% 0.0395 -0.1938) |
| OKLCH | oklch(55.75% 0.198 281.5) |
| XYZ | xyz(22.9438, 15.7965, 73.7768) |
| Luminance | 0.1580 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.60
Light Indigo
#6D5ACF
ΔE00 2.98
Slate Blue
#6A5ACD
ΔE00 3.08
Warm Blue
#4B57DB
ΔE00 4.22
Iris
#6258C4
ΔE00 4.44
Mediumslateblue
#7B68EE
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665BE2 #D7E25B
analogous
#5B94E2 #665BE2 #AA5BE2
triadic
#665BE2 #E2665B #5BE266
tetradic
#665BE2 #E25B94 #D7E25B #5BE2AA
square
#665BE2 #E25B94 #D7E25B #5BE2AA
split-complementary
#665BE2 #E2AA5B #94E25B
monochromatic
#281DA5 #3527D9 #665BE2 #978FEB #C7C3F4
Accessibility & contrast
On white
5.05
#665BE2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#665BE2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665BE2
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665BE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665BE2 | 1.00 | 5.05 | 4.16 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073E6
Deuteranopia (green-blind)
#006ADF
Tritanopia (blue-blind)
#2A7B96
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #665be2; /* rgb */ color: rgb(102, 91, 226); /* oklch */ color: oklch(55.8% 0.198 281.5);
Tailwind
colors: {
custom: {
50: '#9c8aec',
500: '#665be2',
950: '#000000',
},
}SCSS
$custom: #665be2; $custom-light: #9c8aec; $custom-dark: #000000;
JSON
{
"hex": "#665be2",
"rgb": {
"r": 102,
"g": 91,
"b": 226
},
"hsl": {
"h": 244.889,
"s": 69.948,
"l": 62.157
},
"oklch": {
"l": 0.55751,
"c": 0.19783,
"h": 281.5
},
"luminance": 0.15798
}Semantic roles & 50–950 ramp
primary
#665BE2
secondary
#E1E5B4
accent
#D214C2
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84