#665BE1#665BE1
#665BE1 is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.7% C 0.197 H 281.6°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #665BE1 |
|---|---|
| RGB | rgb(102, 91, 225) |
| HSL | hsl(245, 69%, 62%) |
| HSV | hsv(245, 60%, 88%) |
| CMYK | cmyk(54.7%, 59.6%, 0%, 11.8%) |
| CIE-LAB | lab(46.63, 40.73, -67.10) |
| CIE-LCH | lch(46.63, 78.50, 301.26°) |
| OKLab | oklab(55.68% 0.0396 -0.1925) |
| OKLCH | oklch(55.68% 0.197 281.6) |
| XYZ | xyz(22.8070, 15.7418, 73.0562) |
| Luminance | 0.1574 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.49
Light Indigo
#6D5ACF
ΔE00 2.87
Slate Blue
#6A5ACD
ΔE00 2.95
Warm Blue
#4B57DB
ΔE00 4.18
Iris
#6258C4
ΔE00 4.31
Mediumslateblue
#7B68EE
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665BE1 #D6E15B
analogous
#5B93E1 #665BE1 #A95BE1
triadic
#665BE1 #E1665B #5BE166
tetradic
#665BE1 #E15B93 #D6E15B #5BE1A9
square
#665BE1 #E15B93 #D6E15B #5BE1A9
split-complementary
#665BE1 #E1A95B #93E15B
monochromatic
#291EA4 #3627D7 #665BE1 #968FEA #C7C2F4
Accessibility & contrast
On white
5.06
#665BE1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#665BE1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665BE1
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665BE1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665BE1 | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073E5
Deuteranopia (green-blind)
#006ADE
Tritanopia (blue-blind)
#2B7B95
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #665be1; /* rgb */ color: rgb(102, 91, 225); /* oklch */ color: oklch(55.7% 0.197 281.6);
Tailwind
colors: {
custom: {
50: '#9c8aeb',
500: '#665be1',
950: '#000000',
},
}SCSS
$custom: #665be1; $custom-light: #9c8aeb; $custom-dark: #000000;
JSON
{
"hex": "#665be1",
"rgb": {
"r": 102,
"g": 91,
"b": 225
},
"hsl": {
"h": 244.925,
"s": 69.072,
"l": 61.961
},
"oklch": {
"l": 0.55675,
"c": 0.19654,
"h": 281.6
},
"luminance": 0.15743
}Semantic roles & 50–950 ramp
primary
#665BE1
secondary
#E1E5B3
accent
#D114C2
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84