#120C38 color

#120C38 rgb(18, 12, 56)
Shades of black

The hex color #120C38 is a very dark, moderate blue.

In the RGB color model it is made of 7.1% red, 4.7% green and 22% blue (18, 12, 56).

Its hue angle is 248°, with 65% saturation and 13% lightness. For print, the CMYK equivalent is 68% cyan, 79% magenta, 0% yellow and 78% black.

The closest named color is Quiet Abyss (#160435), a difference of 2.4 ΔE, a small difference.

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

#120C38 color codes

HEX#120C38
RGBrgb(18, 12, 56)
RGB percentrgb(7.1%, 4.7%, 22%)
HSLhsl(248, 65%, 13%)
HSV / HSBhsv(248, 79%, 22%)
CMYKcmyk(68%, 79%, 0%, 78%)
CIE LABlab(6.12, 17.59, -27.31)
CIE LCHlch(6.12, 32.48, 302.78)
CIE XYZxyz(1.095, 0.677, 3.814)
Decimal1182776
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #120C38, 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 #120C38RatioAAAAAAA large
Sample text1.14:1FailFailFail
Sample text18.5:1PassPassPass
#120C38 as text onRatioAAAAAAA large
Sample text18.5:1PassPassPass
Sample text1.14: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 #120C38 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #120c38; }
.text { color: #120c38; }
.border { border: 2px solid #120c38; }
.transparent { background-color: rgb(18 12 56 / 50%); }
.gradient { background: linear-gradient(to right, #120c38, #280c38); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Purple.

Questions

What color is #120C38?
#120C38 is a very dark, moderate blue, closest to the named color Quiet Abyss. It belongs to the black family of colors.
What is the RGB value of #120C38?
The RGB value is 18, 12, 56: 18 red, 12 green and 56 blue on a 0 to 255 scale.
What is the complementary color of #120C38?
The complementary color is #32380C, found by rotating the hue 180° on the color wheel.
Is black or white text better on #120C38?
White text. Black text has a contrast ratio of 1.14:1 and white text 18.5:1. WCAG asks for at least 4.5:1 for normal text.