#6166CE#6166CE
#6166CE is a mid, vivid blue. Relative luminance 0.165; OKLCH L 55.9% C 0.158 H 277.9°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #6166CE |
|---|---|
| RGB | rgb(97, 102, 206) |
| HSL | hsl(237, 53%, 59%) |
| HSV | hsv(237, 53%, 81%) |
| CMYK | cmyk(52.9%, 50.5%, 0%, 19.2%) |
| CIE-LAB | lab(47.62, 27.16, -54.70) |
| CIE-LCH | lch(47.62, 61.07, 296.41°) |
| OKLab | oklab(55.91% 0.0217 -0.1561) |
| OKLCH | oklch(55.91% 0.158 277.9) |
| XYZ | xyz(20.8182, 16.4991, 60.4682) |
| Luminance | 0.1650 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.74
Slate Blue
#6A5ACD
ΔE00 4.59
Light Indigo
#6D5ACF
ΔE00 4.87
Iris
#6258C4
ΔE00 4.90
Cornflower Blue
#5170D7
ΔE00 5.17
Royal Blue
#4169E1
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6166CE #CEC961
analogous
#619DCE #6166CE #9361CE
triadic
#6166CE #CE6166 #66CE61
tetradic
#6166CE #CE619D #CEC961 #61CE93
square
#6166CE #CE619D #CEC961 #61CE93
split-complementary
#6166CE #CE9361 #9DCE61
monochromatic
#2B2F8A #393FB9 #6166CE #9093DC #BEC0EB
Accessibility & contrast
On white
4.88
#6166CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#6166CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6166CE
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6166CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6166CE | 1.00 | 4.88 | 4.30 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3275D2
Deuteranopia (green-blind)
#246DCC
Tritanopia (blue-blind)
#307D90
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #6166ce; /* rgb */ color: rgb(97, 102, 206); /* oklch */ color: oklch(55.9% 0.158 277.9);
Tailwind
colors: {
custom: {
50: '#9691de',
500: '#6166ce',
950: '#000000',
},
}SCSS
$custom: #6166ce; $custom-light: #9691de; $custom-dark: #000000;
JSON
{
"hex": "#6166ce",
"rgb": {
"r": 97,
"g": 102,
"b": 206
},
"hsl": {
"h": 237.248,
"s": 52.657,
"l": 59.412
},
"oklch": {
"l": 0.55909,
"c": 0.15761,
"h": 277.9
},
"luminance": 0.165
}Semantic roles & 50–950 ramp
primary
#6166CE
secondary
#DBD9B0
accent
#D54CDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83