#342D7C color

#342D7C rgb(52, 45, 124)
Shades of blue

The hex color #342D7C is a dark, desaturated blue.

In the RGB color model it is made of 20.4% red, 17.6% green and 48.6% blue (52, 45, 124).

Its hue angle is 245°, with 47% saturation and 33% lightness. For print, the CMYK equivalent is 58% cyan, 64% magenta, 0% yellow and 51% black.

The closest named color is Deep Space Rodeo (#332277), a difference of 3.2 ΔE, a small difference.

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

#342D7C color codes

HEX#342D7C
RGBrgb(52, 45, 124)
RGB percentrgb(20.4%, 17.6%, 48.6%)
HSLhsl(245, 47%, 33%)
HSV / HSBhsv(245, 64%, 49%)
CMYKcmyk(58%, 64%, 0%, 51%)
CIE LABlab(23.87, 27.12, -44.05)
CIE LCHlch(23.87, 51.73, 301.62)
CIE XYZxyz(5.992, 4.062, 19.533)
Decimal3419516
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #342D7C, 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 #342D7CRatioAAAAAAA large
Sample text1.81:1FailFailFail
Sample text11.59:1PassPassPass
#342D7C as text onRatioAAAAAAA large
Sample text11.59:1PassPassPass
Sample text1.81: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 #342D7C looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #342d7c; }
.text { color: #342d7c; }
.border { border: 2px solid #342d7c; }
.transparent { background-color: rgb(52 45 124 / 50%); }
.gradient { background: linear-gradient(to right, #342d7c, #5b2d7c); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Slate Blue.

Questions

What color is #342D7C?
#342D7C is a dark, desaturated blue, closest to the named color Deep Space Rodeo. It belongs to the blue family of colors.
What is the RGB value of #342D7C?
The RGB value is 52, 45, 124: 52 red, 45 green and 124 blue on a 0 to 255 scale.
What is the complementary color of #342D7C?
The complementary color is #757C2D, found by rotating the hue 180° on the color wheel.
Is black or white text better on #342D7C?
White text. Black text has a contrast ratio of 1.81:1 and white text 11.59:1. WCAG asks for at least 4.5:1 for normal text.