#3160BA#3160BA
#3160BA is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.6% C 0.151 H 261.8°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #3160BA |
|---|---|
| RGB | rgb(49, 96, 186) |
| HSL | hsl(219, 58%, 46%) |
| HSV | hsv(219, 74%, 73%) |
| CMYK | cmyk(73.7%, 48.4%, 0%, 27.1%) |
| CIE-LAB | lab(42.10, 15.57, -52.17) |
| CIE-LCH | lch(42.10, 54.45, 286.62°) |
| OKLab | oklab(50.6% -0.0215 -0.1498) |
| OKLCH | oklch(50.6% 0.151 261.8) |
| XYZ | xyz(14.3092, 12.5623, 48.1155) |
| Luminance | 0.1256 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.26
French Blue
#436BAD
ΔE00 4.06
Sapphire
#0F52BA
ΔE00 4.67
Mid Blue
#276AB3
ΔE00 4.82
Denim Blue
#3B5B92
ΔE00 5.20
Denim (survey)
#3B638C
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3160BA #BA8B31
analogous
#31A4BA #3160BA #4631BA
triadic
#3160BA #BA3160 #60BA31
tetradic
#3160BA #BA31A4 #BA8B31 #31BA46
square
#3160BA #BA31A4 #BA8B31 #31BA46
split-complementary
#3160BA #BA4631 #A4BA31
monochromatic
#172E59 #24478A #3160BA #5681D2 #86A5DF
Accessibility & contrast
On white
5.98
#3160BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#3160BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3160BA
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3160BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3160BA | 1.00 | 5.98 | 3.51 | 5.98 |
| #FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E6ABD
Deuteranopia (green-blind)
#005DB8
Tritanopia (blue-blind)
#007584
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #3160ba; /* rgb */ color: rgb(49, 96, 186); /* oklch */ color: oklch(50.6% 0.151 261.8);
Tailwind
colors: {
custom: {
50: '#7b8ccf',
500: '#3160ba',
950: '#000000',
},
}SCSS
$custom: #3160ba; $custom-light: #7b8ccf; $custom-dark: #000000;
JSON
{
"hex": "#3160ba",
"rgb": {
"r": 49,
"g": 96,
"b": 186
},
"hsl": {
"h": 219.416,
"s": 58.298,
"l": 46.078
},
"oklch": {
"l": 0.50601,
"c": 0.1513,
"h": 261.8
},
"luminance": 0.12564
}Semantic roles & 50–950 ramp
primary
#3160BA
secondary
#C9AF7E
accent
#AC46E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82