#334C6D color
The hex color #334C6D is a dark, desaturated azure.
In the RGB color model it is made of 20% red, 29.8% green and 42.7% blue (51, 76, 109).
Its hue angle is 214°, with 36% saturation and 31% lightness. For print, the CMYK equivalent is 53% cyan, 30% magenta, 0% yellow and 57% black.
The closest named color is Naval Blue (#384B6B), a difference of 1.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.77:1).
#334C6D color codes
| HEX | #334C6D | |
|---|---|---|
| RGB | rgb(51, 76, 109) | |
| RGB percent | rgb(20%, 29.8%, 42.7%) | |
| HSL | hsl(214, 36%, 31%) | |
| HSV / HSB | hsv(214, 53%, 43%) | |
| CMYK | cmyk(53%, 30%, 0%, 57%) | |
| CIE LAB | lab(31.75, 0.81, -22) | |
| CIE LCH | lch(31.75, 22.02, 272.1) | |
| CIE XYZ | xyz(6.709, 6.976, 15.458) | |
| Decimal | 3361901 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #334C6D, 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 #334C6D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.4:1 | Fail | Fail | Fail |
| Sample text | 8.77:1 | Pass | Pass | Pass |
| #334C6D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.77:1 | Pass | Pass | Pass |
| Sample text | 2.4: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 #334C6D looks to people with the most common types of color vision deficiency.
#3f4e6eProtanopia
no red cones#38486cDeuteranopia
no green cones#175358Tritanopia
no blue cones#4b4b4bAchromatopsia
no color vision
CSS examples
.background { background-color: #334c6d; }
.text { color: #334c6d; }
.border { border: 2px solid #334c6d; }
.transparent { background-color: rgb(51 76 109 / 50%); }
.gradient { background: linear-gradient(to right, #334c6d, #37336d); }
Similar colors
#384b6bNaval Blue#32496fMidnight Interlude#314662Stay the Night#314a76Dragonfly#254770Pretty Twilight Night#3a4a63Silent Sea#2c4364Black Turmeric#2d517cSlumber
Closest common color name: Prussian Blue.
Questions
- What color is #334C6D?
- #334C6D is a dark, desaturated azure, closest to the named color Naval Blue. It belongs to the blue family of colors.
- What is the RGB value of #334C6D?
- The RGB value is 51, 76, 109: 51 red, 76 green and 109 blue on a 0 to 255 scale.
- What is the complementary color of #334C6D?
- The complementary color is #6D5433, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #334C6D?
- White text. Black text has a contrast ratio of 2.4:1 and white text 8.77:1. WCAG asks for at least 4.5:1 for normal text.