#334A78 color

#334A78 rgb(51, 74, 120)
Shades of blue

The hex color #334A78 is a dark, desaturated blue.

In the RGB color model it is made of 20% red, 29% green and 47.1% blue (51, 74, 120).

Its hue angle is 220°, with 40% saturation and 34% lightness. For print, the CMYK equivalent is 58% cyan, 38% magenta, 0% yellow and 53% black.

The closest named color is Dragonfly (#314A76), a difference of 0.7 ΔE, which is barely visible.

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

#334A78 color codes

HEX#334A78
RGBrgb(51, 74, 120)
RGB percentrgb(20%, 29%, 47.1%)
HSLhsl(220, 40%, 34%)
HSV / HSBhsv(220, 57%, 47%)
CMYKcmyk(58%, 38%, 0%, 53%)
CIE LABlab(31.71, 5.95, -28.97)
CIE LCHlch(31.71, 29.58, 281.61)
CIE XYZxyz(7.203, 6.957, 18.729)
Decimal3361400
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #334A78, 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 #334A78RatioAAAAAAA large
Sample text2.39:1FailFailFail
Sample text8.78:1PassPassPass
#334A78 as text onRatioAAAAAAA large
Sample text8.78:1PassPassPass
Sample text2.39: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 #334A78 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #334a78; }
.text { color: #334a78; }
.border { border: 2px solid #334a78; }
.transparent { background-color: rgb(51 74 120 / 50%); }
.gradient { background: linear-gradient(to right, #334a78, #3f3378); }
Background
Text color
Border

Similar colors

Closest common color name: Cobalt Blue.

Questions

What color is #334A78?
#334A78 is a dark, desaturated blue, closest to the named color Dragonfly. It belongs to the blue family of colors.
What is the RGB value of #334A78?
The RGB value is 51, 74, 120: 51 red, 74 green and 120 blue on a 0 to 255 scale.
What is the complementary color of #334A78?
The complementary color is #786133, found by rotating the hue 180° on the color wheel.
Is black or white text better on #334A78?
White text. Black text has a contrast ratio of 2.39:1 and white text 8.78:1. WCAG asks for at least 4.5:1 for normal text.