#152836 color
The hex color #152836 is a very dark, desaturated azure.
In the RGB color model it is made of 8.2% red, 15.7% green and 21.2% blue (21, 40, 54).
Its hue angle is 205°, with 44% saturation and 15% lightness. For print, the CMYK equivalent is 61% cyan, 26% magenta, 0% yellow and 79% black.
The closest named color is Oceanic Noir (#172B36), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.12:1).
#152836 color codes
| HEX | #152836 | |
|---|---|---|
| RGB | rgb(21, 40, 54) | |
| RGB percent | rgb(8.2%, 15.7%, 21.2%) | |
| HSL | hsl(205, 44%, 15%) | |
| HSV / HSB | hsv(205, 61%, 21%) | |
| CMYK | cmyk(61%, 26%, 0%, 79%) | |
| CIE LAB | lab(15.19, -2.81, -11.43) | |
| CIE LCH | lch(15.19, 11.77, 256.21) | |
| CIE XYZ | xyz(1.734, 1.943, 3.773) | |
| Decimal | 1386550 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #152836, 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 #152836 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.39:1 | Fail | Fail | Fail |
| Sample text | 15.12:1 | Pass | Pass | Pass |
| #152836 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.12:1 | Pass | Pass | Pass |
| Sample text | 1.39: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 #152836 looks to people with the most common types of color vision deficiency.
#222837Protanopia
no red cones#1d2536Deuteranopia
no green cones#042b2dTritanopia
no blue cones#262626Achromatopsia
no color vision
CSS examples
.background { background-color: #152836; }
.text { color: #152836; }
.border { border: 2px solid #152836; }
.transparent { background-color: rgb(21 40 54 / 50%); }
.gradient { background: linear-gradient(to right, #152836, #151736); }
Similar colors
#172b36Oceanic Noir#002233Midnight Dreams#102030The Count’s Black#1e3442Blue Whale#1b2431Dark#222831Infinity#001b2eOxford by Night#1e272cBlack Pearl
Closest common color name: Gunmetal.
Questions
- What color is #152836?
- #152836 is a very dark, desaturated azure, closest to the named color Oceanic Noir. It belongs to the black family of colors.
- What is the RGB value of #152836?
- The RGB value is 21, 40, 54: 21 red, 40 green and 54 blue on a 0 to 255 scale.
- What is the complementary color of #152836?
- The complementary color is #362315, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #152836?
- White text. Black text has a contrast ratio of 1.39:1 and white text 15.12:1. WCAG asks for at least 4.5:1 for normal text.