#665DC4#665DC4
#665DC4 is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.9% C 0.155 H 283.8°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #665DC4 |
|---|---|
| RGB | rgb(102, 93, 196) |
| HSL | hsl(245, 47%, 57%) |
| HSV | hsv(245, 53%, 77%) |
| CMYK | cmyk(48%, 52.6%, 0%, 23.1%) |
| CIE-LAB | lab(45.13, 30.65, -52.92) |
| CIE-LCH | lch(45.13, 61.16, 300.08°) |
| OKLab | oklab(53.94% 0.0372 -0.1508) |
| OKLCH | oklch(53.94% 0.155 283.8) |
| XYZ | xyz(19.3547, 14.6381, 54.0195) |
| Luminance | 0.1464 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.65
Slate Blue
#6A5ACD
ΔE00 1.87
Dark Periwinkle
#665FD1
ΔE00 2.07
Light Indigo
#6D5ACF
ΔE00 2.37
Warm Blue
#4B57DB
ΔE00 5.29
Purpley
#8756E4
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665DC4 #BBC45D
analogous
#5D88C4 #665DC4 #9A5DC4
triadic
#665DC4 #C4665D #5DC466
tetradic
#665DC4 #C45D88 #BBC45D #5DC49A
square
#665DC4 #C45D88 #BBC45D #5DC49A
split-complementary
#665DC4 #C49A5D #88C45D
monochromatic
#332C7A #463DA7 #665DC4 #908AD4 #BBB7E5
Accessibility & contrast
On white
5.35
#665DC4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#665DC4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665DC4
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665DC4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665DC4 | 1.00 | 5.35 | 3.93 | 5.35 |
| #FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#296EC8
Deuteranopia (green-blind)
#2367C2
Tritanopia (blue-blind)
#457387
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #665dc4; /* rgb */ color: rgb(102, 93, 196); /* oklch */ color: oklch(53.9% 0.155 283.8);
Tailwind
colors: {
custom: {
50: '#988bd6',
500: '#665dc4',
950: '#000000',
},
}SCSS
$custom: #665dc4; $custom-light: #988bd6; $custom-dark: #000000;
JSON
{
"hex": "#665dc4",
"rgb": {
"r": 102,
"g": 93,
"b": 196
},
"hsl": {
"h": 245.243,
"s": 46.606,
"l": 56.667
},
"oklch": {
"l": 0.53937,
"c": 0.15532,
"h": 283.8
},
"luminance": 0.14639
}Semantic roles & 50–950 ramp
primary
#665DC4
secondary
#D0D3A9
accent
#D652CB
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0C14
muted
#7E7D83