#3161C6#3161C6
#3161C6 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.7% C 0.166 H 262.8°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #3161C6 |
|---|---|
| RGB | rgb(49, 97, 198) |
| HSL | hsl(221, 60%, 48%) |
| HSV | hsv(221, 75%, 78%) |
| CMYK | cmyk(75.3%, 51%, 0%, 22.4%) |
| CIE-LAB | lab(43.18, 19.44, -57.39) |
| CIE-LCH | lch(43.18, 60.59, 288.71°) |
| OKLab | oklab(51.69% -0.0207 -0.1651) |
| OKLCH | oklch(51.69% 0.166 262.8) |
| XYZ | xyz(15.7307, 13.2778, 55.1489) |
| Luminance | 0.1328 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 3.05
French Blue
#436BAD
ΔE00 4.43
Azul
#1D5DEC
ΔE00 4.73
Royal Blue
#4169E1
ΔE00 4.93
Sapphire
#0F52BA
ΔE00 5.27
Mid Blue
#276AB3
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3161C6 #C69631
analogous
#31ABC6 #3161C6 #4B31C6
triadic
#3161C6 #C63161 #61C631
tetradic
#3161C6 #C631AB #C69631 #31C64B
square
#3161C6 #C631AB #C69631 #31C64B
split-complementary
#3161C6 #C64B31 #ABC631
monochromatic
#193164 #254995 #3161C6 #5D84D7 #8EAAE3
Accessibility & contrast
On white
5.74
#3161C6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#3161C6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3161C6
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3161C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3161C6 | 1.00 | 5.74 | 3.66 | 5.74 |
| #FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#206DCA
Deuteranopia (green-blind)
#0060C4
Tritanopia (blue-blind)
#00798A
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #3161c6; /* rgb */ color: rgb(49, 97, 198); /* oklch */ color: oklch(51.7% 0.166 262.8);
Tailwind
colors: {
custom: {
50: '#7e8dd8',
500: '#3161c6',
950: '#000000',
},
}SCSS
$custom: #3161c6; $custom-light: #7e8dd8; $custom-dark: #000000;
JSON
{
"hex": "#3161c6",
"rgb": {
"r": 49,
"g": 97,
"b": 198
},
"hsl": {
"h": 220.671,
"s": 60.324,
"l": 48.431
},
"oklch": {
"l": 0.51685,
"c": 0.16642,
"h": 262.8
},
"luminance": 0.1328
}Semantic roles & 50–950 ramp
primary
#3161C6
secondary
#CEB685
accent
#B044E3
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83