#334054 color

#334054 rgb(51, 64, 84)
Shades of blue

The hex color #334054 is a dark, grayish azure.

In the RGB color model it is made of 20% red, 25.1% green and 32.9% blue (51, 64, 84).

Its hue angle is 216°, with 24% saturation and 26% lightness. For print, the CMYK equivalent is 39% cyan, 24% magenta, 0% yellow and 67% black.

The closest named color is Dark & Stormy (#353F51), a difference of 1.2 ΔE, which is barely visible.

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

#334054 color codes

HEX#334054
RGBrgb(51, 64, 84)
RGB percentrgb(20%, 25.1%, 32.9%)
HSLhsl(216, 24%, 26%)
HSV / HSBhsv(216, 39%, 33%)
CMYKcmyk(39%, 24%, 0%, 67%)
CIE LABlab(26.76, 0.46, -13.71)
CIE LCHlch(26.76, 13.72, 271.94)
CIE XYZxyz(4.798, 5.01, 9.1)
Decimal3358804
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #334054, 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 #334054RatioAAAAAAA large
Sample text2:1FailFailFail
Sample text10.49:1PassPassPass
#334054 as text onRatioAAAAAAA large
Sample text10.49:1PassPassPass
Sample text2: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 #334054 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #334054; }
.text { color: #334054; }
.border { border: 2px solid #334054; }
.transparent { background-color: rgb(51 64 84 / 50%); }
.gradient { background: linear-gradient(to right, #334054, #373354); }
Background
Text color
Border

Similar colors

Closest common color name: Charcoal.

Questions

What color is #334054?
#334054 is a dark, grayish azure, closest to the named color Dark & Stormy. It belongs to the blue family of colors.
What is the RGB value of #334054?
The RGB value is 51, 64, 84: 51 red, 64 green and 84 blue on a 0 to 255 scale.
What is the complementary color of #334054?
The complementary color is #544733, found by rotating the hue 180° on the color wheel.
Is black or white text better on #334054?
White text. Black text has a contrast ratio of 2:1 and white text 10.49:1. WCAG asks for at least 4.5:1 for normal text.