#38374F color
The hex color #38374F is a dark, grayish blue.
In the RGB color model it is made of 22% red, 21.6% green and 31% blue (56, 55, 79).
Its hue angle is 242°, with 18% saturation and 26% lightness. For print, the CMYK equivalent is 29% cyan, 30% magenta, 0% yellow and 69% black.
The closest named color is Midnight Masquerade (#2C2E47), a difference of 3.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.49:1).
#38374F color codes
| HEX | #38374F | |
|---|---|---|
| RGB | rgb(56, 55, 79) | |
| RGB percent | rgb(22%, 21.6%, 31%) | |
| HSL | hsl(242, 18%, 26%) | |
| HSV / HSB | hsv(242, 30%, 31%) | |
| CMYK | cmyk(29%, 30%, 0%, 69%) | |
| CIE LAB | lab(24.12, 6.7, -14.46) | |
| CIE LCH | lch(24.12, 15.94, 294.88) | |
| CIE XYZ | xyz(4.408, 4.138, 7.962) | |
| Decimal | 3684175 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #38374F, 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 #38374F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.83:1 | Fail | Fail | Fail |
| Sample text | 11.49:1 | Pass | Pass | Pass |
| #38374F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.49:1 | Pass | Pass | Pass |
| Sample text | 1.83: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 #38374F looks to people with the most common types of color vision deficiency.
#313a50Protanopia
no red cones#30394eDeuteranopia
no green cones#333b3fTritanopia
no blue cones#393939Achromatopsia
no color vision
CSS examples
.background { background-color: #38374f; }
.text { color: #38374f; }
.border { border: 2px solid #38374f; }
.transparent { background-color: rgb(56 55 79 / 50%); }
.gradient { background: linear-gradient(to right, #38374f, #44374f); }
Similar colors
#2c2e47Midnight Masquerade#333344Shuriken#3f354fMaharaja#42364cCall It a Night#2e3858Mediaeval Blue#413d4bItalian Grape#403547Royal Decree#3d3d63Storm Is Coming
Closest common color name: Oxford Blue.
Questions
- What color is #38374F?
- #38374F is a dark, grayish blue, closest to the named color Midnight Masquerade. It belongs to the blue family of colors.
- What is the RGB value of #38374F?
- The RGB value is 56, 55, 79: 56 red, 55 green and 79 blue on a 0 to 255 scale.
- What is the complementary color of #38374F?
- The complementary color is #4E4F37, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #38374F?
- White text. Black text has a contrast ratio of 1.83:1 and white text 11.49:1. WCAG asks for at least 4.5:1 for normal text.