#272E41 color

#272E41 rgb(39, 46, 65)
Shades of blue

The hex color #272E41 is a dark, grayish blue.

In the RGB color model it is made of 15.3% red, 18% green and 25.5% blue (39, 46, 65).

Its hue angle is 224°, with 25% saturation and 20% lightness. For print, the CMYK equivalent is 40% cyan, 29% magenta, 0% yellow and 75% black.

The closest named color is Midnight Express (#21263A), a difference of 2.8 ΔE, a small difference.

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

#272E41 color codes

HEX#272E41
RGBrgb(39, 46, 65)
RGB percentrgb(15.3%, 18%, 25.5%)
HSLhsl(224, 25%, 20%)
HSV / HSBhsv(224, 40%, 25%)
CMYKcmyk(40%, 29%, 0%, 75%)
CIE LABlab(19.08, 2.6, -12.94)
CIE LCHlch(19.08, 13.19, 281.34)
CIE XYZxyz(2.768, 2.767, 5.388)
Decimal2567745
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #272E41, 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 #272E41RatioAAAAAAA large
Sample text1.55:1FailFailFail
Sample text13.52:1PassPassPass
#272E41 as text onRatioAAAAAAA large
Sample text13.52:1PassPassPass
Sample text1.55: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 #272E41 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #272e41; }
.text { color: #272e41; }
.border { border: 2px solid #272e41; }
.transparent { background-color: rgb(39 46 65 / 50%); }
.gradient { background: linear-gradient(to right, #272e41, #2d2741); }
Background
Text color
Border

Similar colors

Closest common color name: Oxford Blue.

Questions

What color is #272E41?
#272E41 is a dark, grayish blue, closest to the named color Midnight Express. It belongs to the blue family of colors.
What is the RGB value of #272E41?
The RGB value is 39, 46, 65: 39 red, 46 green and 65 blue on a 0 to 255 scale.
What is the complementary color of #272E41?
The complementary color is #413A27, found by rotating the hue 180° on the color wheel.
Is black or white text better on #272E41?
White text. Black text has a contrast ratio of 1.55:1 and white text 13.52:1. WCAG asks for at least 4.5:1 for normal text.