#12404D color

#12404D rgb(18, 64, 77)
Shades of teal

The hex color #12404D is a very dark, moderate cyan.

In the RGB color model it is made of 7.1% red, 25.1% green and 30.2% blue (18, 64, 77).

Its hue angle is 193°, with 62% saturation and 19% lightness. For print, the CMYK equivalent is 77% cyan, 17% magenta, 0% yellow and 70% black.

The closest named color is Cold and Dark (#154250), a difference of 0.9 ΔE, which is barely visible.

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

#12404D color codes

HEX#12404D
RGBrgb(18, 64, 77)
RGB percentrgb(7.1%, 25.1%, 30.2%)
HSLhsl(193, 62%, 19%)
HSV / HSBhsv(193, 77%, 30%)
CMYKcmyk(77%, 17%, 0%, 70%)
CIE LABlab(24.74, -10.49, -12.38)
CIE LCHlch(24.74, 16.23, 229.74)
CIE XYZxyz(3.422, 4.331, 7.675)
Decimal1196109
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #12404D, 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 #12404DRatioAAAAAAA large
Sample text1.87:1FailFailFail
Sample text11.25:1PassPassPass
#12404D as text onRatioAAAAAAA large
Sample text11.25:1PassPassPass
Sample text1.87: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 #12404D looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #12404d; }
.text { color: #12404d; }
.border { border: 2px solid #12404d; }
.transparent { background-color: rgb(18 64 77 / 50%); }
.gradient { background: linear-gradient(to right, #12404d, #12234d); }
Background
Text color
Border

Similar colors

Closest common color name: Charcoal.

Questions

What color is #12404D?
#12404D is a very dark, moderate cyan, closest to the named color Cold and Dark. It belongs to the teal family of colors.
What is the RGB value of #12404D?
The RGB value is 18, 64, 77: 18 red, 64 green and 77 blue on a 0 to 255 scale.
What is the complementary color of #12404D?
The complementary color is #4D1F12, found by rotating the hue 180° on the color wheel.
Is black or white text better on #12404D?
White text. Black text has a contrast ratio of 1.87:1 and white text 11.25:1. WCAG asks for at least 4.5:1 for normal text.