#665EDC#665EDC
#665EDC is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.8% C 0.186 H 281.4°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #665EDC |
|---|---|
| RGB | rgb(102, 94, 220) |
| HSL | hsl(244, 64%, 62%) |
| HSV | hsv(244, 57%, 86%) |
| CMYK | cmyk(53.6%, 57.3%, 0%, 13.7%) |
| CIE-LAB | lab(46.97, 37.41, -63.72) |
| CIE-LCH | lch(46.97, 73.89, 300.42°) |
| OKLab | oklab(55.81% 0.0367 -0.1826) |
| OKLCH | oklch(55.81% 0.186 281.4) |
| XYZ | xyz(22.3965, 15.9961, 69.6037) |
| Luminance | 0.1600 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 1.58
Slate Blue
#6A5ACD
ΔE00 2.68
Light Indigo
#6D5ACF
ΔE00 2.69
Iris
#6258C4
ΔE00 3.99
Warm Blue
#4B57DB
ΔE00 4.29
Mediumslateblue
#7B68EE
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665EDC #D4DC5E
analogous
#5E95DC #665EDC #A55EDC
triadic
#665EDC #DC665E #5EDC66
tetradic
#665EDC #DC5E95 #D4DC5E #5EDCA5
square
#665EDC #DC5E95 #D4DC5E #5EDCA5
split-complementary
#665EDC #DCA55E #95DC5E
monochromatic
#2A229D #372DD0 #665EDC #9690E7 #C6C3F2
Accessibility & contrast
On white
5.00
#665EDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#665EDC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665EDC
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665EDC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665EDC | 1.00 | 5.00 | 4.20 | 5.00 |
| #FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E0
Deuteranopia (green-blind)
#006BD9
Tritanopia (blue-blind)
#317B94
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #665edc; /* rgb */ color: rgb(102, 94, 220); /* oklch */ color: oklch(55.8% 0.186 281.4);
Tailwind
colors: {
custom: {
50: '#9b8ce8',
500: '#665edc',
950: '#000000',
},
}SCSS
$custom: #665edc; $custom-light: #9b8ce8; $custom-dark: #000000;
JSON
{
"hex": "#665edc",
"rgb": {
"r": 102,
"g": 94,
"b": 220
},
"hsl": {
"h": 243.81,
"s": 64.286,
"l": 61.569
},
"oklch": {
"l": 0.5581,
"c": 0.18621,
"h": 281.4
},
"luminance": 0.15997
}Semantic roles & 50–950 ramp
primary
#665EDC
secondary
#DFE2B3
accent
#CC19C1
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84