#183840 color
The hex color #183840 is a very dark, desaturated cyan.
In the RGB color model it is made of 9.4% red, 22% green and 25.1% blue (24, 56, 64).
Its hue angle is 192°, with 45% saturation and 17% lightness. For print, the CMYK equivalent is 63% cyan, 13% magenta, 0% yellow and 75% black.
The closest named color is Royal Neptune (#1C3B42), a difference of 1.1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.51:1).
#183840 color codes
| HEX | #183840 | |
|---|---|---|
| RGB | rgb(24, 56, 64) | |
| RGB percent | rgb(9.4%, 22%, 25.1%) | |
| HSL | hsl(192, 45%, 17%) | |
| HSV / HSB | hsv(192, 63%, 25%) | |
| CMYK | cmyk(63%, 13%, 0%, 75%) | |
| CIE LAB | lab(21.55, -9, -8.56) | |
| CIE LCH | lch(21.55, 12.42, 223.57) | |
| CIE XYZ | xyz(2.716, 3.392, 5.361) | |
| Decimal | 1587264 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #183840, 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 #183840 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.68:1 | Fail | Fail | Fail |
| Sample text | 12.51:1 | Pass | Pass | Pass |
| #183840 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.51:1 | Pass | Pass | Pass |
| Sample text | 1.68: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 #183840 looks to people with the most common types of color vision deficiency.
#333640Protanopia
no red cones#2c3240Deuteranopia
no green cones#003b3aTritanopia
no blue cones#343434Achromatopsia
no color vision
CSS examples
.background { background-color: #183840; }
.text { color: #183840; }
.border { border: 2px solid #183840; }
.transparent { background-color: rgb(24 56 64 / 50%); }
.gradient { background: linear-gradient(to right, #183840, #182440); }
Similar colors
#1c3b42Royal Neptune#1c3d44Sunken Harbour#203943Astral Nomad#133337Elite Teal#1e3642Into the Night#154250Cold and Dark#224347Emerald Forest#27454aMysterious Waters
Closest common color name: Gunmetal.
Questions
- What color is #183840?
- #183840 is a very dark, desaturated cyan, closest to the named color Royal Neptune. It belongs to the gray family of colors.
- What is the RGB value of #183840?
- The RGB value is 24, 56, 64: 24 red, 56 green and 64 blue on a 0 to 255 scale.
- What is the complementary color of #183840?
- The complementary color is #402018, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #183840?
- White text. Black text has a contrast ratio of 1.68:1 and white text 12.51:1. WCAG asks for at least 4.5:1 for normal text.