#2B15B2 color

#2B15B2 rgb(43, 21, 178)
Shades of blue

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
RGBrgb(43, 21, 178)
RGB percentrgb(16.9%, 8.2%, 69.8%)
HSLhsl(248, 79%, 39%)
HSV / HSBhsv(248, 88%, 70%)
CMYKcmyk(76%, 88%, 0%, 30%)
CIE LABlab(24.52, 55.71, -76.23)
CIE LCHlch(24.52, 94.42, 306.16)
CIE XYZxyz(9.298, 4.263, 42.444)
Decimal2823602
Short hexNone (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 #2B15B2RatioAAAAAAA large
Sample text1.85:1FailFailFail
Sample text11.33:1PassPassPass
#2B15B2 as text onRatioAAAAAAA large
Sample text11.33:1PassPassPass
Sample text1.85:1FailFailFail

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.

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); }
Background
Text color
Border

Similar colors

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.