#665ACC#665ACC
#665ACC is a mid, vivid blue. Relative luminance 0.145; OKLCH L 54.0% C 0.170 H 283.9°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #665ACC |
|---|---|
| RGB | rgb(102, 90, 204) |
| HSL | hsl(246, 53%, 58%) |
| HSV | hsv(246, 56%, 80%) |
| CMYK | cmyk(50%, 55.9%, 0%, 20%) |
| CIE-LAB | lab(44.94, 34.90, -57.86) |
| CIE-LCH | lch(44.94, 67.57, 301.10°) |
| OKLab | oklab(53.96% 0.0409 -0.1653) |
| OKLCH | oklch(53.96% 0.17 283.9) |
| XYZ | xyz(20.0315, 14.4957, 58.8575) |
| Luminance | 0.1450 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 0.76
Light Indigo
#6D5ACF
ΔE00 1.36
Iris
#6258C4
ΔE00 1.46
Dark Periwinkle
#665FD1
ΔE00 1.76
Warm Blue
#4B57DB
ΔE00 4.47
Purpley
#8756E4
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665ACC #C0CC5A
analogous
#5A87CC #665ACC #9F5ACC
triadic
#665ACC #CC665A #5ACC66
tetradic
#665ACC #CC5A87 #C0CC5A #5ACC9F
square
#665ACC #CC5A87 #C0CC5A #5ACC9F
split-complementary
#665ACC #CC9F5A #87CC5A
monochromatic
#322983 #4437B2 #665ACC #9189DA #BDB7E9
Accessibility & contrast
On white
5.39
#665ACC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#665ACC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665ACC
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665ACC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665ACC | 1.00 | 5.39 | 3.90 | 5.39 |
| #FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D6ED0
Deuteranopia (green-blind)
#0067CA
Tritanopia (blue-blind)
#40748A
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #665acc; /* rgb */ color: rgb(102, 90, 204); /* oklch */ color: oklch(54.0% 0.170 283.9);
Tailwind
colors: {
custom: {
50: '#9989dc',
500: '#665acc',
950: '#000000',
},
}SCSS
$custom: #665acc; $custom-light: #9989dc; $custom-dark: #000000;
JSON
{
"hex": "#665acc",
"rgb": {
"r": 102,
"g": 90,
"b": 204
},
"hsl": {
"h": 246.316,
"s": 52.778,
"l": 57.647
},
"oklch": {
"l": 0.53956,
"c": 0.17031,
"h": 283.9
},
"luminance": 0.14497
}Semantic roles & 50–950 ramp
primary
#665ACC
secondary
#D3D8AA
accent
#DC4CCD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83