#665CE3#665CE3
#665CE3 is a mid, vivid blue. Relative luminance 0.160; OKLCH L 56.0% C 0.198 H 281.2°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #665CE3 |
|---|---|
| RGB | rgb(102, 92, 227) |
| HSL | hsl(244, 71%, 63%) |
| HSV | hsv(244, 59%, 89%) |
| CMYK | cmyk(55.1%, 59.5%, 0%, 11%) |
| CIE-LAB | lab(47.01, 40.76, -67.63) |
| CIE-LCH | lch(47.01, 78.96, 301.07°) |
| OKLab | oklab(55.99% 0.0385 -0.1941) |
| OKLCH | oklch(55.99% 0.198 281.2) |
| XYZ | xyz(23.1675, 16.0237, 74.5302) |
| Luminance | 0.1603 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.62
Light Indigo
#6D5ACF
ΔE00 3.18
Slate Blue
#6A5ACD
ΔE00 3.28
Warm Blue
#4B57DB
ΔE00 4.33
Iris
#6258C4
ΔE00 4.65
Mediumslateblue
#7B68EE
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665CE3 #D9E35C
analogous
#5C96E3 #665CE3 #A95CE3
triadic
#665CE3 #E3665C #5CE366
tetradic
#665CE3 #E35C96 #D9E35C #5CE3A9
square
#665CE3 #E35C96 #D9E35C #5CE3A9
split-complementary
#665CE3 #E3A95C #96E35C
monochromatic
#271DA8 #3528DA #665CE3 #9790EC #C8C4F5
Accessibility & contrast
On white
4.99
#665CE3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#665CE3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665CE3
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665CE3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665CE3 | 1.00 | 4.99 | 4.20 | 4.99 |
| #FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E7
Deuteranopia (green-blind)
#006BE0
Tritanopia (blue-blind)
#287C97
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #665ce3; /* rgb */ color: rgb(102, 92, 227); /* oklch */ color: oklch(56.0% 0.198 281.2);
Tailwind
colors: {
custom: {
50: '#9c8aed',
500: '#665ce3',
950: '#000000',
},
}SCSS
$custom: #665ce3; $custom-light: #9c8aed; $custom-dark: #000000;
JSON
{
"hex": "#665ce3",
"rgb": {
"r": 102,
"g": 92,
"b": 227
},
"hsl": {
"h": 244.444,
"s": 70.681,
"l": 62.549
},
"oklch": {
"l": 0.55993,
"c": 0.19785,
"h": 281.2
},
"luminance": 0.16025
}Semantic roles & 50–950 ramp
primary
#665CE3
secondary
#E2E6B5
accent
#D313C4
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84