#6665E2#6665E2
#6665E2 is a mid, vivid blue. Relative luminance 0.176; OKLCH L 57.5% C 0.185 H 279.2°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #6665E2 |
|---|---|
| RGB | rgb(102, 101, 226) |
| HSL | hsl(240, 68%, 64%) |
| HSV | hsv(240, 55%, 89%) |
| CMYK | cmyk(54.9%, 55.3%, 0%, 11.4%) |
| CIE-LAB | lab(49.03, 35.08, -63.78) |
| CIE-LCH | lch(49.03, 72.79, 298.81°) |
| OKLab | oklab(57.47% 0.0296 -0.1827) |
| OKLCH | oklch(57.47% 0.185 279.2) |
| XYZ | xyz(23.8563, 17.6216, 74.0810) |
| Luminance | 0.1762 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.15
Mediumslateblue
#7B68EE
ΔE00 4.10
Light Indigo
#6D5ACF
ΔE00 4.80
Slate Blue
#6A5ACD
ΔE00 4.82
Warm Blue
#4B57DB
ΔE00 5.68
Royal Blue
#4169E1
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6665E2 #E1E265
analogous
#65A3E2 #6665E2 #A565E2
triadic
#6665E2 #E26665 #65E266
tetradic
#6665E2 #E265A3 #E1E265 #65E2A5
square
#6665E2 #E265A3 #E1E265 #65E2A5
split-complementary
#6665E2 #E2A565 #A3E265
monochromatic
#2220AC #3331D8 #6665E2 #9999EC #CCCCF5
Accessibility & contrast
On white
4.64
#6665E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.52
#6665E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #6665E2
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6665E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6665E2 | 1.00 | 4.64 | 4.52 | 4.64 |
| #FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#057AE6
Deuteranopia (green-blind)
#0070DF
Tritanopia (blue-blind)
#28829A
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #6665e2; /* rgb */ color: rgb(102, 101, 226); /* oklch */ color: oklch(57.5% 0.185 279.2);
Tailwind
colors: {
custom: {
50: '#9b91ec',
500: '#6665e2',
950: '#000000',
},
}SCSS
$custom: #6665e2; $custom-light: #9b91ec; $custom-dark: #000000;
JSON
{
"hex": "#6665e2",
"rgb": {
"r": 102,
"g": 101,
"b": 226
},
"hsl": {
"h": 240.48,
"s": 68.306,
"l": 64.118
},
"oklch": {
"l": 0.57472,
"c": 0.18506,
"h": 279.2
},
"luminance": 0.17623
}Semantic roles & 50–950 ramp
primary
#6665E2
secondary
#E7E7BC
accent
#D015CF
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84