#334551 color
The hex color #334551 is a dark, grayish azure.
In the RGB color model it is made of 20% red, 27.1% green and 31.8% blue (51, 69, 81).
Its hue angle is 204°, with 23% saturation and 26% lightness. For print, the CMYK equivalent is 37% cyan, 15% magenta, 0% yellow and 68% black.
The closest named color is Charcoal (#36454F), a difference of 1.1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 9.95:1).
#334551 color codes
| HEX | #334551 | |
|---|---|---|
| RGB | rgb(51, 69, 81) | |
| RGB percent | rgb(20%, 27.1%, 31.8%) | |
| HSL | hsl(204, 23%, 26%) | |
| HSV / HSB | hsv(204, 37%, 32%) | |
| CMYK | cmyk(37%, 15%, 0%, 68%) | |
| CIE LAB | lab(28.26, -3.69, -9.48) | |
| CIE LCH | lch(28.26, 10.17, 248.71) | |
| CIE XYZ | xyz(4.978, 5.554, 8.593) | |
| Decimal | 3360081 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #334551, 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 #334551 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.11:1 | Fail | Fail | Fail |
| Sample text | 9.95:1 | Pass | Pass | Pass |
| #334551 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.95:1 | Pass | Pass | Pass |
| Sample text | 2.11: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 #334551 looks to people with the most common types of color vision deficiency.
#404552Protanopia
no red cones#3c4151Deuteranopia
no green cones#294849Tritanopia
no blue cones#434343Achromatopsia
no color vision
CSS examples
.background { background-color: #334551; }
.text { color: #334551; }
.border { border: 2px solid #334551; }
.transparent { background-color: rgb(51 69 81 / 50%); }
.gradient { background: linear-gradient(to right, #334551, #333651); }
Similar colors
#36454fCharcoal#253f4eDepths of the Nile#404c57Abyssal#3b444bArsenic#344d58Nocturne#29465bOne Year of Rain#3e4855Starless Night#3d474bLights Out
Questions
- What color is #334551?
- #334551 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 #334551?
- The RGB value is 51, 69, 81: 51 red, 69 green and 81 blue on a 0 to 255 scale.
- What is the complementary color of #334551?
- The complementary color is #513F33, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #334551?
- White text. Black text has a contrast ratio of 2.11:1 and white text 9.95:1. WCAG asks for at least 4.5:1 for normal text.