#38335D color
The hex color #38335D is a dark, desaturated blue.
In the RGB color model it is made of 22% red, 20% green and 36.5% blue (56, 51, 93).
Its hue angle is 247°, with 29% saturation and 28% lightness. For print, the CMYK equivalent is 40% cyan, 45% magenta, 0% yellow and 64% black.
The closest named color is Purple Noir (#322C56), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.67:1).
#38335D color codes
| HEX | #38335D | |
|---|---|---|
| RGB | rgb(56, 51, 93) | |
| RGB percent | rgb(22%, 20%, 36.5%) | |
| HSL | hsl(247, 29%, 28%) | |
| HSV / HSB | hsv(247, 45%, 36%) | |
| CMYK | cmyk(40%, 45%, 0%, 64%) | |
| CIE LAB | lab(23.67, 13.71, -24.4) | |
| CIE LCH | lch(23.67, 27.99, 299.33) | |
| CIE XYZ | xyz(4.79, 3.999, 10.873) | |
| Decimal | 3683165 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #38335D, 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 #38335D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.8:1 | Fail | Fail | Fail |
| Sample text | 11.67:1 | Pass | Pass | Pass |
| #38335D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.67:1 | Pass | Pass | Pass |
| Sample text | 1.8: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 #38335D looks to people with the most common types of color vision deficiency.
#25395fProtanopia
no red cones#24375cDeuteranopia
no green cones#2e3b43Tritanopia
no blue cones#383838Achromatopsia
no color vision
CSS examples
.background { background-color: #38335d; }
.text { color: #38335d; }
.border { border: 2px solid #38335d; }
.transparent { background-color: rgb(56 51 93 / 50%); }
.gradient { background: linear-gradient(to right, #38335d, #4d335d); }
Similar colors
#322c56Purple Noir#2e305eGalaxea#2c2c57Deep Sea Base#372d52Midnight Pie#3d3d63Storm Is Coming#2a2551Pāua#4a3b6aMeteorite#2b3458Midnight Escapade
Closest common color name: Dark Slate Blue.
Questions
- What color is #38335D?
- #38335D is a dark, desaturated blue, closest to the named color Purple Noir. It belongs to the blue family of colors.
- What is the RGB value of #38335D?
- The RGB value is 56, 51, 93: 56 red, 51 green and 93 blue on a 0 to 255 scale.
- What is the complementary color of #38335D?
- The complementary color is #585D33, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #38335D?
- White text. Black text has a contrast ratio of 1.8:1 and white text 11.67:1. WCAG asks for at least 4.5:1 for normal text.