#665DC9#665DC9
#665DC9 is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.3% C 0.162 H 283.3°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #665DC9 |
|---|---|
| RGB | rgb(102, 93, 201) |
| HSL | hsl(245, 50%, 58%) |
| HSV | hsv(245, 54%, 79%) |
| CMYK | cmyk(49.3%, 53.7%, 0%, 21.2%) |
| CIE-LAB | lab(45.45, 32.17, -55.30) |
| CIE-LCH | lch(45.45, 63.97, 300.19°) |
| OKLab | oklab(54.28% 0.0374 -0.1578) |
| OKLCH | oklch(54.28% 0.162 283.3) |
| XYZ | xyz(19.9333, 14.8695, 57.0668) |
| Luminance | 0.1487 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 1.36
Slate Blue
#6A5ACD
ΔE00 1.42
Iris
#6258C4
ΔE00 1.78
Light Indigo
#6D5ACF
ΔE00 1.92
Warm Blue
#4B57DB
ΔE00 4.83
Purpley
#8756E4
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665DC9 #C0C95D
analogous
#5D8AC9 #665DC9 #9C5DC9
triadic
#665DC9 #C9665D #5DC966
tetradic
#665DC9 #C95D8A #C0C95D #5DC99C
square
#665DC9 #C95D8A #C0C95D #5DC99C
split-complementary
#665DC9 #C99C5D #8AC95D
monochromatic
#322B81 #443AAF #665DC9 #918BD8 #BDB9E8
Accessibility & contrast
On white
5.28
#665DC9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#665DC9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665DC9
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665DC9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665DC9 | 1.00 | 5.28 | 3.97 | 5.28 |
| #FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#226FCD
Deuteranopia (green-blind)
#1968C7
Tritanopia (blue-blind)
#42758A
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #665dc9; /* rgb */ color: rgb(102, 93, 201); /* oklch */ color: oklch(54.3% 0.162 283.3);
Tailwind
colors: {
custom: {
50: '#988bda',
500: '#665dc9',
950: '#000000',
},
}SCSS
$custom: #665dc9; $custom-light: #988bda; $custom-dark: #000000;
JSON
{
"hex": "#665dc9",
"rgb": {
"r": 102,
"g": 93,
"b": 201
},
"hsl": {
"h": 245,
"s": 50,
"l": 57.647
},
"oklch": {
"l": 0.54279,
"c": 0.16216,
"h": 283.3
},
"luminance": 0.14871
}Semantic roles & 50–950 ramp
primary
#665DC9
secondary
#D3D7AB
accent
#DA4ECE
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83