#665CCF#665CCF
#665CCF is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.5% C 0.172 H 283.0°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #665CCF |
|---|---|
| RGB | rgb(102, 92, 207) |
| HSL | hsl(245, 55%, 59%) |
| HSV | hsv(245, 56%, 81%) |
| CMYK | cmyk(50.7%, 55.6%, 0%, 18.8%) |
| CIE-LAB | lab(45.61, 34.61, -58.49) |
| CIE-LCH | lch(45.61, 67.97, 300.61°) |
| OKLab | oklab(54.52% 0.0387 -0.1672) |
| OKLCH | oklch(54.52% 0.172 283) |
| XYZ | xyz(20.5657, 14.9830, 60.8277) |
| Luminance | 0.1498 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 1.01
Slate Blue
#6A5ACD
ΔE00 1.10
Light Indigo
#6D5ACF
ΔE00 1.52
Iris
#6258C4
ΔE00 2.10
Warm Blue
#4B57DB
ΔE00 4.36
Purpley
#8756E4
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665CCF #C5CF5C
analogous
#5C8BCF #665CCF #9F5CCF
triadic
#665CCF #CF665C #5CCF66
tetradic
#665CCF #CF5C8B #C5CF5C #5CCF9F
square
#665CCF #CF5C8B #C5CF5C #5CCF9F
split-complementary
#665CCF #CF9F5C #8BCF5C
monochromatic
#312888 #4136B8 #665CCF #928BDD #BFBBEB
Accessibility & contrast
On white
5.25
#665CCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.00
#665CCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665CCF
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665CCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665CCF | 1.00 | 5.25 | 4.00 | 5.25 |
| #FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1070D3
Deuteranopia (green-blind)
#0068CD
Tritanopia (blue-blind)
#3D768C
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #665ccf; /* rgb */ color: rgb(102, 92, 207); /* oklch */ color: oklch(54.5% 0.172 283.0);
Tailwind
colors: {
custom: {
50: '#998ade',
500: '#665ccf',
950: '#000000',
},
}SCSS
$custom: #665ccf; $custom-light: #998ade; $custom-dark: #000000;
JSON
{
"hex": "#665ccf",
"rgb": {
"r": 102,
"g": 92,
"b": 207
},
"hsl": {
"h": 245.217,
"s": 54.502,
"l": 58.627
},
"oklch": {
"l": 0.54521,
"c": 0.17161,
"h": 283
},
"luminance": 0.14984
}Semantic roles & 50–950 ramp
primary
#665CCF
secondary
#D6DAAD
accent
#DE4AD1
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0F0C15
muted
#7E7D83