#27313A color

#27313A rgb(39, 49, 58)
Shades of black

The hex color #27313A is a very dark, grayish azure.

In the RGB color model it is made of 15.3% red, 19.2% green and 22.7% blue (39, 49, 58).

Its hue angle is 208°, with 20% saturation and 19% lightness. For print, the CMYK equivalent is 33% cyan, 16% magenta, 0% yellow and 77% black.

The closest named color is Gunmetal (#2A3439), a difference of 2.7 ΔE, a small difference.

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

#27313A color codes

HEX#27313A
RGBrgb(39, 49, 58)
RGB percentrgb(15.3%, 19.2%, 22.7%)
HSLhsl(208, 20%, 19%)
HSV / HSBhsv(208, 33%, 23%)
CMYKcmyk(33%, 16%, 0%, 77%)
CIE LABlab(19.77, -1.67, -7.09)
CIE LCHlch(19.77, 7.28, 256.75)
CIE XYZxyz(2.699, 2.933, 4.426)
Decimal2568506
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #27313a; }
.text { color: #27313a; }
.border { border: 2px solid #27313a; }
.transparent { background-color: rgb(39 49 58 / 50%); }
.gradient { background: linear-gradient(to right, #27313a, #27283a); }
Background
Text color
Border

Similar colors

Questions

What color is #27313A?
#27313A is a very dark, grayish azure, closest to the named color Gunmetal. It belongs to the black family of colors.
What is the RGB value of #27313A?
The RGB value is 39, 49, 58: 39 red, 49 green and 58 blue on a 0 to 255 scale.
What is the complementary color of #27313A?
The complementary color is #3A3027, found by rotating the hue 180° on the color wheel.
Is black or white text better on #27313A?
White text. Black text has a contrast ratio of 1.59:1 and white text 13.24:1. WCAG asks for at least 4.5:1 for normal text.