#3160B3#3160B3
#3160B3 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.1% C 0.142 H 260.8°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #3160B3 |
|---|---|
| RGB | rgb(49, 96, 179) |
| HSL | hsl(218, 57%, 45%) |
| HSV | hsv(218, 73%, 70%) |
| CMYK | cmyk(72.6%, 46.4%, 0%, 29.8%) |
| CIE-LAB | lab(41.65, 12.94, -48.80) |
| CIE-LCH | lch(41.65, 50.49, 284.85°) |
| OKLab | oklab(50.11% -0.0226 -0.1399) |
| OKLCH | oklch(50.11% 0.142 260.8) |
| XYZ | xyz(13.5833, 12.2719, 44.2919) |
| Luminance | 0.1227 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.10
French Blue
#436BAD
ΔE00 3.90
Denim Blue
#3B5B92
ΔE00 4.47
Mid Blue
#276AB3
ΔE00 4.49
Sapphire
#0F52BA
ΔE00 4.73
Denim (survey)
#3B638C
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3160B3 #B38431
analogous
#31A1B3 #3160B3 #4331B3
triadic
#3160B3 #B33160 #60B331
tetradic
#3160B3 #B331A1 #B38431 #31B343
square
#3160B3 #B331A1 #B38431 #31B343
split-complementary
#3160B3 #B34331 #A1B331
monochromatic
#172C53 #244683 #3160B3 #527FD0 #82A3DD
Accessibility & contrast
On white
6.08
#3160B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#3160B3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3160B3
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3160B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3160B3 | 1.00 | 6.08 | 3.45 | 6.08 |
| #FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3569B6
Deuteranopia (green-blind)
#185DB1
Tritanopia (blue-blind)
#007381
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #3160b3; /* rgb */ color: rgb(49, 96, 179); /* oklch */ color: oklch(50.1% 0.142 260.8);
Tailwind
colors: {
custom: {
50: '#7a8cca',
500: '#3160b3',
950: '#000000',
},
}SCSS
$custom: #3160b3; $custom-light: #7a8cca; $custom-dark: #000000;
JSON
{
"hex": "#3160b3",
"rgb": {
"r": 49,
"g": 96,
"b": 179
},
"hsl": {
"h": 218.308,
"s": 57.018,
"l": 44.706
},
"oklch": {
"l": 0.5011,
"c": 0.14167,
"h": 260.8
},
"luminance": 0.12273
}Semantic roles & 50–950 ramp
primary
#3160B3
secondary
#C6AA7A
accent
#A948E0
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0C13
muted
#7C7D82