#665FDD#665FDD
#665FDD is a mid, vivid blue. Relative luminance 0.162; OKLCH L 56.1% C 0.186 H 281.0°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #665FDD |
|---|---|
| RGB | rgb(102, 95, 221) |
| HSL | hsl(243, 65%, 62%) |
| HSV | hsv(243, 57%, 87%) |
| CMYK | cmyk(53.8%, 57%, 0%, 13.3%) |
| CIE-LAB | lab(47.27, 37.12, -63.80) |
| CIE-LCH | lch(47.27, 73.81, 300.19°) |
| OKLab | oklab(56.06% 0.0357 -0.1828) |
| OKLCH | oklch(56.06% 0.186 281) |
| XYZ | xyz(22.6188, 16.2283, 70.3331) |
| Luminance | 0.1623 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 1.70
Slate Blue
#6A5ACD
ΔE00 2.97
Light Indigo
#6D5ACF
ΔE00 2.97
Iris
#6258C4
ΔE00 4.27
Warm Blue
#4B57DB
ΔE00 4.44
Mediumslateblue
#7B68EE
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665FDD #D6DD5F
analogous
#5F97DD #665FDD #A55FDD
triadic
#665FDD #DD665F #5FDD66
tetradic
#665FDD #DD5F97 #D6DD5F #5FDDA5
square
#665FDD #DD5F97 #D6DD5F #5FDDA5
split-complementary
#665FDD #DDA55F #97DD5F
monochromatic
#2922A0 #362DD2 #665FDD #9691E8 #C7C4F2
Accessibility & contrast
On white
4.95
#665FDD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.25
#665FDD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665FDD
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665FDD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665FDD | 1.00 | 4.95 | 4.25 | 4.95 |
| #FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E1
Deuteranopia (green-blind)
#006BDA
Tritanopia (blue-blind)
#2F7C95
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #665fdd; /* rgb */ color: rgb(102, 95, 221); /* oklch */ color: oklch(56.1% 0.186 281.0);
Tailwind
colors: {
custom: {
50: '#9b8ce8',
500: '#665fdd',
950: '#000000',
},
}SCSS
$custom: #665fdd; $custom-light: #9b8ce8; $custom-dark: #000000;
JSON
{
"hex": "#665fdd",
"rgb": {
"r": 102,
"g": 95,
"b": 221
},
"hsl": {
"h": 243.333,
"s": 64.948,
"l": 61.961
},
"oklch": {
"l": 0.56056,
"c": 0.18622,
"h": 281
},
"luminance": 0.1623
}Semantic roles & 50–950 ramp
primary
#665FDD
secondary
#E1E3B5
accent
#CD19C3
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84