#334854 color
The hex color #334854 is a dark, grayish azure.
In the RGB color model it is made of 20% red, 28.2% green and 32.9% blue (51, 72, 84).
Its hue angle is 202°, with 24% saturation and 26% lightness. For print, the CMYK equivalent is 39% cyan, 14% magenta, 0% yellow and 67% black.
The closest named color is Charcoal (#36454F), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.56:1).
#334854 color codes
| HEX | #334854 | |
|---|---|---|
| RGB | rgb(51, 72, 84) | |
| RGB percent | rgb(20%, 28.2%, 32.9%) | |
| HSL | hsl(202, 24%, 26%) | |
| HSV / HSB | hsv(202, 39%, 33%) | |
| CMYK | cmyk(39%, 14%, 0%, 67%) | |
| CIE LAB | lab(29.36, -4.7, -9.75) | |
| CIE LCH | lch(29.36, 10.83, 244.28) | |
| CIE XYZ | xyz(5.282, 5.978, 9.261) | |
| Decimal | 3360852 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #334854, 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 #334854 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.2:1 | Fail | Fail | Fail |
| Sample text | 9.56:1 | Pass | Pass | Pass |
| #334854 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.56:1 | Pass | Pass | Pass |
| Sample text | 2.2:1 | Fail | Fail | Fail |
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 #334854 looks to people with the most common types of color vision deficiency.
#424755Protanopia
no red cones#3e4454Deuteranopia
no green cones#274b4cTritanopia
no blue cones#454545Achromatopsia
no color vision
CSS examples
.background { background-color: #334854; }
.text { color: #334854; }
.border { border: 2px solid #334854; }
.transparent { background-color: rgb(51 72 84 / 50%); }
.gradient { background: linear-gradient(to right, #334854, #333854); }
Similar colors
#36454fCharcoal#344d58Nocturne#253f4eDepths of the Nile#37525fMoonlit Sonata#404c57Abyssal#254855Mallard#3e5361Dark Secret#29465bOne Year of Rain
Questions
- What color is #334854?
- #334854 is a dark, grayish azure, closest to the named color Charcoal. It belongs to the gray family of colors.
- What is the RGB value of #334854?
- The RGB value is 51, 72, 84: 51 red, 72 green and 84 blue on a 0 to 255 scale.
- What is the complementary color of #334854?
- The complementary color is #543F33, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #334854?
- White text. Black text has a contrast ratio of 2.2:1 and white text 9.56:1. WCAG asks for at least 4.5:1 for normal text.