#6166BF#6166BF
#6166BF is a mid, vivid blue. Relative luminance 0.158; OKLCH L 54.9% C 0.136 H 278.5°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #6166BF |
|---|---|
| RGB | rgb(97, 102, 191) |
| HSL | hsl(237, 42%, 56%) |
| HSV | hsv(237, 49%, 75%) |
| CMYK | cmyk(49.2%, 46.6%, 0%, 25.1%) |
| CIE-LAB | lab(46.72, 22.44, -47.52) |
| CIE-LCH | lch(46.72, 52.55, 295.28°) |
| OKLab | oklab(54.93% 0.0201 -0.135) |
| OKLCH | oklch(54.93% 0.136 278.5) |
| XYZ | xyz(19.0822, 15.8047, 51.3252) |
| Luminance | 0.1581 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.92
Iris
#6258C4
ΔE00 4.89
Slate Blue
#6A5ACD
ΔE00 5.20
Light Indigo
#6D5ACF
ΔE00 5.58
Cornflower Blue
#5170D7
ΔE00 6.11
Warm Blue
#4B57DB
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6166BF #BFBA61
analogous
#6195BF #6166BF #8B61BF
triadic
#6166BF #BF6166 #66BF61
tetradic
#6166BF #BF6195 #BFBA61 #61BF8B
square
#6166BF #BF6195 #BFBA61 #61BF8B
split-complementary
#6166BF #BF8B61 #95BF61
monochromatic
#303376 #4146A1 #6166BF #8D90D1 #B8BAE2
Accessibility & contrast
On white
5.05
#6166BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#6166BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6166BF
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6166BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6166BF | 1.00 | 5.05 | 4.16 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4072C2
Deuteranopia (green-blind)
#386BBD
Tritanopia (blue-blind)
#3D7989
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #6166bf; /* rgb */ color: rgb(97, 102, 191); /* oklch */ color: oklch(54.9% 0.136 278.5);
Tailwind
colors: {
custom: {
50: '#9491d3',
500: '#6166bf',
950: '#000000',
},
}SCSS
$custom: #6166bf; $custom-light: #9491d3; $custom-dark: #000000;
JSON
{
"hex": "#6166bf",
"rgb": {
"r": 97,
"g": 102,
"b": 191
},
"hsl": {
"h": 236.809,
"s": 42.342,
"l": 56.471
},
"oklch": {
"l": 0.54934,
"c": 0.13649,
"h": 278.5
},
"luminance": 0.15806
}Semantic roles & 50–950 ramp
primary
#6166BF
secondary
#D1CFAB
accent
#CC56D2
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0C14
muted
#7E7D83