#383257 color
The hex color #383257 is a dark, desaturated blue.
In the RGB color model it is made of 22% red, 19.6% green and 34.1% blue (56, 50, 87).
Its hue angle is 250°, with 27% saturation and 27% lightness. For print, the CMYK equivalent is 36% cyan, 43% magenta, 0% yellow and 66% black.
The closest named color is Midnight Pie (#372D52), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11.92:1).
#383257 color codes
| HEX | #383257 | |
|---|---|---|
| RGB | rgb(56, 50, 87) | |
| RGB percent | rgb(22%, 19.6%, 34.1%) | |
| HSL | hsl(250, 27%, 27%) | |
| HSV / HSB | hsv(250, 43%, 34%) | |
| CMYK | cmyk(36%, 43%, 0%, 66%) | |
| CIE LAB | lab(23.03, 12.52, -21.45) | |
| CIE LCH | lch(23.03, 24.84, 300.27) | |
| CIE XYZ | xyz(4.491, 3.81, 9.514) | |
| Decimal | 3682903 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #383257, 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 #383257 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.76:1 | Fail | Fail | Fail |
| Sample text | 11.92:1 | Pass | Pass | Pass |
| #383257 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.92:1 | Pass | Pass | Pass |
| Sample text | 1.76: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 #383257 looks to people with the most common types of color vision deficiency.
#273858Protanopia
no red cones#273656Deuteranopia
no green cones#313940Tritanopia
no blue cones#373737Achromatopsia
no color vision
CSS examples
.background { background-color: #383257; }
.text { color: #383257; }
.border { border: 2px solid #383257; }
.transparent { background-color: rgb(56 50 87 / 50%); }
.gradient { background: linear-gradient(to right, #383257, #4b3257); }
Similar colors
#372d52Midnight Pie#322c56Purple Noir#3c2f4eSanctum of Shadows#2c2c57Deep Sea Base#3d3d63Storm Is Coming#2e305eGalaxea#3f354fMaharaja#2a2551Pāua
Closest common color name: Dark Purple.
Questions
- What color is #383257?
- #383257 is a dark, desaturated blue, closest to the named color Midnight Pie. It belongs to the blue family of colors.
- What is the RGB value of #383257?
- The RGB value is 56, 50, 87: 56 red, 50 green and 87 blue on a 0 to 255 scale.
- What is the complementary color of #383257?
- The complementary color is #515732, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #383257?
- White text. Black text has a contrast ratio of 1.76:1 and white text 11.92:1. WCAG asks for at least 4.5:1 for normal text.