#665ED5#665ED5
#665ED5 is a mid, vivid blue. Relative luminance 0.156; OKLCH L 55.3% C 0.177 H 282.0°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #665ED5 |
|---|---|
| RGB | rgb(102, 94, 213) |
| HSL | hsl(244, 59%, 60%) |
| HSV | hsv(244, 56%, 84%) |
| CMYK | cmyk(52.1%, 55.9%, 0%, 16.5%) |
| CIE-LAB | lab(46.49, 35.25, -60.51) |
| CIE-LCH | lch(46.49, 70.03, 300.22°) |
| OKLab | oklab(55.3% 0.0367 -0.1731) |
| OKLCH | oklch(55.3% 0.177 282) |
| XYZ | xyz(21.4888, 15.6331, 64.8231) |
| Luminance | 0.1563 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 0.65
Slate Blue
#6A5ACD
ΔE00 1.97
Light Indigo
#6D5ACF
ΔE00 2.13
Iris
#6258C4
ΔE00 3.15
Warm Blue
#4B57DB
ΔE00 4.30
Mediumslateblue
#7B68EE
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665ED5 #CDD55E
analogous
#5E91D5 #665ED5 #A25ED5
triadic
#665ED5 #D5665E #5ED566
tetradic
#665ED5 #D55E91 #CDD55E #5ED5A2
square
#665ED5 #D55E91 #CDD55E #5ED5A2
split-complementary
#665ED5 #D5A25E #91D55E
monochromatic
#2D2692 #3D33C3 #665ED5 #948FE2 #C2BFEE
Accessibility & contrast
On white
5.09
#665ED5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#665ED5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665ED5
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665ED5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665ED5 | 1.00 | 5.09 | 4.13 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0672D9
Deuteranopia (green-blind)
#006AD2
Tritanopia (blue-blind)
#387990
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #665ed5; /* rgb */ color: rgb(102, 94, 213); /* oklch */ color: oklch(55.3% 0.177 282.0);
Tailwind
colors: {
custom: {
50: '#9a8ce3',
500: '#665ed5',
950: '#000000',
},
}SCSS
$custom: #665ed5; $custom-light: #9a8ce3; $custom-dark: #000000;
JSON
{
"hex": "#665ed5",
"rgb": {
"r": 102,
"g": 94,
"b": 213
},
"hsl": {
"h": 244.034,
"s": 58.621,
"l": 60.196
},
"oklch": {
"l": 0.55302,
"c": 0.17695,
"h": 282
},
"luminance": 0.15634
}Semantic roles & 50–950 ramp
primary
#665ED5
secondary
#DBDEB1
accent
#C61FBB
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0F0C15
muted
#7E7D84