#3166B9#3166B9
#3166B9 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 51.8% C 0.143 H 259.1°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #3166B9 |
|---|---|
| RGB | rgb(49, 102, 185) |
| HSL | hsl(217, 58%, 46%) |
| HSV | hsv(217, 74%, 73%) |
| CMYK | cmyk(73.5%, 44.9%, 0%, 27.5%) |
| CIE-LAB | lab(43.74, 11.34, -48.95) |
| CIE-LCH | lch(43.74, 50.25, 283.04°) |
| OKLab | oklab(51.84% -0.0269 -0.1402) |
| OKLCH | oklch(51.84% 0.143 259.1) |
| XYZ | xyz(14.7718, 13.6569, 47.7471) |
| Luminance | 0.1366 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.39
French Blue
#436BAD
ΔE00 2.52
Mid Blue
#276AB3
ΔE00 2.75
Medium Blue
#2C6FBB
ΔE00 3.71
Denim (survey)
#3B638C
ΔE00 5.28
Flat Blue
#3C73A8
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3166B9 #B98431
analogous
#31AAB9 #3166B9 #4031B9
triadic
#3166B9 #B93166 #66B931
tetradic
#3166B9 #B931AA #B98431 #31B940
square
#3166B9 #B931AA #B98431 #31B940
split-complementary
#3166B9 #B94031 #AAB931
monochromatic
#173158 #244B89 #3166B9 #5586D2 #86A8DF
Accessibility & contrast
On white
5.63
#3166B9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#3166B9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3166B9
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3166B9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3166B9 | 1.00 | 5.63 | 3.73 | 5.63 |
| #FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C6EBC
Deuteranopia (green-blind)
#2162B7
Tritanopia (blue-blind)
#007986
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #3166b9; /* rgb */ color: rgb(49, 102, 185); /* oklch */ color: oklch(51.8% 0.143 259.1);
Tailwind
colors: {
custom: {
50: '#7b91ce',
500: '#3166b9',
950: '#000000',
},
}SCSS
$custom: #3166b9; $custom-light: #7b91ce; $custom-dark: #000000;
JSON
{
"hex": "#3166b9",
"rgb": {
"r": 49,
"g": 102,
"b": 185
},
"hsl": {
"h": 216.618,
"s": 58.12,
"l": 45.882
},
"oklch": {
"l": 0.51842,
"c": 0.14274,
"h": 259.1
},
"luminance": 0.13658
}Semantic roles & 50–950 ramp
primary
#3166B9
secondary
#C8AB7D
accent
#A546E1
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82