#665CF5#665CF5
#665CF5 is a mid, highly saturated blue. Relative luminance 0.171; OKLCH L 57.4% C 0.221 H 279.8°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #665CF5 |
|---|---|
| RGB | rgb(102, 92, 245) |
| HSL | hsl(244, 88%, 66%) |
| HSV | hsv(244, 62%, 96%) |
| CMYK | cmyk(58.4%, 62.4%, 0%, 3.9%) |
| CIE-LAB | lab(48.35, 46.31, -75.57) |
| CIE-LCH | lch(48.35, 88.63, 301.50°) |
| OKLab | oklab(57.4% 0.0375 -0.2174) |
| OKLCH | oklch(57.4% 0.221 279.8) |
| XYZ | xyz(25.7829, 17.0698, 88.3047) |
| Luminance | 0.1707 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 4.64
Dark Periwinkle
#665FD1
ΔE00 4.83
Light Indigo
#6D5ACF
ΔE00 5.32
Slate Blue
#6A5ACD
ΔE00 5.52
Warm Blue
#4B57DB
ΔE00 5.68
Purpley
#8756E4
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665CF5 #EBF55C
analogous
#5C9EF5 #665CF5 #B35CF5
triadic
#665CF5 #F5665C #5CF566
tetradic
#665CF5 #F55C9E #EBF55C #5CF5B3
square
#665CF5 #F55C9E #EBF55C #5CF5B3
split-complementary
#665CF5 #F5B35C #9EF55C
monochromatic
#190CCA #3022F1 #665CF5 #9C96F9 #D2CFFC
Accessibility & contrast
On white
4.76
#665CF5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.41
#665CF5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665CF5
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665CF5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665CF5 | 1.00 | 4.76 | 4.41 | 4.76 |
| #FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079FA
Deuteranopia (green-blind)
#006DF2
Tritanopia (blue-blind)
#0082A0
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #665cf5; /* rgb */ color: rgb(102, 92, 245); /* oklch */ color: oklch(57.4% 0.221 279.8);
Tailwind
colors: {
custom: {
50: '#9f8bfa',
500: '#665cf5',
950: '#000000',
},
}SCSS
$custom: #665cf5; $custom-light: #9f8bfa; $custom-dark: #000000;
JSON
{
"hex": "#665cf5",
"rgb": {
"r": 102,
"g": 92,
"b": 245
},
"hsl": {
"h": 243.922,
"s": 88.439,
"l": 66.078
},
"oklch": {
"l": 0.57397,
"c": 0.2206,
"h": 279.8
},
"luminance": 0.17072
}Semantic roles & 50–950 ramp
primary
#665CF5
secondary
#ECF0BD
accent
#E500D6
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85