#665DCD#665DCD
#665DCD is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.6% C 0.168 H 283.0°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #665DCD |
|---|---|
| RGB | rgb(102, 93, 205) |
| HSL | hsl(245, 53%, 58%) |
| HSV | hsv(245, 55%, 80%) |
| CMYK | cmyk(50.2%, 54.6%, 0%, 19.6%) |
| CIE-LAB | lab(45.72, 33.39, -57.17) |
| CIE-LCH | lch(45.72, 66.21, 300.29°) |
| OKLab | oklab(54.56% 0.0376 -0.1633) |
| OKLCH | oklch(54.56% 0.168 283) |
| XYZ | xyz(20.4100, 15.0602, 59.5772) |
| Luminance | 0.1506 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 0.88
Slate Blue
#6A5ACD
ΔE00 1.30
Light Indigo
#6D5ACF
ΔE00 1.73
Iris
#6258C4
ΔE00 2.09
Warm Blue
#4B57DB
ΔE00 4.54
Mediumslateblue
#7B68EE
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665DCD #C4CD5D
analogous
#5D8CCD #665DCD #9E5DCD
triadic
#665DCD #CD665D #5DCD66
tetradic
#665DCD #CD5D8C #C4CD5D #5DCD9E
square
#665DCD #CD5D8C #C4CD5D #5DCD9E
split-complementary
#665DCD #CD9E5D #8CCD5D
monochromatic
#312986 #4238B5 #665DCD #928CDB #BEBBEA
Accessibility & contrast
On white
5.23
#665DCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#665DCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665DCD
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665DCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665DCD | 1.00 | 5.23 | 4.01 | 5.23 |
| #FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A70D1
Deuteranopia (green-blind)
#0C68CB
Tritanopia (blue-blind)
#3F768C
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #665dcd; /* rgb */ color: rgb(102, 93, 205); /* oklch */ color: oklch(54.6% 0.168 283.0);
Tailwind
colors: {
custom: {
50: '#998bdd',
500: '#665dcd',
950: '#000000',
},
}SCSS
$custom: #665dcd; $custom-light: #998bdd; $custom-dark: #000000;
JSON
{
"hex": "#665dcd",
"rgb": {
"r": 102,
"g": 93,
"b": 205
},
"hsl": {
"h": 244.821,
"s": 52.83,
"l": 58.431
},
"oklch": {
"l": 0.54558,
"c": 0.16758,
"h": 283
},
"luminance": 0.15061
}Semantic roles & 50–950 ramp
primary
#665DCD
secondary
#D6D9AD
accent
#DC4CD1
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83