#6166C0#6166C0
#6166C0 is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.0% C 0.138 H 278.4°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #6166C0 |
|---|---|
| RGB | rgb(97, 102, 192) |
| HSL | hsl(237, 43%, 57%) |
| HSV | hsv(237, 49%, 75%) |
| CMYK | cmyk(49.5%, 46.9%, 0%, 24.7%) |
| CIE-LAB | lab(46.78, 22.75, -48.00) |
| CIE-LCH | lch(46.78, 53.12, 295.36°) |
| OKLab | oklab(55% 0.0202 -0.1364) |
| OKLCH | oklch(55% 0.138 278.4) |
| XYZ | xyz(19.1926, 15.8488, 51.9068) |
| Luminance | 0.1585 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.81
Iris
#6258C4
ΔE00 4.86
Slate Blue
#6A5ACD
ΔE00 5.12
Light Indigo
#6D5ACF
ΔE00 5.51
Cornflower Blue
#5170D7
ΔE00 6.02
Warm Blue
#4B57DB
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6166C0 #C0BB61
analogous
#6196C0 #6166C0 #8C61C0
triadic
#6166C0 #C06166 #66C061
tetradic
#6166C0 #C06196 #C0BB61 #61C08C
square
#6166C0 #C06196 #C0BB61 #61C08C
split-complementary
#6166C0 #C08C61 #96C061
monochromatic
#2F3377 #4146A3 #6166C0 #8D90D1 #B9BBE3
Accessibility & contrast
On white
5.04
#6166C0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#6166C0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6166C0
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6166C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6166C0 | 1.00 | 5.04 | 4.17 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F73C3
Deuteranopia (green-blind)
#376BBE
Tritanopia (blue-blind)
#3C798A
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #6166c0; /* rgb */ color: rgb(97, 102, 192); /* oklch */ color: oklch(55.0% 0.138 278.4);
Tailwind
colors: {
custom: {
50: '#9491d3',
500: '#6166c0',
950: '#000000',
},
}SCSS
$custom: #6166c0; $custom-light: #9491d3; $custom-dark: #000000;
JSON
{
"hex": "#6166c0",
"rgb": {
"r": 97,
"g": 102,
"b": 192
},
"hsl": {
"h": 236.842,
"s": 42.986,
"l": 56.667
},
"oklch": {
"l": 0.54997,
"c": 0.13792,
"h": 278.4
},
"luminance": 0.1585
}Semantic roles & 50–950 ramp
primary
#6166C0
secondary
#D2D0AB
accent
#CC55D3
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0C14
muted
#7E7D83