#3162BC#3162BC
#3162BC is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.2% C 0.152 H 261.3°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #3162BC |
|---|---|
| RGB | rgb(49, 98, 188) |
| HSL | hsl(219, 59%, 46%) |
| HSV | hsv(219, 74%, 74%) |
| CMYK | cmyk(73.9%, 47.9%, 0%, 26.3%) |
| CIE-LAB | lab(42.79, 15.03, -52.22) |
| CIE-LCH | lch(42.79, 54.34, 286.06°) |
| OKLab | oklab(51.17% -0.0229 -0.1499) |
| OKLCH | oklch(51.17% 0.152 261.3) |
| XYZ | xyz(14.7081, 13.0176, 49.3047) |
| Luminance | 0.1302 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.15
French Blue
#436BAD
ΔE00 3.56
Mid Blue
#276AB3
ΔE00 4.26
Medium Blue
#2C6FBB
ΔE00 5.29
Sapphire
#0F52BA
ΔE00 5.32
Denim (survey)
#3B638C
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3162BC #BC8B31
analogous
#31A8BC #3162BC #4631BC
triadic
#3162BC #BC3162 #62BC31
tetradic
#3162BC #BC31A8 #BC8B31 #31BC46
square
#3162BC #BC31A8 #BC8B31 #31BC46
split-complementary
#3162BC #BC4631 #A8BC31
monochromatic
#182F5B #24498B #3162BC #5783D3 #88A7E0
Accessibility & contrast
On white
5.83
#3162BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#3162BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3162BC
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3162BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3162BC | 1.00 | 5.83 | 3.60 | 5.83 |
| #FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#316CBF
Deuteranopia (green-blind)
#065FBA
Tritanopia (blue-blind)
#007786
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #3162bc; /* rgb */ color: rgb(49, 98, 188); /* oklch */ color: oklch(51.2% 0.152 261.3);
Tailwind
colors: {
custom: {
50: '#7c8ed1',
500: '#3162bc',
950: '#000000',
},
}SCSS
$custom: #3162bc; $custom-light: #7c8ed1; $custom-dark: #000000;
JSON
{
"hex": "#3162bc",
"rgb": {
"r": 49,
"g": 98,
"b": 188
},
"hsl": {
"h": 218.849,
"s": 58.65,
"l": 46.471
},
"oklch": {
"l": 0.51174,
"c": 0.15162,
"h": 261.3
},
"luminance": 0.13019
}Semantic roles & 50–950 ramp
primary
#3162BC
secondary
#CAAF7F
accent
#AB46E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82