#3161B9#3161B9
#3161B9 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.7% C 0.149 H 261.3°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #3161B9 |
|---|---|
| RGB | rgb(49, 97, 185) |
| HSL | hsl(219, 58%, 46%) |
| HSV | hsv(219, 74%, 73%) |
| CMYK | cmyk(73.5%, 47.6%, 0%, 27.5%) |
| CIE-LAB | lab(42.31, 14.55, -51.24) |
| CIE-LCH | lch(42.31, 53.26, 285.85°) |
| OKLab | oklab(50.75% -0.0225 -0.147) |
| OKLCH | oklch(50.75% 0.149 261.3) |
| XYZ | xyz(14.2951, 12.7036, 47.5882) |
| Luminance | 0.1270 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.08
French Blue
#436BAD
ΔE00 3.73
Mid Blue
#276AB3
ΔE00 4.41
Sapphire
#0F52BA
ΔE00 4.98
Denim Blue
#3B5B92
ΔE00 5.20
Denim (survey)
#3B638C
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3161B9 #B98931
analogous
#31A5B9 #3161B9 #4531B9
triadic
#3161B9 #B93161 #61B931
tetradic
#3161B9 #B931A5 #B98931 #31B945
square
#3161B9 #B931A5 #B98931 #31B945
split-complementary
#3161B9 #B94531 #A5B931
monochromatic
#172E58 #244889 #3161B9 #5581D2 #86A5DF
Accessibility & contrast
On white
5.93
#3161B9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#3161B9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3161B9
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3161B9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3161B9 | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#316BBC
Deuteranopia (green-blind)
#0C5EB7
Tritanopia (blue-blind)
#007684
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #3161b9; /* rgb */ color: rgb(49, 97, 185); /* oklch */ color: oklch(50.7% 0.149 261.3);
Tailwind
colors: {
custom: {
50: '#7b8dcf',
500: '#3161b9',
950: '#000000',
},
}SCSS
$custom: #3161b9; $custom-light: #7b8dcf; $custom-dark: #000000;
JSON
{
"hex": "#3161b9",
"rgb": {
"r": 49,
"g": 97,
"b": 185
},
"hsl": {
"h": 218.824,
"s": 58.12,
"l": 45.882
},
"oklch": {
"l": 0.50746,
"c": 0.14872,
"h": 261.3
},
"luminance": 0.12705
}Semantic roles & 50–950 ramp
primary
#3161B9
secondary
#C8AE7D
accent
#AB46E1
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82