#665FCF#665FCF
#665FCF is a mid, vivid blue. Relative luminance 0.155; OKLCH L 55.1% C 0.168 H 282.2°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #665FCF |
|---|---|
| RGB | rgb(102, 95, 207) |
| HSL | hsl(244, 54%, 59%) |
| HSV | hsv(244, 54%, 81%) |
| CMYK | cmyk(50.7%, 54.1%, 0%, 18.8%) |
| CIE-LAB | lab(46.33, 32.80, -57.33) |
| CIE-LCH | lch(46.33, 66.05, 299.77°) |
| OKLab | oklab(55.06% 0.0354 -0.1638) |
| OKLCH | oklch(55.06% 0.168 282.2) |
| XYZ | xyz(20.8308, 15.5131, 60.9161) |
| Luminance | 0.1551 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 0.29
Slate Blue
#6A5ACD
ΔE00 1.89
Light Indigo
#6D5ACF
ΔE00 2.19
Iris
#6258C4
ΔE00 2.75
Warm Blue
#4B57DB
ΔE00 4.63
Mediumslateblue
#7B68EE
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665FCF #C8CF5F
analogous
#5F90CF #665FCF #9E5FCF
triadic
#665FCF #CF665F #5FCF66
tetradic
#665FCF #CF5F90 #C8CF5F #5FCF9E
square
#665FCF #CF5F90 #C8CF5F #5FCF9E
split-complementary
#665FCF #CF9E5F #90CF5F
monochromatic
#2F298A #4038B9 #665FCF #938EDD #C0BDEB
Accessibility & contrast
On white
5.12
#665FCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#665FCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665FCF
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665FCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665FCF | 1.00 | 5.12 | 4.10 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E72D3
Deuteranopia (green-blind)
#106ACD
Tritanopia (blue-blind)
#3D788E
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #665fcf; /* rgb */ color: rgb(102, 95, 207); /* oklch */ color: oklch(55.1% 0.168 282.2);
Tailwind
colors: {
custom: {
50: '#998cde',
500: '#665fcf',
950: '#000000',
},
}SCSS
$custom: #665fcf; $custom-light: #998cde; $custom-dark: #000000;
JSON
{
"hex": "#665fcf",
"rgb": {
"r": 102,
"g": 95,
"b": 207
},
"hsl": {
"h": 243.75,
"s": 53.846,
"l": 59.216
},
"oklch": {
"l": 0.55055,
"c": 0.16756,
"h": 282.2
},
"luminance": 0.15514
}Semantic roles & 50–950 ramp
primary
#665FCF
secondary
#D8DBAF
accent
#DD4BD4
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83