#665EDF#665EDF
#665EDF is a mid, vivid blue. Relative luminance 0.162; OKLCH L 56.0% C 0.190 H 281.1°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #665EDF |
|---|---|
| RGB | rgb(102, 94, 223) |
| HSL | hsl(244, 67%, 62%) |
| HSV | hsv(244, 58%, 87%) |
| CMYK | cmyk(54.3%, 57.8%, 0%, 12.5%) |
| CIE-LAB | lab(47.18, 38.34, -65.08) |
| CIE-LCH | lch(47.18, 75.53, 300.50°) |
| OKLab | oklab(56.03% 0.0367 -0.1866) |
| OKLCH | oklch(56.03% 0.19 281.1) |
| XYZ | xyz(22.7973, 16.1565, 71.7150) |
| Luminance | 0.1616 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 1.98
Light Indigo
#6D5ACF
ΔE00 2.99
Slate Blue
#6A5ACD
ΔE00 3.03
Warm Blue
#4B57DB
ΔE00 4.37
Iris
#6258C4
ΔE00 4.37
Mediumslateblue
#7B68EE
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665EDF #D7DF5E
analogous
#5E97DF #665EDF #A75EDF
triadic
#665EDF #DF665E #5EDF66
tetradic
#665EDF #DF5E97 #D7DF5E #5EDFA7
square
#665EDF #DF5E97 #D7DF5E #5EDFA7
split-complementary
#665EDF #DFA75E #97DF5E
monochromatic
#2820A2 #352BD5 #665EDF #9791E9 #C7C4F3
Accessibility & contrast
On white
4.96
#665EDF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#665EDF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665EDF
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665EDF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665EDF | 1.00 | 4.96 | 4.23 | 4.96 |
| #FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E3
Deuteranopia (green-blind)
#006BDC
Tritanopia (blue-blind)
#2D7C95
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #665edf; /* rgb */ color: rgb(102, 94, 223); /* oklch */ color: oklch(56.0% 0.190 281.1);
Tailwind
colors: {
custom: {
50: '#9b8cea',
500: '#665edf',
950: '#000000',
},
}SCSS
$custom: #665edf; $custom-light: #9b8cea; $custom-dark: #000000;
JSON
{
"hex": "#665edf",
"rgb": {
"r": 102,
"g": 94,
"b": 223
},
"hsl": {
"h": 243.721,
"s": 66.839,
"l": 62.157
},
"oklch": {
"l": 0.56031,
"c": 0.19014,
"h": 281.1
},
"luminance": 0.16158
}Semantic roles & 50–950 ramp
primary
#665EDF
secondary
#E1E4B5
accent
#CF17C3
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84