#3166B7#3166B7
#3166B7 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 51.7% C 0.140 H 258.8°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #3166B7 |
|---|---|
| RGB | rgb(49, 102, 183) |
| HSL | hsl(216, 58%, 45%) |
| HSV | hsv(216, 73%, 72%) |
| CMYK | cmyk(73.2%, 44.3%, 0%, 28.2%) |
| CIE-LAB | lab(43.61, 10.59, -47.98) |
| CIE-LCH | lch(43.61, 49.14, 282.44°) |
| OKLab | oklab(51.71% -0.0273 -0.1373) |
| OKLCH | oklch(51.71% 0.14 258.8) |
| XYZ | xyz(14.5621, 13.5730, 46.6430) |
| Luminance | 0.1358 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.36
French Blue
#436BAD
ΔE00 2.47
Mid Blue
#276AB3
ΔE00 2.59
Medium Blue
#2C6FBB
ΔE00 3.66
Denim (survey)
#3B638C
ΔE00 5.09
Flat Blue
#3C73A8
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3166B7 #B78231
analogous
#31A9B7 #3166B7 #3F31B7
triadic
#3166B7 #B73166 #66B731
tetradic
#3166B7 #B731A9 #B78231 #31B73F
square
#3166B7 #B731A9 #B78231 #31B73F
split-complementary
#3166B7 #B73F31 #A9B731
monochromatic
#173056 #244B87 #3166B7 #5486D1 #84A8DE
Accessibility & contrast
On white
5.65
#3166B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#3166B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3166B7
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3166B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3166B7 | 1.00 | 5.65 | 3.72 | 5.65 |
| #FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E6EBA
Deuteranopia (green-blind)
#2461B5
Tritanopia (blue-blind)
#007985
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #3166b7; /* rgb */ color: rgb(49, 102, 183); /* oklch */ color: oklch(51.7% 0.140 258.8);
Tailwind
colors: {
custom: {
50: '#7a91cd',
500: '#3166b7',
950: '#000000',
},
}SCSS
$custom: #3166b7; $custom-light: #7a91cd; $custom-dark: #000000;
JSON
{
"hex": "#3166b7",
"rgb": {
"r": 49,
"g": 102,
"b": 183
},
"hsl": {
"h": 216.269,
"s": 57.759,
"l": 45.49
},
"oklch": {
"l": 0.51708,
"c": 0.14002,
"h": 258.8
},
"luminance": 0.13575
}Semantic roles & 50–950 ramp
primary
#3166B7
secondary
#C8AA7C
accent
#A447E1
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C13
muted
#7C7D82