#38475A color
The hex color #38475A is a dark, grayish azure.
In the RGB color model it is made of 22% red, 27.8% green and 35.3% blue (56, 71, 90).
Its hue angle is 214°, with 23% saturation and 29% lightness. For print, the CMYK equivalent is 38% cyan, 21% magenta, 0% yellow and 65% black.
The closest named color is Starless Night (#3E4855), a difference of 2.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.47:1).
#38475A color codes
| HEX | #38475A | |
|---|---|---|
| RGB | rgb(56, 71, 90) | |
| RGB percent | rgb(22%, 27.8%, 35.3%) | |
| HSL | hsl(214, 23%, 29%) | |
| HSV / HSB | hsv(214, 38%, 35%) | |
| CMYK | cmyk(38%, 21%, 0%, 65%) | |
| CIE LAB | lab(29.63, -0.62, -13.18) | |
| CIE LCH | lch(29.63, 13.19, 267.3) | |
| CIE XYZ | xyz(5.729, 6.085, 10.544) | |
| Decimal | 3688282 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #38475A, 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 #38475A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.22:1 | Fail | Fail | Fail |
| Sample text | 9.47:1 | Pass | Pass | Pass |
| #38475A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.47:1 | Pass | Pass | Pass |
| Sample text | 2.22: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 #38475A looks to people with the most common types of color vision deficiency.
#40485bProtanopia
no red cones#3c445aDeuteranopia
no green cones#2d4b4dTritanopia
no blue cones#464646Achromatopsia
no color vision
CSS examples
.background { background-color: #38475a; }
.text { color: #38475a; }
.border { border: 2px solid #38475a; }
.transparent { background-color: rgb(56 71 90 / 50%); }
.gradient { background: linear-gradient(to right, #38475a, #3a385a); }
Similar colors
#3e4855Starless Night#3a4a63Silent Sea#314159Pi#353f51Dark & Stormy#314662Stay the Night#324c64Bluedgeons#425267Into the Stratosphere#3f4551Dark Crypt
Closest common color name: Charcoal.
Questions
- What color is #38475A?
- #38475A is a dark, grayish azure, closest to the named color Starless Night. It belongs to the blue family of colors.
- What is the RGB value of #38475A?
- The RGB value is 56, 71, 90: 56 red, 71 green and 90 blue on a 0 to 255 scale.
- What is the complementary color of #38475A?
- The complementary color is #5A4B38, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #38475A?
- White text. Black text has a contrast ratio of 2.22:1 and white text 9.47:1. WCAG asks for at least 4.5:1 for normal text.