#3166B5#3166B5
#3166B5 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 51.6% C 0.137 H 258.4°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #3166B5 |
|---|---|
| RGB | rgb(49, 102, 181) |
| HSL | hsl(216, 57%, 45%) |
| HSV | hsv(216, 73%, 71%) |
| CMYK | cmyk(72.9%, 43.6%, 0%, 29%) |
| CIE-LAB | lab(43.49, 9.84, -47.01) |
| CIE-LCH | lch(43.49, 48.03, 281.82°) |
| OKLab | oklab(51.58% -0.0276 -0.1345) |
| OKLCH | oklch(51.58% 0.137 258.4) |
| XYZ | xyz(14.3555, 13.4903, 45.5544) |
| Luminance | 0.1349 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.37
Mid Blue
#276AB3
ΔE00 2.45
French Blue
#436BAD
ΔE00 2.46
Medium Blue
#2C6FBB
ΔE00 3.63
Denim (survey)
#3B638C
ΔE00 4.90
Flat Blue
#3C73A8
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3166B5 #B58031
analogous
#31A8B5 #3166B5 #3E31B5
triadic
#3166B5 #B53166 #66B531
tetradic
#3166B5 #B531A8 #B58031 #31B53E
square
#3166B5 #B531A8 #B58031 #31B53E
split-complementary
#3166B5 #B53E31 #A8B531
monochromatic
#173055 #244B85 #3166B5 #5385D0 #83A7DD
Accessibility & contrast
On white
5.68
#3166B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#3166B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3166B5
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3166B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3166B5 | 1.00 | 5.68 | 3.70 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F6DB8
Deuteranopia (green-blind)
#2761B3
Tritanopia (blue-blind)
#007884
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #3166b5; /* rgb */ color: rgb(49, 102, 181); /* oklch */ color: oklch(51.6% 0.137 258.4);
Tailwind
colors: {
custom: {
50: '#7a91cc',
500: '#3166b5',
950: '#000000',
},
}SCSS
$custom: #3166b5; $custom-light: #7a91cc; $custom-dark: #000000;
JSON
{
"hex": "#3166b5",
"rgb": {
"r": 49,
"g": 102,
"b": 181
},
"hsl": {
"h": 215.909,
"s": 57.391,
"l": 45.098
},
"oklch": {
"l": 0.51575,
"c": 0.13729,
"h": 258.4
},
"luminance": 0.13492
}Semantic roles & 50–950 ramp
primary
#3166B5
secondary
#C7A87B
accent
#A347E1
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C13
muted
#7C7D82