#334C5F color
The hex color #334C5F is a dark, desaturated azure.
In the RGB color model it is made of 20% red, 29.8% green and 37.3% blue (51, 76, 95).
Its hue angle is 206°, with 30% saturation and 29% lightness. For print, the CMYK equivalent is 46% cyan, 20% magenta, 0% yellow and 63% black.
The closest named color is Outer Space (#314E64), a difference of 1.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.98:1).
#334C5F color codes
| HEX | #334C5F | |
|---|---|---|
| RGB | rgb(51, 76, 95) | |
| RGB percent | rgb(20%, 29.8%, 37.3%) | |
| HSL | hsl(206, 30%, 29%) | |
| HSV / HSB | hsv(206, 46%, 37%) | |
| CMYK | cmyk(46%, 20%, 0%, 63%) | |
| CIE LAB | lab(31.11, -3.82, -14.13) | |
| CIE LCH | lch(31.11, 14.64, 254.89) | |
| CIE XYZ | xyz(6.015, 6.699, 11.8) | |
| Decimal | 3361887 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #334C5F, 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 #334C5F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.34:1 | Fail | Fail | Fail |
| Sample text | 8.98:1 | Pass | Pass | Pass |
| #334C5F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.98:1 | Pass | Pass | Pass |
| Sample text | 2.34: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 #334C5F looks to people with the most common types of color vision deficiency.
#444c60Protanopia
no red cones#3e475fDeuteranopia
no green cones#215152Tritanopia
no blue cones#494949Achromatopsia
no color vision
CSS examples
.background { background-color: #334c5f; }
.text { color: #334c5f; }
.border { border: 2px solid #334c5f; }
.transparent { background-color: rgb(51 76 95 / 50%); }
.gradient { background: linear-gradient(to right, #334c5f, #33365f); }
Similar colors
#314e64Outer Space#324c64Bluedgeons#29465bOne Year of Rain#3e5361Dark Secret#2a4f61Shadow of Night#204d68Seafarer#37525fMoonlit Sonata#344d58Nocturne
Closest common color name: Charcoal.
Questions
- What color is #334C5F?
- #334C5F 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 #334C5F?
- The RGB value is 51, 76, 95: 51 red, 76 green and 95 blue on a 0 to 255 scale.
- What is the complementary color of #334C5F?
- The complementary color is #5F4633, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #334C5F?
- White text. Black text has a contrast ratio of 2.34:1 and white text 8.98:1. WCAG asks for at least 4.5:1 for normal text.