#161D75
A dark, moderate blue closely aligning with Midnightblue.
About #161D75
The hex code #161D75 represents a beautifully specific shade of blue. It is closely associated with the named CSS color Midnightblue. To achieve this exact tint on a monitor, you would use an RGB mix of 22, 29, and 117.
When sending designs containing this color to a printer, the CMYK values come into play. Its ink density profile breaks down to 81% cyan, 75% magenta, 0% yellow, and 54% black. With a hue angle of 235.6 degrees, it sits comfortably in the blue spectrum.
When using this color as a background, text legibility must be considered. To prevent eye strain, #FFFFFF text pairs best with this hex code. You can view the detailed AAA and AA pass/fail metrics in the table below.
Color Space Conversions
HEX#161D75
RGB22, 29, 117
HSL235.6°, 68.3%, 27.3%
CMYK81%, 75%, 0%, 54%
HSV235.6°, 81.2%, 45.9%
LAB17.1, 30.8, -50.7
XYZ4.0, 2.3, 17.1
Decimal1449333
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
14.32:1
Text on #FFFFFF
AAA
1.47:1
Text on #000000
FAIL
13.68:1
Text on #F8FAFC
AAA
1.25:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #161D75;
}
.text-color {
color: #161D75;
}
.border-color {
border: 2px solid #161D75;
}