#665FCA#665FCA
#665FCA is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.7% C 0.161 H 282.6°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #665FCA |
|---|---|
| RGB | rgb(102, 95, 202) |
| HSL | hsl(244, 50%, 58%) |
| HSV | hsv(244, 53%, 79%) |
| CMYK | cmyk(49.5%, 53%, 0%, 20.8%) |
| CIE-LAB | lab(46.01, 31.26, -54.99) |
| CIE-LCH | lch(46.01, 63.25, 299.62°) |
| OKLab | oklab(54.71% 0.0352 -0.1569) |
| OKLCH | oklch(54.71% 0.161 282.6) |
| XYZ | xyz(20.2292, 15.2724, 57.7476) |
| Luminance | 0.1527 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 1.04
Slate Blue
#6A5ACD
ΔE00 1.92
Light Indigo
#6D5ACF
ΔE00 2.31
Iris
#6258C4
ΔE00 2.39
Warm Blue
#4B57DB
ΔE00 4.94
Mediumslateblue
#7B68EE
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665FCA #C3CA5F
analogous
#5F8DCA #665FCA #9B5FCA
triadic
#665FCA #CA665F #5FCA66
tetradic
#665FCA #CA5F8D #C3CA5F #5FCA9B
square
#665FCA #CA5F8D #C3CA5F #5FCA9B
split-complementary
#665FCA #CA9B5F #8DCA5F
monochromatic
#312B83 #423BB1 #665FCA #928DD9 #BEBBE8
Accessibility & contrast
On white
5.18
#665FCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#665FCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665FCA
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665FCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665FCA | 1.00 | 5.18 | 4.05 | 5.18 |
| #FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2671CE
Deuteranopia (green-blind)
#1E69C8
Tritanopia (blue-blind)
#41778B
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #665fca; /* rgb */ color: rgb(102, 95, 202); /* oklch */ color: oklch(54.7% 0.161 282.6);
Tailwind
colors: {
custom: {
50: '#988cdb',
500: '#665fca',
950: '#000000',
},
}SCSS
$custom: #665fca; $custom-light: #988cdb; $custom-dark: #000000;
JSON
{
"hex": "#665fca",
"rgb": {
"r": 102,
"g": 95,
"b": 202
},
"hsl": {
"h": 243.925,
"s": 50.235,
"l": 58.235
},
"oklch": {
"l": 0.5471,
"c": 0.16076,
"h": 282.6
},
"luminance": 0.15273
}Semantic roles & 50–950 ramp
primary
#665FCA
secondary
#D5D8AD
accent
#DA4ED1
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83