#665DC2#665DC2
#665DC2 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.8% C 0.153 H 284.1°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #665DC2 |
|---|---|
| RGB | rgb(102, 93, 194) |
| HSL | hsl(245, 45%, 56%) |
| HSV | hsv(245, 52%, 76%) |
| CMYK | cmyk(47.4%, 52.1%, 0%, 23.9%) |
| CIE-LAB | lab(45.01, 30.05, -51.97) |
| CIE-LCH | lch(45.01, 60.03, 300.03°) |
| OKLab | oklab(53.8% 0.0371 -0.148) |
| OKLCH | oklch(53.8% 0.153 284.1) |
| XYZ | xyz(19.1286, 14.5476, 52.8285) |
| Luminance | 0.1455 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.70
Slate Blue
#6A5ACD
ΔE00 2.11
Dark Periwinkle
#665FD1
ΔE00 2.37
Light Indigo
#6D5ACF
ΔE00 2.59
Warm Blue
#4B57DB
ΔE00 5.51
Royal Purple
#7851A9
ΔE00 7.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665DC2 #B9C25D
analogous
#5D87C2 #665DC2 #995DC2
triadic
#665DC2 #C2665D #5DC266
tetradic
#665DC2 #C25D87 #B9C25D #5DC299
square
#665DC2 #C25D87 #B9C25D #5DC299
split-complementary
#665DC2 #C2995D #87C25D
monochromatic
#342D78 #473EA4 #665DC2 #9089D3 #BAB6E3
Accessibility & contrast
On white
5.37
#665DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#665DC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665DC2
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665DC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665DC2 | 1.00 | 5.37 | 3.91 | 5.37 |
| #FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C6EC6
Deuteranopia (green-blind)
#2767C0
Tritanopia (blue-blind)
#467386
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #665dc2; /* rgb */ color: rgb(102, 93, 194); /* oklch */ color: oklch(53.8% 0.153 284.1);
Tailwind
colors: {
custom: {
50: '#978bd5',
500: '#665dc2',
950: '#000000',
},
}SCSS
$custom: #665dc2; $custom-light: #978bd5; $custom-dark: #000000;
JSON
{
"hex": "#665dc2",
"rgb": {
"r": 102,
"g": 93,
"b": 194
},
"hsl": {
"h": 245.347,
"s": 45.291,
"l": 56.275
},
"oklch": {
"l": 0.53803,
"c": 0.15257,
"h": 284.1
},
"luminance": 0.14549
}Semantic roles & 50–950 ramp
primary
#665DC2
secondary
#CED2A9
accent
#D553C9
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0C14
muted
#7E7D83