#3166B6#3166B6
#3166B6 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 51.6% C 0.139 H 258.6°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #3166B6 |
|---|---|
| RGB | rgb(49, 102, 182) |
| HSL | hsl(216, 58%, 45%) |
| HSV | hsv(216, 73%, 71%) |
| CMYK | cmyk(73.1%, 44%, 0%, 28.6%) |
| CIE-LAB | lab(43.55, 10.21, -47.50) |
| CIE-LCH | lch(43.55, 48.58, 282.14°) |
| OKLab | oklab(51.64% -0.0274 -0.1359) |
| OKLCH | oklch(51.64% 0.139 258.6) |
| XYZ | xyz(14.4584, 13.5315, 46.0968) |
| Luminance | 0.1353 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.36
French Blue
#436BAD
ΔE00 2.46
Mid Blue
#276AB3
ΔE00 2.52
Medium Blue
#2C6FBB
ΔE00 3.65
Denim (survey)
#3B638C
ΔE00 5.00
Flat Blue
#3C73A8
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3166B6 #B68131
analogous
#31A9B6 #3166B6 #3E31B6
triadic
#3166B6 #B63166 #66B631
tetradic
#3166B6 #B631A9 #B68131 #31B63E
square
#3166B6 #B631A9 #B68131 #31B63E
split-complementary
#3166B6 #B63E31 #A9B631
monochromatic
#173056 #244B86 #3166B6 #5385D1 #84A8DE
Accessibility & contrast
On white
5.67
#3166B6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#3166B6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3166B6
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3166B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3166B6 | 1.00 | 5.67 | 3.71 | 5.67 |
| #FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E6DB9
Deuteranopia (green-blind)
#2661B4
Tritanopia (blue-blind)
#007985
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #3166b6; /* rgb */ color: rgb(49, 102, 182); /* oklch */ color: oklch(51.6% 0.139 258.6);
Tailwind
colors: {
custom: {
50: '#7a91cc',
500: '#3166b6',
950: '#000000',
},
}SCSS
$custom: #3166b6; $custom-light: #7a91cc; $custom-dark: #000000;
JSON
{
"hex": "#3166b6",
"rgb": {
"r": 49,
"g": 102,
"b": 182
},
"hsl": {
"h": 216.09,
"s": 57.576,
"l": 45.294
},
"oklch": {
"l": 0.51641,
"c": 0.13865,
"h": 258.6
},
"luminance": 0.13533
}Semantic roles & 50–950 ramp
primary
#3166B6
secondary
#C7A97C
accent
#A447E1
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C13
muted
#7C7D82