#334368 color
The hex color #334368 is a dark, desaturated blue.
In the RGB color model it is made of 20% red, 26.3% green and 40.8% blue (51, 67, 104).
Its hue angle is 222°, with 34% saturation and 30% lightness. For print, the CMYK equivalent is 51% cyan, 36% magenta, 0% yellow and 59% black.
The closest named color is Forlorn Cruise (#34466C), a difference of 1.1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 9.8:1).
#334368 color codes
| HEX | #334368 | |
|---|---|---|
| RGB | rgb(51, 67, 104) | |
| RGB percent | rgb(20%, 26.3%, 40.8%) | |
| HSL | hsl(222, 34%, 30%) | |
| HSV / HSB | hsv(222, 51%, 41%) | |
| CMYK | cmyk(51%, 36%, 0%, 59%) | |
| CIE LAB | lab(28.69, 5.02, -23.63) | |
| CIE LCH | lch(28.69, 24.16, 282) | |
| CIE XYZ | xyz(5.87, 5.717, 13.888) | |
| Decimal | 3359592 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #334368, 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 #334368 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.14:1 | Fail | Fail | Fail |
| Sample text | 9.8:1 | Pass | Pass | Pass |
| #334368 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.8:1 | Pass | Pass | Pass |
| Sample text | 2.14: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 #334368 looks to people with the most common types of color vision deficiency.
#35466aProtanopia
no red cones#2f4167Deuteranopia
no green cones#1d4b50Tritanopia
no blue cones#444444Achromatopsia
no color vision
CSS examples
.background { background-color: #334368; }
.text { color: #334368; }
.border { border: 2px solid #334368; }
.transparent { background-color: rgb(51 67 104 / 50%); }
.gradient { background: linear-gradient(to right, #334368, #3d3368); }
Similar colors
#34466cForlorn Cruise#3b476bStarlit Night#324471Space Missions#2d4470Blue Funk#2c4170Napoleonic Blue#3a4866Bonne Nuit#32496fMidnight Interlude#2c4364Black Turmeric
Closest common color name: Prussian Blue.
Questions
- What color is #334368?
- #334368 is a dark, desaturated blue, closest to the named color Forlorn Cruise. It belongs to the blue family of colors.
- What is the RGB value of #334368?
- The RGB value is 51, 67, 104: 51 red, 67 green and 104 blue on a 0 to 255 scale.
- What is the complementary color of #334368?
- The complementary color is #685833, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #334368?
- White text. Black text has a contrast ratio of 2.14:1 and white text 9.8:1. WCAG asks for at least 4.5:1 for normal text.