#665DC7#665DC7
#665DC7 is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.1% C 0.159 H 283.5°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #665DC7 |
|---|---|
| RGB | rgb(102, 93, 199) |
| HSL | hsl(245, 49%, 57%) |
| HSV | hsv(245, 53%, 78%) |
| CMYK | cmyk(48.7%, 53.3%, 0%, 22%) |
| CIE-LAB | lab(45.33, 31.56, -54.35) |
| CIE-LCH | lch(45.33, 62.85, 300.15°) |
| OKLab | oklab(54.14% 0.0373 -0.155) |
| OKLCH | oklch(54.14% 0.159 283.5) |
| XYZ | xyz(19.6996, 14.7760, 55.8358) |
| Luminance | 0.1478 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 1.57
Dark Periwinkle
#665FD1
ΔE00 1.63
Iris
#6258C4
ΔE00 1.68
Light Indigo
#6D5ACF
ΔE00 2.07
Warm Blue
#4B57DB
ΔE00 5.01
Purpley
#8756E4
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665DC7 #BEC75D
analogous
#5D89C7 #665DC7 #9B5DC7
triadic
#665DC7 #C7665D #5DC766
tetradic
#665DC7 #C75D89 #BEC75D #5DC79B
square
#665DC7 #C75D89 #BEC75D #5DC79B
split-complementary
#665DC7 #C79B5D #89C75D
monochromatic
#332C7E #453BAC #665DC7 #918AD7 #BCB8E6
Accessibility & contrast
On white
5.31
#665DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#665DC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665DC7
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665DC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665DC7 | 1.00 | 5.31 | 3.96 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#256FCB
Deuteranopia (green-blind)
#1E68C5
Tritanopia (blue-blind)
#437489
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #665dc7; /* rgb */ color: rgb(102, 93, 199); /* oklch */ color: oklch(54.1% 0.159 283.5);
Tailwind
colors: {
custom: {
50: '#988bd9',
500: '#665dc7',
950: '#000000',
},
}SCSS
$custom: #665dc7; $custom-light: #988bd9; $custom-dark: #000000;
JSON
{
"hex": "#665dc7",
"rgb": {
"r": 102,
"g": 93,
"b": 199
},
"hsl": {
"h": 245.094,
"s": 48.624,
"l": 57.255
},
"oklch": {
"l": 0.54142,
"c": 0.15943,
"h": 283.5
},
"luminance": 0.14777
}Semantic roles & 50–950 ramp
primary
#665DC7
secondary
#D2D5AA
accent
#D850CD
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0C15
muted
#7E7D83