#665DDF#665DDF
#665DDF is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.9% C 0.191 H 281.3°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #665DDF |
|---|---|
| RGB | rgb(102, 93, 223) |
| HSL | hsl(244, 67%, 62%) |
| HSV | hsv(244, 58%, 87%) |
| CMYK | cmyk(54.3%, 58.3%, 0%, 12.5%) |
| CIE-LAB | lab(46.95, 38.93, -65.46) |
| CIE-LCH | lch(46.95, 76.16, 300.74°) |
| OKLab | oklab(55.86% 0.0376 -0.1877) |
| OKLCH | oklch(55.86% 0.191 281.3) |
| XYZ | xyz(22.7090, 15.9798, 71.6855) |
| Luminance | 0.1598 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.04
Light Indigo
#6D5ACF
ΔE00 2.85
Slate Blue
#6A5ACD
ΔE00 2.89
Iris
#6258C4
ΔE00 4.24
Warm Blue
#4B57DB
ΔE00 4.26
Mediumslateblue
#7B68EE
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665DDF #D6DF5D
analogous
#5D95DF #665DDF #A75DDF
triadic
#665DDF #DF665D #5DDF66
tetradic
#665DDF #DF5D95 #D6DF5D #5DDFA7
square
#665DDF #DF5D95 #D6DF5D #5DDFA7
split-complementary
#665DDF #DFA75D #95DF5D
monochromatic
#2920A2 #362AD5 #665DDF #9690E9 #C7C3F3
Accessibility & contrast
On white
5.00
#665DDF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#665DDF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665DDF
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665DDF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665DDF | 1.00 | 5.00 | 4.20 | 5.00 |
| #FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E3
Deuteranopia (green-blind)
#006BDC
Tritanopia (blue-blind)
#2D7C95
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #665ddf; /* rgb */ color: rgb(102, 93, 223); /* oklch */ color: oklch(55.9% 0.191 281.3);
Tailwind
colors: {
custom: {
50: '#9b8bea',
500: '#665ddf',
950: '#000000',
},
}SCSS
$custom: #665ddf; $custom-light: #9b8bea; $custom-dark: #000000;
JSON
{
"hex": "#665ddf",
"rgb": {
"r": 102,
"g": 93,
"b": 223
},
"hsl": {
"h": 244.154,
"s": 67.01,
"l": 61.961
},
"oklch": {
"l": 0.55861,
"c": 0.19141,
"h": 281.3
},
"luminance": 0.15981
}Semantic roles & 50–950 ramp
primary
#665DDF
secondary
#E1E4B4
accent
#CF17C2
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84