#665FD4#665FD4
#665FD4 is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.4% C 0.174 H 281.8°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #665FD4 |
|---|---|
| RGB | rgb(102, 95, 212) |
| HSL | hsl(244, 58%, 60%) |
| HSV | hsv(244, 55%, 83%) |
| CMYK | cmyk(51.9%, 55.2%, 0%, 16.9%) |
| CIE-LAB | lab(46.66, 34.34, -59.66) |
| CIE-LCH | lch(46.66, 68.84, 299.92°) |
| OKLab | oklab(55.41% 0.0356 -0.1706) |
| OKLCH | oklch(55.41% 0.174 281.8) |
| XYZ | xyz(21.4517, 15.7614, 64.1865) |
| Luminance | 0.1576 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 0.43
Slate Blue
#6A5ACD
ΔE00 2.13
Light Indigo
#6D5ACF
ΔE00 2.32
Iris
#6258C4
ΔE00 3.24
Warm Blue
#4B57DB
ΔE00 4.44
Mediumslateblue
#7B68EE
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665FD4 #CDD45F
analogous
#5F92D4 #665FD4 #A15FD4
triadic
#665FD4 #D4665F #5FD466
tetradic
#665FD4 #D45F92 #CDD45F #5FD4A1
square
#665FD4 #D45F92 #CDD45F #5FD4A1
split-complementary
#665FD4 #D4A15F #92D45F
monochromatic
#2D2791 #3D34C2 #665FD4 #948FE1 #C2BFEE
Accessibility & contrast
On white
5.06
#665FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#665FD4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665FD4
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665FD4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665FD4 | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1173D8
Deuteranopia (green-blind)
#006AD2
Tritanopia (blue-blind)
#397A90
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #665fd4; /* rgb */ color: rgb(102, 95, 212); /* oklch */ color: oklch(55.4% 0.174 281.8);
Tailwind
colors: {
custom: {
50: '#9a8ce2',
500: '#665fd4',
950: '#000000',
},
}SCSS
$custom: #665fd4; $custom-light: #9a8ce2; $custom-dark: #000000;
JSON
{
"hex": "#665fd4",
"rgb": {
"r": 102,
"g": 95,
"b": 212
},
"hsl": {
"h": 243.59,
"s": 57.635,
"l": 60.196
},
"oklch": {
"l": 0.55407,
"c": 0.17428,
"h": 281.8
},
"luminance": 0.15763
}Semantic roles & 50–950 ramp
primary
#665FD4
secondary
#DBDEB1
accent
#C520BB
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0F0C15
muted
#7E7D83