#6166C2#6166C2
#6166C2 is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.1% C 0.141 H 278.4°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #6166C2 |
|---|---|
| RGB | rgb(97, 102, 194) |
| HSL | hsl(237, 44%, 57%) |
| HSV | hsv(237, 50%, 76%) |
| CMYK | cmyk(50%, 47.4%, 0%, 23.9%) |
| CIE-LAB | lab(46.89, 23.38, -48.97) |
| CIE-LCH | lch(46.89, 54.27, 295.52°) |
| OKLab | oklab(55.12% 0.0205 -0.1393) |
| OKLCH | oklch(55.12% 0.141 278.4) |
| XYZ | xyz(19.4157, 15.9381, 53.0818) |
| Luminance | 0.1594 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.59
Iris
#6258C4
ΔE00 4.80
Slate Blue
#6A5ACD
ΔE00 4.99
Light Indigo
#6D5ACF
ΔE00 5.36
Cornflower Blue
#5170D7
ΔE00 5.86
Warm Blue
#4B57DB
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6166C2 #C2BD61
analogous
#6197C2 #6166C2 #8D61C2
triadic
#6166C2 #C26166 #66C261
tetradic
#6166C2 #C26197 #C2BD61 #61C28D
square
#6166C2 #C26197 #C2BD61 #61C28D
split-complementary
#6166C2 #C28D61 #97C261
monochromatic
#2F337A #4045A6 #6166C2 #8D91D3 #B9BCE4
Accessibility & contrast
On white
5.01
#6166C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#6166C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6166C2
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6166C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6166C2 | 1.00 | 5.01 | 4.19 | 5.01 |
| #FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E73C5
Deuteranopia (green-blind)
#356BC0
Tritanopia (blue-blind)
#3B7A8B
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #6166c2; /* rgb */ color: rgb(97, 102, 194); /* oklch */ color: oklch(55.1% 0.141 278.4);
Tailwind
colors: {
custom: {
50: '#9491d5',
500: '#6166c2',
950: '#000000',
},
}SCSS
$custom: #6166c2; $custom-light: #9491d5; $custom-dark: #000000;
JSON
{
"hex": "#6166c2",
"rgb": {
"r": 97,
"g": 102,
"b": 194
},
"hsl": {
"h": 236.907,
"s": 44.292,
"l": 57.059
},
"oklch": {
"l": 0.55124,
"c": 0.14077,
"h": 278.4
},
"luminance": 0.15939
}Semantic roles & 50–950 ramp
primary
#6166C2
secondary
#D3D1AC
accent
#CD54D4
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0C14
muted
#7E7D83