#665BCE#665BCE
#665BCE is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.3% C 0.172 H 283.4°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #665BCE |
|---|---|
| RGB | rgb(102, 91, 206) |
| HSL | hsl(246, 54%, 58%) |
| HSV | hsv(246, 56%, 81%) |
| CMYK | cmyk(50.5%, 55.8%, 0%, 19.2%) |
| CIE-LAB | lab(45.31, 34.91, -58.41) |
| CIE-LCH | lch(45.31, 68.05, 300.86°) |
| OKLab | oklab(54.27% 0.0398 -0.1669) |
| OKLCH | oklch(54.27% 0.172 283.4) |
| XYZ | xyz(20.3578, 14.7621, 60.1572) |
| Luminance | 0.1476 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 0.87
Dark Periwinkle
#665FD1
ΔE00 1.35
Light Indigo
#6D5ACF
ΔE00 1.38
Iris
#6258C4
ΔE00 1.83
Warm Blue
#4B57DB
ΔE00 4.37
Purpley
#8756E4
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665BCE #C3CE5B
analogous
#5B89CE #665BCE #9F5BCE
triadic
#665BCE #CE665B #5BCE66
tetradic
#665BCE #CE5B89 #C3CE5B #5BCE9F
square
#665BCE #CE5B89 #C3CE5B #5BCE9F
split-complementary
#665BCE #CE9F5B #89CE5B
monochromatic
#312886 #4236B6 #665BCE #928ADC #BEB9EA
Accessibility & contrast
On white
5.31
#665BCE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#665BCE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665BCE
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665BCE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665BCE | 1.00 | 5.31 | 3.95 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D6FD2
Deuteranopia (green-blind)
#0067CC
Tritanopia (blue-blind)
#3E758C
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #665bce; /* rgb */ color: rgb(102, 91, 206); /* oklch */ color: oklch(54.3% 0.172 283.4);
Tailwind
colors: {
custom: {
50: '#998ade',
500: '#665bce',
950: '#000000',
},
}SCSS
$custom: #665bce; $custom-light: #998ade; $custom-dark: #000000;
JSON
{
"hex": "#665bce",
"rgb": {
"r": 102,
"g": 91,
"b": 206
},
"hsl": {
"h": 245.739,
"s": 53.991,
"l": 58.235
},
"oklch": {
"l": 0.54274,
"c": 0.17163,
"h": 283.4
},
"luminance": 0.14763
}Semantic roles & 50–950 ramp
primary
#665BCE
secondary
#D5D9AB
accent
#DD4ACF
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0F0B15
muted
#7E7C83