#6166CD#6166CD
#6166CD is a mid, vivid blue. Relative luminance 0.165; OKLCH L 55.8% C 0.156 H 278.0°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #6166CD |
|---|---|
| RGB | rgb(97, 102, 205) |
| HSL | hsl(237, 52%, 59%) |
| HSV | hsv(237, 53%, 80%) |
| CMYK | cmyk(52.7%, 50.2%, 0%, 19.6%) |
| CIE-LAB | lab(47.56, 26.84, -54.23) |
| CIE-LCH | lch(47.56, 60.51, 296.34°) |
| OKLab | oklab(55.84% 0.0217 -0.1547) |
| OKLCH | oklch(55.84% 0.156 278) |
| XYZ | xyz(20.6971, 16.4506, 59.8304) |
| Luminance | 0.1645 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.77
Slate Blue
#6A5ACD
ΔE00 4.59
Iris
#6258C4
ΔE00 4.87
Light Indigo
#6D5ACF
ΔE00 4.89
Cornflower Blue
#5170D7
ΔE00 5.21
Royal Blue
#4169E1
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6166CD #CDC861
analogous
#619CCD #6166CD #9261CD
triadic
#6166CD #CD6166 #66CD61
tetradic
#6166CD #CD619C #CDC861 #61CD92
square
#6166CD #CD619C #CDC861 #61CD92
split-complementary
#6166CD #CD9261 #9CCD61
monochromatic
#2B2F88 #3A40B7 #6166CD #8F93DC #BEC0EA
Accessibility & contrast
On white
4.89
#6166CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#6166CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6166CD
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6166CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6166CD | 1.00 | 4.89 | 4.29 | 4.89 |
| #FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3375D1
Deuteranopia (green-blind)
#266DCB
Tritanopia (blue-blind)
#317D90
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #6166cd; /* rgb */ color: rgb(97, 102, 205); /* oklch */ color: oklch(55.8% 0.156 278.0);
Tailwind
colors: {
custom: {
50: '#9591dd',
500: '#6166cd',
950: '#000000',
},
}SCSS
$custom: #6166cd; $custom-light: #9591dd; $custom-dark: #000000;
JSON
{
"hex": "#6166cd",
"rgb": {
"r": 97,
"g": 102,
"b": 205
},
"hsl": {
"h": 237.222,
"s": 51.923,
"l": 59.216
},
"oklch": {
"l": 0.55842,
"c": 0.15622,
"h": 278
},
"luminance": 0.16452
}Semantic roles & 50–950 ramp
primary
#6166CD
secondary
#DAD8B0
accent
#D54CDB
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83