#2B274A color

#2B274A rgb(43, 39, 74)
Shades of blue

The hex color #2B274A is a dark, desaturated blue.

In the RGB color model it is made of 16.9% red, 15.3% green and 29% blue (43, 39, 74).

Its hue angle is 247°, with 31% saturation and 22% lightness. For print, the CMYK equivalent is 42% cyan, 47% magenta, 0% yellow and 71% black.

The closest named color is Midnight Velvet (#2A2243), a difference of 2.1 ΔE, a small difference.

White text is the more readable choice on this background (contrast 14.08:1).

#2B274A color codes

HEX#2B274A
RGBrgb(43, 39, 74)
RGB percentrgb(16.9%, 15.3%, 29%)
HSLhsl(247, 31%, 22%)
HSV / HSBhsv(247, 47%, 29%)
CMYKcmyk(42%, 47%, 0%, 71%)
CIE LABlab(17.73, 11.87, -21.18)
CIE LCHlch(17.73, 24.28, 299.27)
CIE XYZxyz(2.957, 2.459, 6.796)
Decimal2828106
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #2B274A, 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 #2B274ARatioAAAAAAA large
Sample text1.49:1FailFailFail
Sample text14.08:1PassPassPass
#2B274A as text onRatioAAAAAAA large
Sample text14.08:1PassPassPass
Sample text1.49: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 #2B274A looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #2b274a; }
.text { color: #2b274a; }
.border { border: 2px solid #2b274a; }
.transparent { background-color: rgb(43 39 74 / 50%); }
.gradient { background: linear-gradient(to right, #2b274a, #3d274a); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Purple.

Questions

What color is #2B274A?
#2B274A is a dark, desaturated blue, closest to the named color Midnight Velvet. It belongs to the blue family of colors.
What is the RGB value of #2B274A?
The RGB value is 43, 39, 74: 43 red, 39 green and 74 blue on a 0 to 255 scale.
What is the complementary color of #2B274A?
The complementary color is #464A27, found by rotating the hue 180° on the color wheel.
Is black or white text better on #2B274A?
White text. Black text has a contrast ratio of 1.49:1 and white text 14.08:1. WCAG asks for at least 4.5:1 for normal text.