#665FE3#665FE3
#665FE3 is a mid, vivid blue. Relative luminance 0.166; OKLCH L 56.5% C 0.194 H 280.6°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #665FE3 |
|---|---|
| RGB | rgb(102, 95, 227) |
| HSL | hsl(243, 70%, 63%) |
| HSV | hsv(243, 58%, 89%) |
| CMYK | cmyk(55.1%, 58.1%, 0%, 11%) |
| CIE-LAB | lab(47.69, 38.98, -66.51) |
| CIE-LCH | lch(47.69, 77.10, 300.37°) |
| OKLab | oklab(56.5% 0.0356 -0.1908) |
| OKLCH | oklch(56.5% 0.194 280.6) |
| XYZ | xyz(23.4325, 16.5538, 74.6186) |
| Luminance | 0.1656 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.52
Light Indigo
#6D5ACF
ΔE00 3.58
Slate Blue
#6A5ACD
ΔE00 3.65
Warm Blue
#4B57DB
ΔE00 4.65
Mediumslateblue
#7B68EE
ΔE00 4.71
Iris
#6258C4
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665FE3 #DCE35F
analogous
#5F9AE3 #665FE3 #A85FE3
triadic
#665FE3 #E3665F #5FE366
tetradic
#665FE3 #E35F9A #DCE35F #5FE3A8
square
#665FE3 #E35F9A #DCE35F #5FE3A8
split-complementary
#665FE3 #E3A85F #9AE35F
monochromatic
#251EAA #342BDA #665FE3 #9893EC #CAC7F5
Accessibility & contrast
On white
4.87
#665FE3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#665FE3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665FE3
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665FE3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665FE3 | 1.00 | 4.87 | 4.31 | 4.87 |
| #FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076E7
Deuteranopia (green-blind)
#006CE0
Tritanopia (blue-blind)
#277E98
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #665fe3; /* rgb */ color: rgb(102, 95, 227); /* oklch */ color: oklch(56.5% 0.194 280.6);
Tailwind
colors: {
custom: {
50: '#9c8ded',
500: '#665fe3',
950: '#000000',
},
}SCSS
$custom: #665fe3; $custom-light: #9c8ded; $custom-dark: #000000;
JSON
{
"hex": "#665fe3",
"rgb": {
"r": 102,
"g": 95,
"b": 227
},
"hsl": {
"h": 243.182,
"s": 70.213,
"l": 63.137
},
"oklch": {
"l": 0.565,
"c": 0.19406,
"h": 280.6
},
"luminance": 0.16555
}Semantic roles & 50–950 ramp
primary
#665FE3
secondary
#E4E7B7
accent
#D213C8
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84