#665FD3#665FD3
#665FD3 is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.3% C 0.173 H 281.9°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #665FD3 |
|---|---|
| RGB | rgb(102, 95, 211) |
| HSL | hsl(244, 57%, 60%) |
| HSV | hsv(244, 55%, 83%) |
| CMYK | cmyk(51.7%, 55%, 0%, 17.3%) |
| CIE-LAB | lab(46.59, 34.03, -59.20) |
| CIE-LCH | lch(46.59, 68.28, 299.89°) |
| OKLab | oklab(55.34% 0.0355 -0.1693) |
| OKLCH | oklch(55.34% 0.173 281.9) |
| XYZ | xyz(21.3260, 15.7111, 63.5242) |
| Luminance | 0.1571 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 0.29
Slate Blue
#6A5ACD
ΔE00 2.07
Light Indigo
#6D5ACF
ΔE00 2.27
Iris
#6258C4
ΔE00 3.13
Warm Blue
#4B57DB
ΔE00 4.47
Mediumslateblue
#7B68EE
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665FD3 #CCD35F
analogous
#5F92D3 #665FD3 #A05FD3
triadic
#665FD3 #D3665F #5FD366
tetradic
#665FD3 #D35F92 #CCD35F #5FD3A0
square
#665FD3 #D35F92 #CCD35F #5FD3A0
split-complementary
#665FD3 #D3A05F #92D35F
monochromatic
#2E2890 #3D35C0 #665FD3 #948FE0 #C2BFED
Accessibility & contrast
On white
5.07
#665FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#665FD3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665FD3
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665FD3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665FD3 | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1472D7
Deuteranopia (green-blind)
#006AD1
Tritanopia (blue-blind)
#397990
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #665fd3; /* rgb */ color: rgb(102, 95, 211); /* oklch */ color: oklch(55.3% 0.173 281.9);
Tailwind
colors: {
custom: {
50: '#998ce1',
500: '#665fd3',
950: '#000000',
},
}SCSS
$custom: #665fd3; $custom-light: #998ce1; $custom-dark: #000000;
JSON
{
"hex": "#665fd3",
"rgb": {
"r": 102,
"g": 95,
"b": 211
},
"hsl": {
"h": 243.621,
"s": 56.863,
"l": 60
},
"oklch": {
"l": 0.55336,
"c": 0.17294,
"h": 281.9
},
"luminance": 0.15712
}Semantic roles & 50–950 ramp
primary
#665FD3
secondary
#DBDDB1
accent
#E048D7
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0F0C15
muted
#7E7D83