#6166CA#6166CA
#6166CA is a mid, vivid blue. Relative luminance 0.163; OKLCH L 55.6% C 0.152 H 278.1°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #6166CA |
|---|---|
| RGB | rgb(97, 102, 202) |
| HSL | hsl(237, 50%, 59%) |
| HSV | hsv(237, 52%, 79%) |
| CMYK | cmyk(52%, 49.5%, 0%, 20.8%) |
| CIE-LAB | lab(47.38, 25.90, -52.80) |
| CIE-LCH | lch(47.38, 58.81, 296.12°) |
| OKLab | oklab(55.64% 0.0214 -0.1505) |
| OKLCH | oklch(55.64% 0.152 278.1) |
| XYZ | xyz(20.3385, 16.3072, 57.9415) |
| Luminance | 0.1631 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.92
Slate Blue
#6A5ACD
ΔE00 4.64
Iris
#6258C4
ΔE00 4.79
Light Indigo
#6D5ACF
ΔE00 4.97
Cornflower Blue
#5170D7
ΔE00 5.34
Royal Blue
#4169E1
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6166CA #CAC561
analogous
#619ACA #6166CA #9061CA
triadic
#6166CA #CA6166 #66CA61
tetradic
#6166CA #CA619A #CAC561 #61CA90
square
#6166CA #CA619A #CAC561 #61CA90
split-complementary
#6166CA #CA9061 #9ACA61
monochromatic
#2C3184 #3C41B2 #6166CA #8F92D9 #BDBFE9
Accessibility & contrast
On white
4.93
#6166CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#6166CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6166CA
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6166CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6166CA | 1.00 | 4.93 | 4.26 | 4.93 |
| #FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3675CE
Deuteranopia (green-blind)
#2A6CC8
Tritanopia (blue-blind)
#347C8E
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #6166ca; /* rgb */ color: rgb(97, 102, 202); /* oklch */ color: oklch(55.6% 0.152 278.1);
Tailwind
colors: {
custom: {
50: '#9591db',
500: '#6166ca',
950: '#000000',
},
}SCSS
$custom: #6166ca; $custom-light: #9591db; $custom-dark: #000000;
JSON
{
"hex": "#6166ca",
"rgb": {
"r": 97,
"g": 102,
"b": 202
},
"hsl": {
"h": 237.143,
"s": 49.763,
"l": 58.627
},
"oklch": {
"l": 0.55643,
"c": 0.15204,
"h": 278.1
},
"luminance": 0.16308
}Semantic roles & 50–950 ramp
primary
#6166CA
secondary
#D8D6AF
accent
#D34FD9
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83