#335148 color
The hex color #335148 is a dark, grayish spring green.
In the RGB color model it is made of 20% red, 31.8% green and 28.2% blue (51, 81, 72).
Its hue angle is 162°, with 23% saturation and 26% lightness. For print, the CMYK equivalent is 37% cyan, 0% magenta, 11% yellow and 68% black.
The closest named color is Hunter (#33534B), a difference of 0.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.71:1).
#335148 color codes
| HEX | #335148 | |
|---|---|---|
| RGB | rgb(51, 81, 72) | |
| RGB percent | rgb(20%, 31.8%, 28.2%) | |
| HSL | hsl(162, 23%, 26%) | |
| HSV / HSB | hsv(162, 37%, 32%) | |
| CMYK | cmyk(37%, 0%, 11%, 68%) | |
| CIE LAB | lab(31.93, -13.49, 1.76) | |
| CIE LCH | lch(31.93, 13.6, 172.57) | |
| CIE XYZ | xyz(5.477, 7.056, 7.203) | |
| Decimal | 3363144 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #335148, 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 #335148 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.41:1 | Fail | Fail | Fail |
| Sample text | 8.71:1 | Pass | Pass | Pass |
| #335148 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.71:1 | Pass | Pass | Pass |
| Sample text | 2.41: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 #335148 looks to people with the most common types of color vision deficiency.
#4f4d48Protanopia
no red cones#4a4a49Deuteranopia
no green cones#2b524eTritanopia
no blue cones#4b4b4bAchromatopsia
no color vision
CSS examples
.background { background-color: #335148; }
.text { color: #335148; }
.border { border: 2px solid #335148; }
.transparent { background-color: rgb(51 81 72 / 50%); }
.gradient { background: linear-gradient(to right, #335148, #334b51); }
Similar colors
#33534bHunter#334d41Pine Needle#3a5b52Iridescent#3e594cPlantation#315955Enchanting Ivy#2f4f4fDark Slate Gray#394c3bMountain View#3e5e4eEthereal Woods
Questions
- What color is #335148?
- #335148 is a dark, grayish spring green, closest to the named color Hunter. It belongs to the green family of colors.
- What is the RGB value of #335148?
- The RGB value is 51, 81, 72: 51 red, 81 green and 72 blue on a 0 to 255 scale.
- What is the complementary color of #335148?
- The complementary color is #51333C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #335148?
- White text. Black text has a contrast ratio of 2.41:1 and white text 8.71:1. WCAG asks for at least 4.5:1 for normal text.