#2B15B2 color
The hex color #2B15B2 is a moderate blue.
In the RGB color model it is made of 16.9% red, 8.2% green and 69.8% blue (43, 21, 178).
Its hue angle is 248°, with 79% saturation and 39% lightness. For print, the CMYK equivalent is 76% cyan, 88% magenta, 0% yellow and 30% black.
The closest named color is Galactic Highway (#3311BB), a difference of 1.4 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11.33:1).
#2B15B2 color codes
| HEX | #2B15B2 | |
|---|---|---|
| RGB | rgb(43, 21, 178) | |
| RGB percent | rgb(16.9%, 8.2%, 69.8%) | |
| HSL | hsl(248, 79%, 39%) | |
| HSV / HSB | hsv(248, 88%, 70%) | |
| CMYK | cmyk(76%, 88%, 0%, 30%) | |
| CIE LAB | lab(24.52, 55.71, -76.23) | |
| CIE LCH | lch(24.52, 94.42, 306.16) | |
| CIE XYZ | xyz(9.298, 4.263, 42.444) | |
| Decimal | 2823602 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2B15B2, 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 #2B15B2 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.85:1 | Fail | Fail | Fail |
| Sample text | 11.33:1 | Pass | Pass | Pass |
| #2B15B2 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.33:1 | Pass | Pass | Pass |
| Sample text | 1.85: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 #2B15B2 looks to people with the most common types of color vision deficiency.
#0041b6Protanopia
no red cones#0033afDeuteranopia
no green cones#004b69Tritanopia
no blue cones#3a3a3aAchromatopsia
no color vision
CSS examples
.background { background-color: #2b15b2; }
.text { color: #2b15b2; }
.border { border: 2px solid #2b15b2; }
.transparent { background-color: rgb(43 21 178 / 50%); }
.gradient { background: linear-gradient(to right, #2b15b2, #7a15b2); }
Similar colors
#3311bbGalactic Highway#0011bbToo Dark Tonight#0018a8Dark Galaxy#2425b9Sapphire Splendour#010fccTrue Blue#030aa7Cobalt#0000cdMedium Blue#3300ccBusty Blue
Questions
- What color is #2B15B2?
- #2B15B2 is a moderate blue, closest to the named color Galactic Highway. It belongs to the blue family of colors.
- What is the RGB value of #2B15B2?
- The RGB value is 43, 21, 178: 43 red, 21 green and 178 blue on a 0 to 255 scale.
- What is the complementary color of #2B15B2?
- The complementary color is #9CB215, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2B15B2?
- White text. Black text has a contrast ratio of 1.85:1 and white text 11.33:1. WCAG asks for at least 4.5:1 for normal text.