#6166CF#6166CF
#6166CF is a mid, vivid blue. Relative luminance 0.165; OKLCH L 56.0% C 0.159 H 277.9°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #6166CF |
|---|---|
| RGB | rgb(97, 102, 207) |
| HSL | hsl(237, 53%, 60%) |
| HSV | hsv(237, 53%, 81%) |
| CMYK | cmyk(53.1%, 50.7%, 0%, 18.8%) |
| CIE-LAB | lab(47.69, 27.48, -55.17) |
| CIE-LCH | lch(47.69, 61.64, 296.48°) |
| OKLab | oklab(55.98% 0.0218 -0.1575) |
| OKLCH | oklch(55.98% 0.159 277.9) |
| XYZ | xyz(20.9401, 16.5478, 61.1100) |
| Luminance | 0.1655 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.71
Slate Blue
#6A5ACD
ΔE00 4.59
Light Indigo
#6D5ACF
ΔE00 4.86
Iris
#6258C4
ΔE00 4.94
Cornflower Blue
#5170D7
ΔE00 5.14
Royal Blue
#4169E1
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6166CF #CFCA61
analogous
#619DCF #6166CF #9361CF
triadic
#6166CF #CF6166 #66CF61
tetradic
#6166CF #CF619D #CFCA61 #61CF93
square
#6166CF #CF619D #CFCA61 #61CF93
split-complementary
#6166CF #CF9361 #9DCF61
monochromatic
#2A2F8B #393EBA #6166CF #9093DD #BFC1EC
Accessibility & contrast
On white
4.87
#6166CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#6166CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6166CF
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6166CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6166CF | 1.00 | 4.87 | 4.31 | 4.87 |
| #FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3176D3
Deuteranopia (green-blind)
#226DCD
Tritanopia (blue-blind)
#2F7D91
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #6166cf; /* rgb */ color: rgb(97, 102, 207); /* oklch */ color: oklch(56.0% 0.159 277.9);
Tailwind
colors: {
custom: {
50: '#9691de',
500: '#6166cf',
950: '#000000',
},
}SCSS
$custom: #6166cf; $custom-light: #9691de; $custom-dark: #000000;
JSON
{
"hex": "#6166cf",
"rgb": {
"r": 97,
"g": 102,
"b": 207
},
"hsl": {
"h": 237.273,
"s": 53.398,
"l": 59.608
},
"oklch": {
"l": 0.55977,
"c": 0.15899,
"h": 277.9
},
"luminance": 0.16549
}Semantic roles & 50–950 ramp
primary
#6166CF
secondary
#DBD9B1
accent
#D64BDD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83