#665AC2#665AC2
#665AC2 is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.3% C 0.157 H 285.0°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #665AC2 |
|---|---|
| RGB | rgb(102, 90, 194) |
| HSL | hsl(247, 46%, 56%) |
| HSV | hsv(247, 54%, 76%) |
| CMYK | cmyk(47.4%, 53.6%, 0%, 23.9%) |
| CIE-LAB | lab(44.28, 31.87, -53.14) |
| CIE-LCH | lch(44.28, 61.97, 300.95°) |
| OKLab | oklab(53.26% 0.0406 -0.1515) |
| OKLCH | oklch(53.26% 0.157 285) |
| XYZ | xyz(18.8704, 14.0313, 52.7425) |
| Luminance | 0.1403 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 0.99
Slate Blue
#6A5ACD
ΔE00 1.80
Light Indigo
#6D5ACF
ΔE00 2.31
Dark Periwinkle
#665FD1
ΔE00 2.78
Warm Blue
#4B57DB
ΔE00 5.39
Bluey Purple
#6241C7
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665AC2 #B6C25A
analogous
#5A82C2 #665AC2 #9A5AC2
triadic
#665AC2 #C2665A #5AC266
tetradic
#665AC2 #C25A82 #B6C25A #5AC29A
square
#665AC2 #C25A82 #B6C25A #5AC29A
split-complementary
#665AC2 #C29A5A #82C25A
monochromatic
#342C76 #483CA3 #665AC2 #8F87D3 #B9B3E3
Accessibility & contrast
On white
5.52
#665AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#665AC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665AC2
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665AC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665AC2 | 1.00 | 5.52 | 3.81 | 5.52 |
| #FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#246CC6
Deuteranopia (green-blind)
#1F66C0
Tritanopia (blue-blind)
#477185
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #665ac2; /* rgb */ color: rgb(102, 90, 194); /* oklch */ color: oklch(53.3% 0.157 285.0);
Tailwind
colors: {
custom: {
50: '#9889d5',
500: '#665ac2',
950: '#000000',
},
}SCSS
$custom: #665ac2; $custom-light: #9889d5; $custom-dark: #000000;
JSON
{
"hex": "#665ac2",
"rgb": {
"r": 102,
"g": 90,
"b": 194
},
"hsl": {
"h": 246.923,
"s": 46.018,
"l": 55.686
},
"oklch": {
"l": 0.53257,
"c": 0.15681,
"h": 285
},
"luminance": 0.14032
}Semantic roles & 50–950 ramp
primary
#665AC2
secondary
#CDD2A6
accent
#D652C6
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0B14
muted
#7E7C83