#3162BB#3162BB
#3162BB is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.1% C 0.150 H 261.2°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #3162BB |
|---|---|
| RGB | rgb(49, 98, 187) |
| HSL | hsl(219, 58%, 46%) |
| HSV | hsv(219, 74%, 73%) |
| CMYK | cmyk(73.8%, 47.6%, 0%, 26.7%) |
| CIE-LAB | lab(42.72, 14.66, -51.74) |
| CIE-LCH | lch(42.72, 53.78, 285.82°) |
| OKLab | oklab(51.1% -0.023 -0.1485) |
| OKLCH | oklch(51.1% 0.15 261.2) |
| XYZ | xyz(14.6007, 12.9746, 48.7389) |
| Luminance | 0.1298 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.10
French Blue
#436BAD
ΔE00 3.52
Mid Blue
#276AB3
ΔE00 4.19
Medium Blue
#2C6FBB
ΔE00 5.26
Sapphire
#0F52BA
ΔE00 5.31
Denim (survey)
#3B638C
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3162BB #BB8A31
analogous
#31A7BB #3162BB #4531BB
triadic
#3162BB #BB3162 #62BB31
tetradic
#3162BB #BB31A7 #BB8A31 #31BB45
square
#3162BB #BB31A7 #BB8A31 #31BB45
split-complementary
#3162BB #BB4531 #A7BB31
monochromatic
#182F5A #24498B #3162BB #5683D3 #87A6E0
Accessibility & contrast
On white
5.84
#3162BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#3162BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3162BB
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3162BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3162BB | 1.00 | 5.84 | 3.60 | 5.84 |
| #FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#326CBE
Deuteranopia (green-blind)
#0A5FB9
Tritanopia (blue-blind)
#007785
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #3162bb; /* rgb */ color: rgb(49, 98, 187); /* oklch */ color: oklch(51.1% 0.150 261.2);
Tailwind
colors: {
custom: {
50: '#7b8ed0',
500: '#3162bb',
950: '#000000',
},
}SCSS
$custom: #3162bb; $custom-light: #7b8ed0; $custom-dark: #000000;
JSON
{
"hex": "#3162bb",
"rgb": {
"r": 49,
"g": 98,
"b": 187
},
"hsl": {
"h": 218.696,
"s": 58.475,
"l": 46.275
},
"oklch": {
"l": 0.51104,
"c": 0.15025,
"h": 261.2
},
"luminance": 0.12976
}Semantic roles & 50–950 ramp
primary
#3162BB
secondary
#C9AF7F
accent
#AA46E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82