#3161C3#3161C3
#3161C3 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.5% C 0.162 H 262.5°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #3161C3 |
|---|---|
| RGB | rgb(49, 97, 195) |
| HSL | hsl(220, 60%, 48%) |
| HSV | hsv(220, 75%, 76%) |
| CMYK | cmyk(74.9%, 50.3%, 0%, 23.5%) |
| CIE-LAB | lab(42.97, 18.31, -55.99) |
| CIE-LCH | lch(42.97, 58.90, 288.11°) |
| OKLab | oklab(51.46% -0.0211 -0.161) |
| OKLCH | oklch(51.46% 0.162 262.5) |
| XYZ | xyz(15.3881, 13.1408, 53.3446) |
| Luminance | 0.1314 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.76
French Blue
#436BAD
ΔE00 4.23
Mid Blue
#276AB3
ΔE00 5.08
Azul
#1D5DEC
ΔE00 5.11
Sapphire
#0F52BA
ΔE00 5.15
Royal Blue
#4169E1
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3161C3 #C39331
analogous
#31AAC3 #3161C3 #4A31C3
triadic
#3161C3 #C33161 #61C331
tetradic
#3161C3 #C331AA #C39331 #31C34A
square
#3161C3 #C331AA #C39331 #31C34A
split-complementary
#3161C3 #C34A31 #AAC331
monochromatic
#183061 #254992 #3161C3 #5B84D6 #8CA8E2
Accessibility & contrast
On white
5.79
#3161C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#3161C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3161C3
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3161C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3161C3 | 1.00 | 5.79 | 3.63 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#256DC7
Deuteranopia (green-blind)
#005FC1
Tritanopia (blue-blind)
#007889
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #3161c3; /* rgb */ color: rgb(49, 97, 195); /* oklch */ color: oklch(51.5% 0.162 262.5);
Tailwind
colors: {
custom: {
50: '#7d8dd6',
500: '#3161c3',
950: '#000000',
},
}SCSS
$custom: #3161c3; $custom-light: #7d8dd6; $custom-dark: #000000;
JSON
{
"hex": "#3161c3",
"rgb": {
"r": 49,
"g": 97,
"b": 195
},
"hsl": {
"h": 220.274,
"s": 59.836,
"l": 47.843
},
"oklch": {
"l": 0.51464,
"c": 0.16236,
"h": 262.5
},
"luminance": 0.13142
}Semantic roles & 50–950 ramp
primary
#3161C3
secondary
#CCB483
accent
#AF45E3
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83