#203151 color
The hex color #203151 is a dark, desaturated azure.
In the RGB color model it is made of 12.5% red, 19.2% green and 31.8% blue (32, 49, 81).
Its hue angle is 219°, with 43% saturation and 22% lightness. For print, the CMYK equivalent is 60% cyan, 40% magenta, 0% yellow and 68% black.
The closest named color is Midnight Escapade (#2B3458), a difference of 3.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.97:1).
#203151 color codes
| HEX | #203151 | |
|---|---|---|
| RGB | rgb(32, 49, 81) | |
| RGB percent | rgb(12.5%, 19.2%, 31.8%) | |
| HSL | hsl(219, 43%, 22%) | |
| HSV / HSB | hsv(219, 60%, 32%) | |
| CMYK | cmyk(60%, 40%, 0%, 68%) | |
| CIE LAB | lab(20.43, 4.06, -21.69) | |
| CIE LCH | lch(20.43, 22.07, 280.61) | |
| CIE XYZ | xyz(3.179, 3.098, 8.213) | |
| Decimal | 2109777 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #203151, 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 #203151 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.62:1 | Fail | Fail | Fail |
| Sample text | 12.97:1 | Pass | Pass | Pass |
| #203151 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.97:1 | Pass | Pass | Pass |
| Sample text | 1.62:1 | Fail | Fail | Fail |
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 #203151 looks to people with the most common types of color vision deficiency.
#243452Protanopia
no red cones#1e2f50Deuteranopia
no green cones#04383dTritanopia
no blue cones#313131Achromatopsia
no color vision
CSS examples
.background { background-color: #203151; }
.text { color: #203151; }
.border { border: 2px solid #203151; }
.transparent { background-color: rgb(32 49 81 / 50%); }
.gradient { background: linear-gradient(to right, #203151, #272051); }
Similar colors
#2b3458Midnight Escapade#2e3858Mediaeval Blue#0f2d4dMidnight Ocean#1c2841Eternal Darkness#1d2951Space Cadet#273c5aNautilus#112244Dark Eclipse#0a3251Beyond the Stars
Closest common color name: Prussian Blue.
Questions
- What color is #203151?
- #203151 is a dark, desaturated azure, closest to the named color Midnight Escapade. It belongs to the blue family of colors.
- What is the RGB value of #203151?
- The RGB value is 32, 49, 81: 32 red, 49 green and 81 blue on a 0 to 255 scale.
- What is the complementary color of #203151?
- The complementary color is #514020, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #203151?
- White text. Black text has a contrast ratio of 1.62:1 and white text 12.97:1. WCAG asks for at least 4.5:1 for normal text.