#3161BF#3161BF
#3161BF is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.2% C 0.157 H 262.1°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #3161BF |
|---|---|
| RGB | rgb(49, 97, 191) |
| HSL | hsl(220, 59%, 47%) |
| HSV | hsv(220, 74%, 75%) |
| CMYK | cmyk(74.3%, 49.2%, 0%, 25.1%) |
| CIE-LAB | lab(42.71, 16.81, -54.10) |
| CIE-LCH | lch(42.71, 56.65, 287.26°) |
| OKLab | oklab(51.17% -0.0216 -0.1554) |
| OKLCH | oklch(51.17% 0.157 262.1) |
| XYZ | xyz(14.9419, 12.9623, 50.9946) |
| Luminance | 0.1296 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.43
French Blue
#436BAD
ΔE00 3.99
Mid Blue
#276AB3
ΔE00 4.79
Sapphire
#0F52BA
ΔE00 5.04
Azul
#1D5DEC
ΔE00 5.61
Royal Blue
#4169E1
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3161BF #BF8F31
analogous
#31A8BF #3161BF #4831BF
triadic
#3161BF #BF3161 #61BF31
tetradic
#3161BF #BF31A8 #BF8F31 #31BF48
square
#3161BF #BF31A8 #BF8F31 #31BF48
split-complementary
#3161BF #BF4831 #A8BF31
monochromatic
#18305E #25488E #3161BF #5983D4 #8AA7E1
Accessibility & contrast
On white
5.85
#3161BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#3161BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3161BF
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3161BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3161BF | 1.00 | 5.85 | 3.59 | 5.85 |
| #FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B6CC2
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#007787
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #3161bf; /* rgb */ color: rgb(49, 97, 191); /* oklch */ color: oklch(51.2% 0.157 262.1);
Tailwind
colors: {
custom: {
50: '#7c8dd3',
500: '#3161bf',
950: '#000000',
},
}SCSS
$custom: #3161bf; $custom-light: #7c8dd3; $custom-dark: #000000;
JSON
{
"hex": "#3161bf",
"rgb": {
"r": 49,
"g": 97,
"b": 191
},
"hsl": {
"h": 219.718,
"s": 59.167,
"l": 47.059
},
"oklch": {
"l": 0.51174,
"c": 0.15692,
"h": 262.1
},
"luminance": 0.12964
}Semantic roles & 50–950 ramp
primary
#3161BF
secondary
#CBB281
accent
#AD45E2
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83