#342F6C color

#342F6C rgb(52, 47, 108)
Shades of blue

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

In the RGB color model it is made of 20.4% red, 18.4% green and 42.4% blue (52, 47, 108).

Its hue angle is 245°, with 39% saturation and 30% lightness. For print, the CMYK equivalent is 52% cyan, 56% magenta, 0% yellow and 58% black.

The closest named color is Indie Go (#2E2364), a difference of 3.6 ΔE, a small difference.

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

#342F6C color codes

HEX#342F6C
RGBrgb(52, 47, 108)
RGB percentrgb(20.4%, 18.4%, 42.4%)
HSLhsl(245, 39%, 30%)
HSV / HSBhsv(245, 56%, 42%)
CMYKcmyk(52%, 56%, 0%, 58%)
CIE LABlab(23.15, 20.3, -34.99)
CIE LCHlch(23.15, 40.45, 300.11)
CIE XYZxyz(5.139, 3.846, 14.656)
Decimal3420012
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #342f6c; }
.text { color: #342f6c; }
.border { border: 2px solid #342f6c; }
.transparent { background-color: rgb(52 47 108 / 50%); }
.gradient { background: linear-gradient(to right, #342f6c, #532f6c); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Slate Blue.

Questions

What color is #342F6C?
#342F6C is a dark, desaturated blue, closest to the named color Indie Go. It belongs to the blue family of colors.
What is the RGB value of #342F6C?
The RGB value is 52, 47, 108: 52 red, 47 green and 108 blue on a 0 to 255 scale.
What is the complementary color of #342F6C?
The complementary color is #676C2F, found by rotating the hue 180° on the color wheel.
Is black or white text better on #342F6C?
White text. Black text has a contrast ratio of 1.77:1 and white text 11.87:1. WCAG asks for at least 4.5:1 for normal text.