#342A81 color

#342A81 rgb(52, 42, 129)
Shades of blue

The hex color #342A81 is a dark, moderate blue.

In the RGB color model it is made of 20.4% red, 16.5% green and 50.6% blue (52, 42, 129).

Its hue angle is 247°, with 51% saturation and 34% lightness. For print, the CMYK equivalent is 60% cyan, 67% magenta, 0% yellow and 49% black.

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

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

#342A81 color codes

HEX#342A81
RGBrgb(52, 42, 129)
RGB percentrgb(20.4%, 16.5%, 50.6%)
HSLhsl(247, 51%, 34%)
HSV / HSBhsv(247, 67%, 51%)
CMYKcmyk(60%, 67%, 0%, 49%)
CIE LABlab(23.57, 30.75, -47.7)
CIE LCHlch(23.57, 56.75, 302.81)
CIE XYZxyz(6.205, 3.971, 21.204)
Decimal3418753
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Closest common color name: Midnight Blue.

Questions

What color is #342A81?
#342A81 is a dark, moderate blue, closest to the named color Deep Space Rodeo. It belongs to the blue family of colors.
What is the RGB value of #342A81?
The RGB value is 52, 42, 129: 52 red, 42 green and 129 blue on a 0 to 255 scale.
What is the complementary color of #342A81?
The complementary color is #77812A, found by rotating the hue 180° on the color wheel.
Is black or white text better on #342A81?
White text. Black text has a contrast ratio of 1.79:1 and white text 11.7:1. WCAG asks for at least 4.5:1 for normal text.