Oil color: hex code #313330

#313330 rgb(49, 51, 48)
Shades of gray

Oil has the hex code #313330. It is a dark gray.

In the RGB color model it is made of 19.2% red, 20% green and 18.8% blue (49, 51, 48).

Its hue angle is 100°, with 3% saturation and 19% lightness. For print, the CMYK equivalent is 4% cyan, 0% magenta, 6% yellow and 80% black.

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

Oil (#313330) color codes

HEX#313330
RGBrgb(49, 51, 48)
RGB percentrgb(19.2%, 20%, 18.8%)
HSLhsl(100, 3%, 19%)
HSV / HSBhsv(100, 6%, 20%)
CMYKcmyk(4%, 0%, 6%, 80%)
CIE LABlab(20.96, -1.57, 1.6)
CIE LCHlch(20.96, 2.24, 134.47)
CIE XYZxyz(2.984, 3.234, 3.263)
Decimal3224368
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with Oil, 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 #313330RatioAAAAAAA large
Sample text1.65:1FailFailFail
Sample text12.75:1PassPassPass
#313330 as text onRatioAAAAAAA large
Sample text12.75:1PassPassPass
Sample text1.65: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 #313330 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #313330; }
.text { color: #313330; }
.border { border: 2px solid #313330; }
.transparent { background-color: rgb(49 51 48 / 50%); }
.gradient { background: linear-gradient(to right, #313330, #303331); }
Background
Text color
Border

Similar colors

See #313330 on its hex code page

Questions

What color is #313330?
#313330 is a dark gray known as Oil. It belongs to the gray family of colors.
What is the RGB value of Oil?
The RGB value is 49, 51, 48: 49 red, 51 green and 48 blue on a 0 to 255 scale.
What is the complementary color of Oil?
The complementary color is #323033, found by rotating the hue 180° on the color wheel.
Is black or white text better on #313330?
White text. Black text has a contrast ratio of 1.65:1 and white text 12.75:1. WCAG asks for at least 4.5:1 for normal text.