#34314D color

#34314D rgb(52, 49, 77)
Shades of blue

The hex color #34314D is a dark, grayish blue.

In the RGB color model it is made of 20.4% red, 19.2% green and 30.2% blue (52, 49, 77).

Its hue angle is 246°, with 22% saturation and 25% lightness. For print, the CMYK equivalent is 32% cyan, 36% magenta, 0% yellow and 70% black.

The closest named color is Midnight Masquerade (#2C2E47), a difference of 2.8 ΔE, a small difference.

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

#34314D color codes

HEX#34314D
RGBrgb(52, 49, 77)
RGB percentrgb(20.4%, 19.2%, 30.2%)
HSLhsl(246, 22%, 25%)
HSV / HSBhsv(246, 36%, 30%)
CMYKcmyk(32%, 36%, 0%, 70%)
CIE LABlab(21.81, 8.8, -16.74)
CIE LCHlch(21.81, 18.92, 297.74)
CIE XYZxyz(3.854, 3.462, 7.485)
Decimal3420493
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #34314D, 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 #34314DRatioAAAAAAA large
Sample text1.69:1FailFailFail
Sample text12.41:1PassPassPass
#34314D as text onRatioAAAAAAA large
Sample text12.41:1PassPassPass
Sample text1.69: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 #34314D looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #34314d; }
.text { color: #34314d; }
.border { border: 2px solid #34314d; }
.transparent { background-color: rgb(52 49 77 / 50%); }
.gradient { background: linear-gradient(to right, #34314d, #42314d); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Purple.

Questions

What color is #34314D?
#34314D is a dark, grayish blue, closest to the named color Midnight Masquerade. It belongs to the blue family of colors.
What is the RGB value of #34314D?
The RGB value is 52, 49, 77: 52 red, 49 green and 77 blue on a 0 to 255 scale.
What is the complementary color of #34314D?
The complementary color is #4A4D31, found by rotating the hue 180° on the color wheel.
Is black or white text better on #34314D?
White text. Black text has a contrast ratio of 1.69:1 and white text 12.41:1. WCAG asks for at least 4.5:1 for normal text.