#334145 color
The hex color #334145 is a dark, grayish cyan.
In the RGB color model it is made of 20% red, 25.5% green and 27.1% blue (51, 65, 69).
Its hue angle is 193°, with 15% saturation and 24% lightness. For print, the CMYK equivalent is 26% cyan, 6% magenta, 0% yellow and 73% black.
The closest named color is Lights Out (#3D474B), a difference of 2.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.59:1).
#334145 color codes
| HEX | #334145 | |
|---|---|---|
| RGB | rgb(51, 65, 69) | |
| RGB percent | rgb(20%, 25.5%, 27.1%) | |
| HSL | hsl(193, 15%, 24%) | |
| HSV / HSB | hsv(193, 26%, 27%) | |
| CMYK | cmyk(26%, 6%, 0%, 73%) | |
| CIE LAB | lab(26.49, -4.57, -4.3) | |
| CIE LCH | lch(26.49, 6.28, 223.26) | |
| CIE XYZ | xyz(4.329, 4.914, 6.349) | |
| Decimal | 3359045 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #334145, 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 #334145 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.98:1 | Fail | Fail | Fail |
| Sample text | 10.59:1 | Pass | Pass | Pass |
| #334145 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.59:1 | Pass | Pass | Pass |
| Sample text | 1.98: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 #334145 looks to people with the most common types of color vision deficiency.
#3e4045Protanopia
no red cones#3b3e45Deuteranopia
no green cones#2e4342Tritanopia
no blue cones#3f3f3fAchromatopsia
no color vision
CSS examples
.background { background-color: #334145; }
.text { color: #334145; }
.border { border: 2px solid #334145; }
.transparent { background-color: rgb(51 65 69 / 50%); }
.gradient { background: linear-gradient(to right, #334145, #333845); }
Similar colors
#3d474bLights Out#303a40Tempest in a Teapot#2d454aLittle Mermaid#36454fCharcoal#3b444bArsenic#414a4cDark Space#2a3439Gunmetal#3b3f40Tamahagane
Questions
- What color is #334145?
- #334145 is a dark, grayish cyan, closest to the named color Lights Out. It belongs to the gray family of colors.
- What is the RGB value of #334145?
- The RGB value is 51, 65, 69: 51 red, 65 green and 69 blue on a 0 to 255 scale.
- What is the complementary color of #334145?
- The complementary color is #453733, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #334145?
- White text. Black text has a contrast ratio of 1.98:1 and white text 10.59:1. WCAG asks for at least 4.5:1 for normal text.