#334F81 color

#334F81 rgb(51, 79, 129)
Shades of blue

The hex color #334F81 is a dark, desaturated azure.

In the RGB color model it is made of 20% red, 31% green and 50.6% blue (51, 79, 129).

Its hue angle is 218°, with 43% saturation and 35% lightness. For print, the CMYK equivalent is 60% cyan, 39% magenta, 0% yellow and 49% black.

The closest named color is Assassin (#2D4F83), a difference of 1.2 ΔE, which is barely visible.

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

#334F81 color codes

HEX#334F81
RGBrgb(51, 79, 129)
RGB percentrgb(20%, 31%, 50.6%)
HSLhsl(218, 43%, 35%)
HSV / HSBhsv(218, 60%, 51%)
CMYKcmyk(60%, 39%, 0%, 49%)
CIE LABlab(33.73, 5.87, -31.36)
CIE LCHlch(33.73, 31.91, 280.61)
CIE XYZxyz(8.122, 7.88, 21.858)
Decimal3362689
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Closest common color name: Cobalt Blue.

Questions

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