#334C5C color
The hex color #334C5C is a dark, desaturated azure.
In the RGB color model it is made of 20% red, 29.8% green and 36.1% blue (51, 76, 92).
Its hue angle is 203°, with 29% saturation and 28% lightness. For print, the CMYK equivalent is 45% cyan, 17% magenta, 0% yellow and 64% black.
The closest named color is Outer Space (#314E64), a difference of 2.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.02:1).
#334C5C color codes
| HEX | #334C5C | |
|---|---|---|
| RGB | rgb(51, 76, 92) | |
| RGB percent | rgb(20%, 29.8%, 36.1%) | |
| HSL | hsl(203, 29%, 28%) | |
| HSV / HSB | hsv(203, 45%, 36%) | |
| CMYK | cmyk(45%, 17%, 0%, 64%) | |
| CIE LAB | lab(30.98, -4.76, -12.41) | |
| CIE LCH | lch(30.98, 13.29, 249.01) | |
| CIE XYZ | xyz(5.881, 6.645, 11.096) | |
| Decimal | 3361884 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #334C5C, 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 #334C5C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.33:1 | Fail | Fail | Fail |
| Sample text | 9.02:1 | Pass | Pass | Pass |
| #334C5C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.02:1 | Pass | Pass | Pass |
| Sample text | 2.33: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 #334C5C looks to people with the most common types of color vision deficiency.
#454b5dProtanopia
no red cones#3f475cDeuteranopia
no green cones#235051Tritanopia
no blue cones#494949Achromatopsia
no color vision
CSS examples
.background { background-color: #334c5c; }
.text { color: #334c5c; }
.border { border: 2px solid #334c5c; }
.transparent { background-color: rgb(51 76 92 / 50%); }
.gradient { background: linear-gradient(to right, #334c5c, #33385c); }
Similar colors
#314e64Outer Space#344d58Nocturne#3e5361Dark Secret#37525fMoonlit Sonata#2a4f61Shadow of Night#29465bOne Year of Rain#36454fCharcoal#324c64Bluedgeons
Questions
- What color is #334C5C?
- #334C5C is a dark, desaturated azure, closest to the named color Outer Space. It belongs to the blue family of colors.
- What is the RGB value of #334C5C?
- The RGB value is 51, 76, 92: 51 red, 76 green and 92 blue on a 0 to 255 scale.
- What is the complementary color of #334C5C?
- The complementary color is #5C4333, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #334C5C?
- White text. Black text has a contrast ratio of 2.33:1 and white text 9.02:1. WCAG asks for at least 4.5:1 for normal text.