#665FCB#665FCB
#665FCB is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.8% C 0.162 H 282.6°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #665FCB |
|---|---|
| RGB | rgb(102, 95, 203) |
| HSL | hsl(244, 51%, 58%) |
| HSV | hsv(244, 53%, 80%) |
| CMYK | cmyk(49.8%, 53.2%, 0%, 20.4%) |
| CIE-LAB | lab(46.07, 31.57, -55.46) |
| CIE-LCH | lch(46.07, 63.81, 299.65°) |
| OKLab | oklab(54.78% 0.0352 -0.1582) |
| OKLCH | oklch(54.78% 0.162 282.6) |
| XYZ | xyz(20.3479, 15.3199, 58.3732) |
| Luminance | 0.1532 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 0.89
Slate Blue
#6A5ACD
ΔE00 1.89
Light Indigo
#6D5ACF
ΔE00 2.27
Iris
#6258C4
ΔE00 2.45
Warm Blue
#4B57DB
ΔE00 4.87
Mediumslateblue
#7B68EE
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665FCB #C4CB5F
analogous
#5F8ECB #665FCB #9C5FCB
triadic
#665FCB #CB665F #5FCB66
tetradic
#665FCB #CB5F8E #C4CB5F #5FCB9C
square
#665FCB #CB5F8E #C4CB5F #5FCB9C
split-complementary
#665FCB #CB9C5F #8ECB5F
monochromatic
#312B85 #423AB3 #665FCB #928DDA #BEBBE9
Accessibility & contrast
On white
5.17
#665FCB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#665FCB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665FCB
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665FCB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665FCB | 1.00 | 5.17 | 4.06 | 5.17 |
| #FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2571CF
Deuteranopia (green-blind)
#1B69C9
Tritanopia (blue-blind)
#40778C
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #665fcb; /* rgb */ color: rgb(102, 95, 203); /* oklch */ color: oklch(54.8% 0.162 282.6);
Tailwind
colors: {
custom: {
50: '#988cdb',
500: '#665fcb',
950: '#000000',
},
}SCSS
$custom: #665fcb; $custom-light: #988cdb; $custom-dark: #000000;
JSON
{
"hex": "#665fcb",
"rgb": {
"r": 102,
"g": 95,
"b": 203
},
"hsl": {
"h": 243.889,
"s": 50.943,
"l": 58.431
},
"oklch": {
"l": 0.54779,
"c": 0.16212,
"h": 282.6
},
"luminance": 0.15321
}Semantic roles & 50–950 ramp
primary
#665FCB
secondary
#D6D8AD
accent
#DA4DD1
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83