#3162BA#3162BA
#3162BA is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.0% C 0.149 H 261.0°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #3162BA |
|---|---|
| RGB | rgb(49, 98, 186) |
| HSL | hsl(219, 58%, 46%) |
| HSV | hsv(219, 74%, 73%) |
| CMYK | cmyk(73.7%, 47.3%, 0%, 27.1%) |
| CIE-LAB | lab(42.66, 14.28, -51.26) |
| CIE-LCH | lch(42.66, 53.22, 285.57°) |
| OKLab | oklab(51.03% -0.0232 -0.1471) |
| OKLCH | oklch(51.03% 0.149 261) |
| XYZ | xyz(14.4940, 12.9319, 48.1771) |
| Luminance | 0.1293 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.05
French Blue
#436BAD
ΔE00 3.48
Mid Blue
#276AB3
ΔE00 4.13
Medium Blue
#2C6FBB
ΔE00 5.23
Sapphire
#0F52BA
ΔE00 5.31
Denim (survey)
#3B638C
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3162BA #BA8931
analogous
#31A6BA #3162BA #4431BA
triadic
#3162BA #BA3162 #62BA31
tetradic
#3162BA #BA31A6 #BA8931 #31BA44
square
#3162BA #BA31A6 #BA8931 #31BA44
split-complementary
#3162BA #BA4431 #A6BA31
monochromatic
#172F59 #24488A #3162BA #5682D2 #86A6DF
Accessibility & contrast
On white
5.85
#3162BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#3162BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3162BA
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3162BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3162BA | 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)
#336BBD
Deuteranopia (green-blind)
#0E5FB8
Tritanopia (blue-blind)
#007785
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #3162ba; /* rgb */ color: rgb(49, 98, 186); /* oklch */ color: oklch(51.0% 0.149 261.0);
Tailwind
colors: {
custom: {
50: '#7b8ecf',
500: '#3162ba',
950: '#000000',
},
}SCSS
$custom: #3162ba; $custom-light: #7b8ecf; $custom-dark: #000000;
JSON
{
"hex": "#3162ba",
"rgb": {
"r": 49,
"g": 98,
"b": 186
},
"hsl": {
"h": 218.54,
"s": 58.298,
"l": 46.078
},
"oklch": {
"l": 0.51034,
"c": 0.14888,
"h": 261
},
"luminance": 0.12934
}Semantic roles & 50–950 ramp
primary
#3162BA
secondary
#C9AE7E
accent
#AA46E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82