#665FDC#665FDC
#665FDC is a mid, vivid blue. Relative luminance 0.162; OKLCH L 56.0% C 0.185 H 281.1°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #665FDC |
|---|---|
| RGB | rgb(102, 95, 220) |
| HSL | hsl(243, 64%, 62%) |
| HSV | hsv(243, 57%, 86%) |
| CMYK | cmyk(53.6%, 56.8%, 0%, 13.7%) |
| CIE-LAB | lab(47.20, 36.81, -63.34) |
| CIE-LCH | lch(47.20, 73.26, 300.16°) |
| OKLab | oklab(55.98% 0.0357 -0.1814) |
| OKLCH | oklch(55.98% 0.185 281.1) |
| XYZ | xyz(22.4860, 16.1751, 69.6335) |
| Luminance | 0.1618 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 1.56
Slate Blue
#6A5ACD
ΔE00 2.87
Light Indigo
#6D5ACF
ΔE00 2.88
Iris
#6258C4
ΔE00 4.15
Warm Blue
#4B57DB
ΔE00 4.42
Mediumslateblue
#7B68EE
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665FDC #D5DC5F
analogous
#5F97DC #665FDC #A55FDC
triadic
#665FDC #DC665F #5FDC66
tetradic
#665FDC #DC5F97 #D5DC5F #5FDCA5
square
#665FDC #DC5F97 #D5DC5F #5FDCA5
split-complementary
#665FDC #DCA55F #97DC5F
monochromatic
#29239E #372ED0 #665FDC #9691E7 #C6C3F2
Accessibility & contrast
On white
4.96
#665FDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.24
#665FDC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665FDC
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665FDC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665FDC | 1.00 | 4.96 | 4.24 | 4.96 |
| #FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E0
Deuteranopia (green-blind)
#006BD9
Tritanopia (blue-blind)
#307C94
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #665fdc; /* rgb */ color: rgb(102, 95, 220); /* oklch */ color: oklch(56.0% 0.185 281.1);
Tailwind
colors: {
custom: {
50: '#9b8ce8',
500: '#665fdc',
950: '#000000',
},
}SCSS
$custom: #665fdc; $custom-light: #9b8ce8; $custom-dark: #000000;
JSON
{
"hex": "#665fdc",
"rgb": {
"r": 102,
"g": 95,
"b": 220
},
"hsl": {
"h": 243.36,
"s": 64.103,
"l": 61.765
},
"oklch": {
"l": 0.55983,
"c": 0.18491,
"h": 281.1
},
"luminance": 0.16177
}Semantic roles & 50–950 ramp
primary
#665FDC
secondary
#E0E3B4
accent
#CC1AC2
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84