#152A4E color
The hex color #152A4E is a very dark, moderate azure.
In the RGB color model it is made of 8.2% red, 16.5% green and 30.6% blue (21, 42, 78).
Its hue angle is 218°, with 58% saturation and 19% lightness. For print, the CMYK equivalent is 73% cyan, 46% magenta, 0% yellow and 69% black.
The closest named color is Space Cadet (#1D2951), a difference of 2.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 14.26:1).
#152A4E color codes
| HEX | #152A4E | |
|---|---|---|
| RGB | rgb(21, 42, 78) | |
| RGB percent | rgb(8.2%, 16.5%, 30.6%) | |
| HSL | hsl(218, 58%, 19%) | |
| HSV / HSB | hsv(218, 73%, 31%) | |
| CMYK | cmyk(73%, 46%, 0%, 69%) | |
| CIE LAB | lab(17.3, 5.41, -24.69) | |
| CIE LCH | lch(17.3, 25.27, 282.36) | |
| CIE XYZ | xyz(2.512, 2.365, 7.53) | |
| Decimal | 1387086 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #152A4E, 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 #152A4E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.47:1 | Fail | Fail | Fail |
| Sample text | 14.26:1 | Pass | Pass | Pass |
| #152A4E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.26:1 | Pass | Pass | Pass |
| Sample text | 1.47: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 #152A4E looks to people with the most common types of color vision deficiency.
#192d4fProtanopia
no red cones#10284dDeuteranopia
no green cones#003238Tritanopia
no blue cones#2b2b2bAchromatopsia
no color vision
CSS examples
.background { background-color: #152a4e; }
.text { color: #152a4e; }
.border { border: 2px solid #152a4e; }
.transparent { background-color: rgb(21 42 78 / 50%); }
.gradient { background: linear-gradient(to right, #152a4e, #1c154e); }
Similar colors
#1d2951Space Cadet#112244Dark Eclipse#0f2d4dMidnight Ocean#002147Oxford Blue#012253Subnautical#1c2841Eternal Darkness#042e60Marine#001f3fMidnight Mirage
Questions
- What color is #152A4E?
- #152A4E is a very dark, moderate azure, closest to the named color Space Cadet. It belongs to the blue family of colors.
- What is the RGB value of #152A4E?
- The RGB value is 21, 42, 78: 21 red, 42 green and 78 blue on a 0 to 255 scale.
- What is the complementary color of #152A4E?
- The complementary color is #4E3915, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #152A4E?
- White text. Black text has a contrast ratio of 1.47:1 and white text 14.26:1. WCAG asks for at least 4.5:1 for normal text.