#151D48 color
The hex color #151D48 is a very dark, moderate blue.
In the RGB color model it is made of 8.2% red, 11.4% green and 28.2% blue (21, 29, 72).
Its hue angle is 231°, with 55% saturation and 18% lightness. For print, the CMYK equivalent is 71% cyan, 60% magenta, 0% yellow and 72% black.
The closest named color is Fly-by-Night (#1C1E4D), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 16.14:1).
#151D48 color codes
| HEX | #151D48 | |
|---|---|---|
| RGB | rgb(21, 29, 72) | |
| RGB percent | rgb(8.2%, 11.4%, 28.2%) | |
| HSL | hsl(231, 55%, 18%) | |
| HSV / HSB | hsv(231, 71%, 28%) | |
| CMYK | cmyk(71%, 60%, 0%, 72%) | |
| CIE LAB | lab(12.65, 12.65, -28.05) | |
| CIE LCH | lch(12.65, 30.77, 294.28) | |
| CIE XYZ | xyz(1.918, 1.506, 6.319) | |
| Decimal | 1383752 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #151D48, 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 #151D48 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.3:1 | Fail | Fail | Fail |
| Sample text | 16.14:1 | Pass | Pass | Pass |
| #151D48 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.14:1 | Pass | Pass | Pass |
| Sample text | 1.3: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 #151D48 looks to people with the most common types of color vision deficiency.
#03234aProtanopia
no red cones#001f47Deuteranopia
no green cones#00272fTritanopia
no blue cones#212121Achromatopsia
no color vision
CSS examples
.background { background-color: #151d48; }
.text { color: #151d48; }
.border { border: 2px solid #151d48; }
.transparent { background-color: rgb(21 29 72 / 50%); }
.gradient { background: linear-gradient(to right, #151d48, #271548); }
Similar colors
#1c1e4dFly-by-Night#211d49Azulado#112255Dark Soul#222255Spacescape#112358Fibonacci Blue#231c4dSilent Orbit#112244Dark Eclipse#222244Black Market
Closest common color name: Oxford Blue.
Questions
- What color is #151D48?
- #151D48 is a very dark, moderate blue, closest to the named color Fly-by-Night. It belongs to the blue family of colors.
- What is the RGB value of #151D48?
- The RGB value is 21, 29, 72: 21 red, 29 green and 72 blue on a 0 to 255 scale.
- What is the complementary color of #151D48?
- The complementary color is #484015, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #151D48?
- White text. Black text has a contrast ratio of 1.3:1 and white text 16.14:1. WCAG asks for at least 4.5:1 for normal text.