#20186F color

#20186F rgb(32, 24, 111)
Shades of blue

The hex color #20186F is a dark, moderate blue.

In the RGB color model it is made of 12.5% red, 9.4% green and 43.5% blue (32, 24, 111).

Its hue angle is 246°, with 64% saturation and 26% lightness. For print, the CMYK equivalent is 71% cyan, 78% magenta, 0% yellow and 56% black.

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

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

#20186F color codes

HEX#20186F
RGBrgb(32, 24, 111)
RGB percentrgb(12.5%, 9.4%, 43.5%)
HSLhsl(246, 64%, 26%)
HSV / HSBhsv(246, 78%, 44%)
CMYKcmyk(71%, 78%, 0%, 56%)
CIE LABlab(16.04, 32.71, -48.6)
CIE LCHlch(16.04, 58.59, 303.94)
CIE XYZxyz(3.791, 2.108, 15.243)
Decimal2103407
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #20186F, 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 #20186FRatioAAAAAAA large
Sample text1.42:1FailFailFail
Sample text14.77:1PassPassPass
#20186F as text onRatioAAAAAAA large
Sample text14.77:1PassPassPass
Sample text1.42: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 #20186F looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #20186f; }
.text { color: #20186f; }
.border { border: 2px solid #20186f; }
.transparent { background-color: rgb(32 24 111 / 50%); }
.gradient { background: linear-gradient(to right, #20186f, #4b186f); }
Background
Text color
Border

Similar colors

Questions

What color is #20186F?
#20186F 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 #20186F?
The RGB value is 32, 24, 111: 32 red, 24 green and 111 blue on a 0 to 255 scale.
What is the complementary color of #20186F?
The complementary color is #676F18, found by rotating the hue 180° on the color wheel.
Is black or white text better on #20186F?
White text. Black text has a contrast ratio of 1.42:1 and white text 14.77:1. WCAG asks for at least 4.5:1 for normal text.