#665CA6#665CA6
#665CA6 is a mid, moderate blue. Relative luminance 0.132; OKLCH L 51.8% C 0.114 H 287.9°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #665CA6 |
|---|---|
| RGB | rgb(102, 92, 166) |
| HSL | hsl(248, 29%, 51%) |
| HSV | hsv(248, 45%, 65%) |
| CMYK | cmyk(38.6%, 44.6%, 0%, 34.9%) |
| CIE-LAB | lab(43.11, 22.37, -38.61) |
| CIE-LCH | lch(43.11, 44.62, 300.08°) |
| OKLab | oklab(51.84% 0.0352 -0.1088) |
| OKLCH | oklch(51.84% 0.114 287.9) |
| XYZ | xyz(16.1877, 13.2318, 37.7701) |
| Luminance | 0.1323 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 5.62
Royal Purple
#7851A9
ΔE00 6.02
Twilight
#4E518B
ΔE00 6.59
Slate Blue
#6A5ACD
ΔE00 6.64
Light Indigo
#6D5ACF
ΔE00 6.97
Dark Periwinkle
#665FD1
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665CA6 #9CA65C
analogous
#5C77A6 #665CA6 #8B5CA6
triadic
#665CA6 #A6665C #5CA666
tetradic
#665CA6 #A65C77 #9CA65C #5CA68B
square
#665CA6 #A65C77 #9CA65C #5CA68B
split-complementary
#665CA6 #A68B5C #77A65C
monochromatic
#353058 #4D467F #665CA6 #8B84BC #B0ABD1
Accessibility & contrast
On white
5.76
#665CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#665CA6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665CA6
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665CA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665CA6 | 1.00 | 5.76 | 3.65 | 5.76 |
| #FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4268A9
Deuteranopia (green-blind)
#4264A4
Tritanopia (blue-blind)
#556A79
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #665ca6; /* rgb */ color: rgb(102, 92, 166); /* oklch */ color: oklch(51.8% 0.114 287.9);
Tailwind
colors: {
custom: {
50: '#948ac1',
500: '#665ca6',
950: '#000000',
},
}SCSS
$custom: #665ca6; $custom-light: #948ac1; $custom-dark: #000000;
JSON
{
"hex": "#665ca6",
"rgb": {
"r": 102,
"g": 92,
"b": 166
},
"hsl": {
"h": 248.108,
"s": 29.365,
"l": 50.588
},
"oklch": {
"l": 0.51843,
"c": 0.1144,
"h": 287.9
},
"luminance": 0.13232
}Semantic roles & 50–950 ramp
primary
#665CA6
secondary
#BBBF9E
accent
#C662B8
background
#F9F8FB
surface
#F2F0F7
border
#CCCBD0
text
#0D0B12
muted
#7E7C81