#3162BF#3162BF
#3162BF is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.4% C 0.156 H 261.7°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #3162BF |
|---|---|
| RGB | rgb(49, 98, 191) |
| HSL | hsl(219, 59%, 47%) |
| HSV | hsv(219, 74%, 75%) |
| CMYK | cmyk(74.3%, 48.7%, 0%, 25.1%) |
| CIE-LAB | lab(42.99, 16.16, -53.65) |
| CIE-LCH | lch(42.99, 56.03, 286.76°) |
| OKLab | oklab(51.39% -0.0224 -0.1541) |
| OKLCH | oklch(51.39% 0.156 261.7) |
| XYZ | xyz(15.0349, 13.1483, 51.0256) |
| Luminance | 0.1315 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.35
French Blue
#436BAD
ΔE00 3.71
Mid Blue
#276AB3
ΔE00 4.47
Sapphire
#0F52BA
ΔE00 5.35
Medium Blue
#2C6FBB
ΔE00 5.39
Royal Blue
#4169E1
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3162BF #BF8E31
analogous
#31A9BF #3162BF #4731BF
triadic
#3162BF #BF3162 #62BF31
tetradic
#3162BF #BF31A9 #BF8E31 #31BF47
square
#3162BF #BF31A9 #BF8E31 #31BF47
split-complementary
#3162BF #BF4731 #A9BF31
monochromatic
#18305E #25498E #3162BF #5983D4 #8AA8E1
Accessibility & contrast
On white
5.79
#3162BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#3162BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3162BF
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3162BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3162BF | 1.00 | 5.79 | 3.63 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D6CC2
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#007887
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #3162bf; /* rgb */ color: rgb(49, 98, 191); /* oklch */ color: oklch(51.4% 0.156 261.7);
Tailwind
colors: {
custom: {
50: '#7c8ed3',
500: '#3162bf',
950: '#000000',
},
}SCSS
$custom: #3162bf; $custom-light: #7c8ed3; $custom-dark: #000000;
JSON
{
"hex": "#3162bf",
"rgb": {
"r": 49,
"g": 98,
"b": 191
},
"hsl": {
"h": 219.296,
"s": 59.167,
"l": 47.059
},
"oklch": {
"l": 0.51388,
"c": 0.15571,
"h": 261.7
},
"luminance": 0.1315
}Semantic roles & 50–950 ramp
primary
#3162BF
secondary
#CBB181
accent
#AC45E2
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83