#171B6B color

#171B6B rgb(23, 27, 107)
Shades of blue

The hex color #171B6B is a dark, moderate blue.

In the RGB color model it is made of 9% red, 10.6% green and 42% blue (23, 27, 107).

Its hue angle is 237°, with 65% saturation and 25% lightness. For print, the CMYK equivalent is 79% cyan, 75% magenta, 0% yellow and 58% black.

The closest named color is Midnight Blue (#191970), a difference of 1.3 ΔE, which is barely visible.

White text is the more readable choice on this background (contrast 14.94:1).

#171B6B color codes

HEX#171B6B
RGBrgb(23, 27, 107)
RGB percentrgb(9%, 10.6%, 42%)
HSLhsl(237, 65%, 25%)
HSV / HSBhsv(237, 79%, 42%)
CMYKcmyk(79%, 75%, 0%, 58%)
CIE LABlab(15.63, 28.38, -46.7)
CIE LCHlch(15.63, 54.65, 301.29)
CIE XYZxyz(3.398, 2.027, 14.119)
Decimal1514347
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #171B6B, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #171B6BRatioAAAAAAA large
Sample text1.41:1FailFailFail
Sample text14.94:1PassPassPass
#171B6B as text onRatioAAAAAAA large
Sample text14.94:1PassPassPass
Sample text1.41:1FailFailFail

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #171B6B looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #171b6b; }
.text { color: #171b6b; }
.border { border: 2px solid #171b6b; }
.transparent { background-color: rgb(23 27 107 / 50%); }
.gradient { background: linear-gradient(to right, #171b6b, #3d176b); }
Background
Text color
Border

Similar colors

Questions

What color is #171B6B?
#171B6B is a dark, moderate blue, closest to the named color Midnight Blue. It belongs to the blue family of colors.
What is the RGB value of #171B6B?
The RGB value is 23, 27, 107: 23 red, 27 green and 107 blue on a 0 to 255 scale.
What is the complementary color of #171B6B?
The complementary color is #6B6717, found by rotating the hue 180° on the color wheel.
Is black or white text better on #171B6B?
White text. Black text has a contrast ratio of 1.41:1 and white text 14.94:1. WCAG asks for at least 4.5:1 for normal text.