#152EB9 color
The hex color #152EB9 is a moderate blue.
In the RGB color model it is made of 8.2% red, 18% green and 72.5% blue (21, 46, 185).
Its hue angle is 231°, with 80% saturation and 40% lightness. For print, the CMYK equivalent is 89% cyan, 75% magenta, 0% yellow and 27% black.
The closest named color is Sapphire Splendour (#2425B9), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.89:1).
#152EB9 color codes
| HEX | #152EB9 | |
|---|---|---|
| RGB | rgb(21, 46, 185) | |
| RGB percent | rgb(8.2%, 18%, 72.5%) | |
| HSL | hsl(231, 80%, 40%) | |
| HSV / HSB | hsv(231, 89%, 73%) | |
| CMYK | cmyk(89%, 75%, 0%, 27%) | |
| CIE LAB | lab(28.42, 44.9, -73.97) | |
| CIE LCH | lch(28.42, 86.53, 301.26) | |
| CIE XYZ | xyz(10.04, 5.615, 46.444) | |
| Decimal | 1388217 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #152EB9, 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 #152EB9 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.12:1 | Fail | Fail | Fail |
| Sample text | 9.89:1 | Pass | Pass | Pass |
| #152EB9 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.89:1 | Pass | Pass | Pass |
| Sample text | 2.12: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 #152EB9 looks to people with the most common types of color vision deficiency.
#004bbdProtanopia
no red cones#003bb7Deuteranopia
no green cones#005871Tritanopia
no blue cones#434343Achromatopsia
no color vision
CSS examples
.background { background-color: #152eb9; }
.text { color: #152eb9; }
.border { border: 2px solid #152eb9; }
.transparent { background-color: rgb(21 46 185 / 50%); }
.gradient { background: linear-gradient(to right, #152eb9, #4e15b9); }
Similar colors
#2425b9Sapphire Splendour#0033ccSapphire Glitter#1c39bbPersian Blue#002fa6International Klein Blue#0034abBlue Hour#1034a6Egyptian Blue#1f22d2Lapis on Neptune#2c319bDepths of Night
Questions
- What color is #152EB9?
- #152EB9 is a moderate blue, closest to the named color Sapphire Splendour. It belongs to the blue family of colors.
- What is the RGB value of #152EB9?
- The RGB value is 21, 46, 185: 21 red, 46 green and 185 blue on a 0 to 255 scale.
- What is the complementary color of #152EB9?
- The complementary color is #B9A015, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #152EB9?
- White text. Black text has a contrast ratio of 2.12:1 and white text 9.89:1. WCAG asks for at least 4.5:1 for normal text.