#665FC2#665FC2
#665FC2 is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.2% C 0.150 H 283.4°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #665FC2 |
|---|---|
| RGB | rgb(102, 95, 194) |
| HSL | hsl(244, 45%, 57%) |
| HSV | hsv(244, 51%, 76%) |
| CMYK | cmyk(47.4%, 51%, 0%, 23.9%) |
| CIE-LAB | lab(45.50, 28.82, -51.18) |
| CIE-LCH | lch(45.50, 58.74, 299.39°) |
| OKLab | oklab(54.17% 0.0347 -0.1457) |
| OKLCH | oklch(54.17% 0.15 283.4) |
| XYZ | xyz(19.3064, 14.9033, 52.8878) |
| Luminance | 0.1490 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.29
Iris
#6258C4
ΔE00 2.30
Slate Blue
#6A5ACD
ΔE00 2.53
Light Indigo
#6D5ACF
ΔE00 2.96
Warm Blue
#4B57DB
ΔE00 5.67
Mediumslateblue
#7B68EE
ΔE00 7.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665FC2 #BBC25F
analogous
#5F8AC2 #665FC2 #985FC2
triadic
#665FC2 #C2665F #5FC266
tetradic
#665FC2 #C25F8A #BBC25F #5FC298
square
#665FC2 #C25F8A #BBC25F #5FC298
split-complementary
#665FC2 #C2985F #8AC25F
monochromatic
#332E79 #463FA5 #665FC2 #908BD3 #BBB8E4
Accessibility & contrast
On white
5.28
#665FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#665FC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665FC2
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665FC2 | 1.00 | 5.28 | 3.98 | 5.28 |
| #FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#316FC5
Deuteranopia (green-blind)
#2B68C0
Tritanopia (blue-blind)
#467487
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #665fc2; /* rgb */ color: rgb(102, 95, 194); /* oklch */ color: oklch(54.2% 0.150 283.4);
Tailwind
colors: {
custom: {
50: '#978cd5',
500: '#665fc2',
950: '#000000',
},
}SCSS
$custom: #665fc2; $custom-light: #978cd5; $custom-dark: #000000;
JSON
{
"hex": "#665fc2",
"rgb": {
"r": 102,
"g": 95,
"b": 194
},
"hsl": {
"h": 244.242,
"s": 44.796,
"l": 56.667
},
"oklch": {
"l": 0.54172,
"c": 0.14974,
"h": 283.4
},
"luminance": 0.14904
}Semantic roles & 50–950 ramp
primary
#665FC2
secondary
#D0D3AA
accent
#D453CB
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0C14
muted
#7E7D83