#665FE6#665FE6
#665FE6 is a mid, vivid blue. Relative luminance 0.167; OKLCH L 56.7% C 0.198 H 280.3°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #665FE6 |
|---|---|
| RGB | rgb(102, 95, 230) |
| HSL | hsl(243, 73%, 64%) |
| HSV | hsv(243, 59%, 90%) |
| CMYK | cmyk(55.7%, 58.7%, 0%, 9.8%) |
| CIE-LAB | lab(47.91, 39.91, -67.86) |
| CIE-LCH | lch(47.91, 78.73, 300.46°) |
| OKLab | oklab(56.73% 0.0355 -0.1947) |
| OKLCH | oklch(56.73% 0.198 280.3) |
| XYZ | xyz(23.8502, 16.7208, 76.8182) |
| Luminance | 0.1672 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.92
Light Indigo
#6D5ACF
ΔE00 3.90
Slate Blue
#6A5ACD
ΔE00 4.00
Mediumslateblue
#7B68EE
ΔE00 4.54
Warm Blue
#4B57DB
ΔE00 4.81
Iris
#6258C4
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665FE6 #DFE65F
analogous
#5F9BE6 #665FE6 #A95FE6
triadic
#665FE6 #E6665F #5FE666
tetradic
#665FE6 #E65F9B #DFE65F #5FE6A9
square
#665FE6 #E65F9B #DFE65F #5FE6A9
split-complementary
#665FE6 #E6A95F #9BE65F
monochromatic
#231BAF #332ADE #665FE6 #9994EE #CBC9F7
Accessibility & contrast
On white
4.83
#665FE6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#665FE6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665FE6
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665FE6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665FE6 | 1.00 | 4.83 | 4.34 | 4.83 |
| #FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077EA
Deuteranopia (green-blind)
#006DE3
Tritanopia (blue-blind)
#237F99
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #665fe6; /* rgb */ color: rgb(102, 95, 230); /* oklch */ color: oklch(56.7% 0.198 280.3);
Tailwind
colors: {
custom: {
50: '#9c8def',
500: '#665fe6',
950: '#000000',
},
}SCSS
$custom: #665fe6; $custom-light: #9c8def; $custom-dark: #000000;
JSON
{
"hex": "#665fe6",
"rgb": {
"r": 102,
"g": 95,
"b": 230
},
"hsl": {
"h": 243.111,
"s": 72.973,
"l": 63.725
},
"oklch": {
"l": 0.56725,
"c": 0.19795,
"h": 280.3
},
"luminance": 0.16722
}Semantic roles & 50–950 ramp
primary
#665FE6
secondary
#E6E8B9
accent
#D510CB
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85