#3161C5#3161C5
#3161C5 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.6% C 0.165 H 262.7°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #3161C5 |
|---|---|
| RGB | rgb(49, 97, 197) |
| HSL | hsl(221, 60%, 48%) |
| HSV | hsv(221, 75%, 77%) |
| CMYK | cmyk(75.1%, 50.8%, 0%, 22.7%) |
| CIE-LAB | lab(43.11, 19.06, -56.92) |
| CIE-LCH | lch(43.11, 60.03, 288.51°) |
| OKLab | oklab(51.61% -0.0208 -0.1637) |
| OKLCH | oklch(51.61% 0.165 262.7) |
| XYZ | xyz(15.6158, 13.2318, 54.5435) |
| Luminance | 0.1323 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.95
French Blue
#436BAD
ΔE00 4.36
Azul
#1D5DEC
ΔE00 4.86
Royal Blue
#4169E1
ΔE00 5.04
Sapphire
#0F52BA
ΔE00 5.23
Mid Blue
#276AB3
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3161C5 #C59531
analogous
#31ABC5 #3161C5 #4B31C5
triadic
#3161C5 #C53161 #61C531
tetradic
#3161C5 #C531AB #C59531 #31C54B
square
#3161C5 #C531AB #C59531 #31C54B
split-complementary
#3161C5 #C54B31 #ABC531
monochromatic
#193163 #254994 #3161C5 #5D84D7 #8EA9E3
Accessibility & contrast
On white
5.76
#3161C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#3161C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3161C5
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3161C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3161C5 | 1.00 | 5.76 | 3.65 | 5.76 |
| #FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#226DC9
Deuteranopia (green-blind)
#005FC3
Tritanopia (blue-blind)
#00798A
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #3161c5; /* rgb */ color: rgb(49, 97, 197); /* oklch */ color: oklch(51.6% 0.165 262.7);
Tailwind
colors: {
custom: {
50: '#7e8dd7',
500: '#3161c5',
950: '#000000',
},
}SCSS
$custom: #3161c5; $custom-light: #7e8dd7; $custom-dark: #000000;
JSON
{
"hex": "#3161c5",
"rgb": {
"r": 49,
"g": 97,
"b": 197
},
"hsl": {
"h": 220.541,
"s": 60.163,
"l": 48.235
},
"oklch": {
"l": 0.51611,
"c": 0.16506,
"h": 262.7
},
"luminance": 0.13234
}Semantic roles & 50–950 ramp
primary
#3161C5
secondary
#CDB685
accent
#B044E3
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83