#665CC4#665CC4
#665CC4 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.8% C 0.157 H 284.2°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #665CC4 |
|---|---|
| RGB | rgb(102, 92, 196) |
| HSL | hsl(246, 47%, 56%) |
| HSV | hsv(246, 53%, 77%) |
| CMYK | cmyk(48%, 53.1%, 0%, 23.1%) |
| CIE-LAB | lab(44.89, 31.26, -53.32) |
| CIE-LCH | lch(44.89, 61.80, 300.38°) |
| OKLab | oklab(53.76% 0.0383 -0.152) |
| OKLCH | oklch(53.76% 0.157 284.2) |
| XYZ | xyz(19.2675, 14.4637, 53.9904) |
| Luminance | 0.1447 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.37
Slate Blue
#6A5ACD
ΔE00 1.70
Dark Periwinkle
#665FD1
ΔE00 2.18
Light Indigo
#6D5ACF
ΔE00 2.22
Warm Blue
#4B57DB
ΔE00 5.24
Purpley
#8756E4
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665CC4 #BAC45C
analogous
#5C86C4 #665CC4 #9A5CC4
triadic
#665CC4 #C4665C #5CC466
tetradic
#665CC4 #C45C86 #BAC45C #5CC49A
square
#665CC4 #C45C86 #BAC45C #5CC49A
split-complementary
#665CC4 #C49A5C #86C45C
monochromatic
#332C7A #463CA7 #665CC4 #9089D4 #BAB6E5
Accessibility & contrast
On white
5.39
#665CC4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#665CC4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665CC4
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665CC4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665CC4 | 1.00 | 5.39 | 3.89 | 5.39 |
| #FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#266DC8
Deuteranopia (green-blind)
#2167C2
Tritanopia (blue-blind)
#457387
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #665cc4; /* rgb */ color: rgb(102, 92, 196); /* oklch */ color: oklch(53.8% 0.157 284.2);
Tailwind
colors: {
custom: {
50: '#988ad6',
500: '#665cc4',
950: '#000000',
},
}SCSS
$custom: #665cc4; $custom-light: #988ad6; $custom-dark: #000000;
JSON
{
"hex": "#665cc4",
"rgb": {
"r": 102,
"g": 92,
"b": 196
},
"hsl": {
"h": 245.769,
"s": 46.847,
"l": 56.471
},
"oklch": {
"l": 0.53755,
"c": 0.15673,
"h": 284.2
},
"luminance": 0.14465
}Semantic roles & 50–950 ramp
primary
#665CC4
secondary
#CFD3A9
accent
#D651CA
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0B14
muted
#7E7C83