#665CDC#665CDC
#665CDC is a mid, vivid blue. Relative luminance 0.156; OKLCH L 55.5% C 0.189 H 281.8°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #665CDC |
|---|---|
| RGB | rgb(102, 92, 220) |
| HSL | hsl(245, 65%, 61%) |
| HSV | hsv(245, 58%, 86%) |
| CMYK | cmyk(53.6%, 58.2%, 0%, 13.7%) |
| CIE-LAB | lab(46.51, 38.60, -64.47) |
| CIE-LCH | lch(46.51, 75.14, 300.91°) |
| OKLab | oklab(55.47% 0.0387 -0.1848) |
| OKLCH | oklch(55.47% 0.189 281.8) |
| XYZ | xyz(22.2209, 15.6450, 69.5452) |
| Luminance | 0.1565 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 1.78
Light Indigo
#6D5ACF
ΔE00 2.40
Slate Blue
#6A5ACD
ΔE00 2.40
Iris
#6258C4
ΔE00 3.74
Warm Blue
#4B57DB
ΔE00 4.11
Mediumslateblue
#7B68EE
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665CDC #D2DC5C
analogous
#5C92DC #665CDC #A65CDC
triadic
#665CDC #DC665C #5CDC66
tetradic
#665CDC #DC5C92 #D2DC5C #5CDCA6
square
#665CDC #DC5C92 #D2DC5C #5CDCA6
split-complementary
#665CDC #DCA65C #92DC5C
monochromatic
#2B229C #392CCE #665CDC #958EE7 #C5C1F2
Accessibility & contrast
On white
5.09
#665CDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#665CDC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665CDC
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665CDC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665CDC | 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)
#0073E0
Deuteranopia (green-blind)
#006AD9
Tritanopia (blue-blind)
#317A93
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #665cdc; /* rgb */ color: rgb(102, 92, 220); /* oklch */ color: oklch(55.5% 0.189 281.8);
Tailwind
colors: {
custom: {
50: '#9b8ae8',
500: '#665cdc',
950: '#000000',
},
}SCSS
$custom: #665cdc; $custom-light: #9b8ae8; $custom-dark: #000000;
JSON
{
"hex": "#665cdc",
"rgb": {
"r": 102,
"g": 92,
"b": 220
},
"hsl": {
"h": 244.688,
"s": 64.646,
"l": 61.176
},
"oklch": {
"l": 0.55467,
"c": 0.18879,
"h": 281.8
},
"luminance": 0.15646
}Semantic roles & 50–950 ramp
primary
#665CDC
secondary
#DEE2B2
accent
#CC19BE
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84