#151045 color
The hex color #151045 is a very dark, moderate blue.
In the RGB color model it is made of 8.2% red, 6.3% green and 27.1% blue (21, 16, 69).
Its hue angle is 246°, with 62% saturation and 17% lightness. For print, the CMYK equivalent is 70% cyan, 77% magenta, 0% yellow and 73% black.
The closest named color is Deadly Depths (#111144), a difference of 1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 17.62:1).
#151045 color codes
| HEX | #151045 | |
|---|---|---|
| RGB | rgb(21, 16, 69) | |
| RGB percent | rgb(8.2%, 6.3%, 27.1%) | |
| HSL | hsl(246, 62%, 17%) | |
| HSV / HSB | hsv(246, 77%, 27%) | |
| CMYK | cmyk(70%, 77%, 0%, 73%) | |
| CIE LAB | lab(8.65, 21.04, -32.46) | |
| CIE LCH | lch(8.65, 38.68, 302.96) | |
| CIE XYZ | xyz(1.568, 0.96, 5.732) | |
| Decimal | 1380421 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #151045, 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 #151045 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.19:1 | Fail | Fail | Fail |
| Sample text | 17.62:1 | Pass | Pass | Pass |
| #151045 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.62:1 | Pass | Pass | Pass |
| Sample text | 1.19: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 #151045 looks to people with the most common types of color vision deficiency.
#001b47Protanopia
no red cones#001744Deuteranopia
no green cones#001e29Tritanopia
no blue cones#191919Achromatopsia
no color vision
CSS examples
.background { background-color: #151045; }
.text { color: #151045; }
.border { border: 2px solid #151045; }
.transparent { background-color: rgb(21 16 69 / 50%); }
.gradient { background: linear-gradient(to right, #151045, #301045); }
Similar colors
#111144Deadly Depths#000b44Storm#0f084bSilent Twilight#231c4dSilent Orbit#160435Quiet Abyss#000044Endless Galaxy#211d49Azulado#001155Interstellar Blue
Closest common color name: Midnight Blue.
Questions
- What color is #151045?
- #151045 is a very dark, moderate blue, closest to the named color Deadly Depths. It belongs to the black family of colors.
- What is the RGB value of #151045?
- The RGB value is 21, 16, 69: 21 red, 16 green and 69 blue on a 0 to 255 scale.
- What is the complementary color of #151045?
- The complementary color is #404510, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #151045?
- White text. Black text has a contrast ratio of 1.19:1 and white text 17.62:1. WCAG asks for at least 4.5:1 for normal text.