#665AD5#665AD5
#665AD5 is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.6% C 0.182 H 283.0°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #665AD5 |
|---|---|
| RGB | rgb(102, 90, 213) |
| HSL | hsl(246, 59%, 59%) |
| HSV | hsv(246, 58%, 84%) |
| CMYK | cmyk(52.1%, 57.7%, 0%, 16.5%) |
| CIE-LAB | lab(45.55, 37.64, -62.03) |
| CIE-LCH | lch(45.55, 72.55, 301.25°) |
| OKLab | oklab(54.61% 0.0409 -0.1776) |
| OKLCH | oklch(54.61% 0.182 283) |
| XYZ | xyz(21.1422, 14.9400, 64.7076) |
| Luminance | 0.1494 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 1.39
Light Indigo
#6D5ACF
ΔE00 1.56
Dark Periwinkle
#665FD1
ΔE00 1.65
Iris
#6258C4
ΔE00 2.63
Warm Blue
#4B57DB
ΔE00 4.04
Purpley
#8756E4
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665AD5 #C9D55A
analogous
#5A8CD5 #665AD5 #A45AD5
triadic
#665AD5 #D5665A #5AD566
tetradic
#665AD5 #D55A8C #C9D55A #5AD5A4
square
#665AD5 #D55A8C #C9D55A #5AD5A4
split-complementary
#665AD5 #D5A45A #8CD55A
monochromatic
#2F2590 #3F31C1 #665AD5 #938BE1 #C0BCEE
Accessibility & contrast
On white
5.27
#665AD5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#665AD5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665AD5
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665AD5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665AD5 | 1.00 | 5.27 | 3.99 | 5.27 |
| #FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070D9
Deuteranopia (green-blind)
#0068D2
Tritanopia (blue-blind)
#38778F
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #665ad5; /* rgb */ color: rgb(102, 90, 213); /* oklch */ color: oklch(54.6% 0.182 283.0);
Tailwind
colors: {
custom: {
50: '#9a89e3',
500: '#665ad5',
950: '#000000',
},
}SCSS
$custom: #665ad5; $custom-light: #9a89e3; $custom-dark: #000000;
JSON
{
"hex": "#665ad5",
"rgb": {
"r": 102,
"g": 90,
"b": 213
},
"hsl": {
"h": 245.854,
"s": 59.42,
"l": 59.412
},
"oklch": {
"l": 0.54608,
"c": 0.18223,
"h": 283
},
"luminance": 0.14941
}Semantic roles & 50–950 ramp
primary
#665AD5
secondary
#D9DDAD
accent
#E345D3
background
#FAF8FE
surface
#F3F0FC
border
#CDCBD5
text
#0F0B15
muted
#7F7C84