#2B2F42 color

#2B2F42 rgb(43, 47, 66)
Shades of blue

The hex color #2B2F42 is a dark, grayish blue.

In the RGB color model it is made of 16.9% red, 18.4% green and 25.9% blue (43, 47, 66).

Its hue angle is 230°, with 21% saturation and 21% lightness. For print, the CMYK equivalent is 35% cyan, 29% magenta, 0% yellow and 74% black.

The closest named color is Shuriken (#333344), a difference of 2.4 ΔE, a small difference.

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

#2B2F42 color codes

HEX#2B2F42
RGBrgb(43, 47, 66)
RGB percentrgb(16.9%, 18.4%, 25.9%)
HSLhsl(230, 21%, 21%)
HSV / HSBhsv(230, 35%, 26%)
CMYKcmyk(35%, 29%, 0%, 74%)
CIE LABlab(19.8, 3.63, -12.49)
CIE LCHlch(19.8, 13, 286.19)
CIE XYZxyz(2.996, 2.94, 5.563)
Decimal2830146
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #2B2F42, 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 #2B2F42RatioAAAAAAA large
Sample text1.59:1FailFailFail
Sample text13.22:1PassPassPass
#2B2F42 as text onRatioAAAAAAA large
Sample text13.22:1PassPassPass
Sample text1.59: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 #2B2F42 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #2b2f42; }
.text { color: #2b2f42; }
.border { border: 2px solid #2b2f42; }
.transparent { background-color: rgb(43 47 66 / 50%); }
.gradient { background: linear-gradient(to right, #2b2f42, #332b42); }
Background
Text color
Border

Similar colors

Closest common color name: Oxford Blue.

Questions

What color is #2B2F42?
#2B2F42 is a dark, grayish blue, closest to the named color Shuriken. It belongs to the blue family of colors.
What is the RGB value of #2B2F42?
The RGB value is 43, 47, 66: 43 red, 47 green and 66 blue on a 0 to 255 scale.
What is the complementary color of #2B2F42?
The complementary color is #423E2B, found by rotating the hue 180° on the color wheel.
Is black or white text better on #2B2F42?
White text. Black text has a contrast ratio of 1.59:1 and white text 13.22:1. WCAG asks for at least 4.5:1 for normal text.