#38413F color

#38413F rgb(56, 65, 63)
Shades of gray

The hex color #38413F is a dark gray.

In the RGB color model it is made of 22% red, 25.5% green and 24.7% blue (56, 65, 63).

Its hue angle is 167°, with 7% saturation and 24% lightness. For print, the CMYK equivalent is 14% cyan, 0% magenta, 3% yellow and 75% black.

The closest named color is Onyx (#353935), a difference of 3.5 ΔE, a small difference.

White text is the more readable choice on this background (contrast 10.52:1).

#38413F color codes

HEX#38413F
RGBrgb(56, 65, 63)
RGB percentrgb(22%, 25.5%, 24.7%)
HSLhsl(167, 7%, 24%)
HSV / HSBhsv(167, 14%, 25%)
CMYKcmyk(14%, 0%, 3%, 75%)
CIE LABlab(26.68, -4.18, -0.03)
CIE LCHlch(26.68, 4.18, 180.47)
CIE XYZxyz(4.418, 4.98, 5.43)
Decimal3686719
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #38413F, 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 #38413FRatioAAAAAAA large
Sample text2:1FailFailFail
Sample text10.52:1PassPassPass
#38413F as text onRatioAAAAAAA large
Sample text10.52:1PassPassPass
Sample text2:1FailFailFail

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 #38413F looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #38413f; }
.text { color: #38413f; }
.border { border: 2px solid #38413f; }
.transparent { background-color: rgb(56 65 63 / 50%); }
.gradient { background: linear-gradient(to right, #38413f, #383e41); }
Background
Text color
Border

Similar colors

Questions

What color is #38413F?
#38413F is a dark gray, closest to the named color Onyx. It belongs to the gray family of colors.
What is the RGB value of #38413F?
The RGB value is 56, 65, 63: 56 red, 65 green and 63 blue on a 0 to 255 scale.
What is the complementary color of #38413F?
The complementary color is #41383A, found by rotating the hue 180° on the color wheel.
Is black or white text better on #38413F?
White text. Black text has a contrast ratio of 2:1 and white text 10.52:1. WCAG asks for at least 4.5:1 for normal text.