#665AC0#665AC0
#665AC0 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 53.1% C 0.154 H 285.2°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #665AC0 |
|---|---|
| RGB | rgb(102, 90, 192) |
| HSL | hsl(247, 45%, 55%) |
| HSV | hsv(247, 53%, 75%) |
| CMYK | cmyk(46.9%, 53.1%, 0%, 24.7%) |
| CIE-LAB | lab(44.15, 31.27, -52.19) |
| CIE-LCH | lch(44.15, 60.84, 300.93°) |
| OKLab | oklab(53.12% 0.0405 -0.1487) |
| OKLCH | oklch(53.12% 0.154 285.2) |
| XYZ | xyz(18.6473, 13.9420, 51.5675) |
| Luminance | 0.1394 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.15
Slate Blue
#6A5ACD
ΔE00 2.09
Light Indigo
#6D5ACF
ΔE00 2.57
Dark Periwinkle
#665FD1
ΔE00 3.04
Warm Blue
#4B57DB
ΔE00 5.62
Royal Purple
#7851A9
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665AC0 #B4C05A
analogous
#5A81C0 #665AC0 #995AC0
triadic
#665AC0 #C0665A #5AC066
tetradic
#665AC0 #C05A81 #B4C05A #5AC099
square
#665AC0 #C05A81 #B4C05A #5AC099
split-complementary
#665AC0 #C0995A #81C05A
monochromatic
#342C73 #493DA0 #665AC0 #8F86D1 #B8B3E2
Accessibility & contrast
On white
5.54
#665AC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#665AC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665AC0
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665AC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665AC0 | 1.00 | 5.54 | 3.79 | 5.54 |
| #FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#276BC4
Deuteranopia (green-blind)
#2365BE
Tritanopia (blue-blind)
#487084
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #665ac0; /* rgb */ color: rgb(102, 90, 192); /* oklch */ color: oklch(53.1% 0.154 285.2);
Tailwind
colors: {
custom: {
50: '#9789d4',
500: '#665ac0',
950: '#000000',
},
}SCSS
$custom: #665ac0; $custom-light: #9789d4; $custom-dark: #000000;
JSON
{
"hex": "#665ac0",
"rgb": {
"r": 102,
"g": 90,
"b": 192
},
"hsl": {
"h": 247.059,
"s": 44.737,
"l": 55.294
},
"oklch": {
"l": 0.53121,
"c": 0.15408,
"h": 285.2
},
"luminance": 0.13943
}Semantic roles & 50–950 ramp
primary
#665AC0
secondary
#CBD0A6
accent
#D453C5
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0B14
muted
#7E7C83