#18184D color
The hex color #18184D is a very dark, moderate blue.
In the RGB color model it is made of 9.4% red, 9.4% green and 30.2% blue (24, 24, 77).
Its hue angle is 240°, with 52% saturation and 20% lightness. For print, the CMYK equivalent is 69% cyan, 69% magenta, 0% yellow and 70% black.
The closest named color is Fly-by-Night (#1C1E4D), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.45:1).
#18184D color codes
| HEX | #18184D | |
|---|---|---|
| RGB | rgb(24, 24, 77) | |
| RGB percent | rgb(9.4%, 9.4%, 30.2%) | |
| HSL | hsl(240, 52%, 20%) | |
| HSV / HSB | hsv(240, 69%, 30%) | |
| CMYK | cmyk(69%, 69%, 0%, 70%) | |
| CIE LAB | lab(11.84, 18.99, -32.79) | |
| CIE LCH | lch(11.84, 37.89, 300.07) | |
| CIE XYZ | xyz(2.042, 1.383, 7.179) | |
| Decimal | 1579085 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #18184D, 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 #18184D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.28:1 | Fail | Fail | Fail |
| Sample text | 16.45:1 | Pass | Pass | Pass |
| #18184D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.45:1 | Pass | Pass | Pass |
| Sample text | 1.28: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 #18184D looks to people with the most common types of color vision deficiency.
#00214fProtanopia
no red cones#001d4cDeuteranopia
no green cones#00252fTritanopia
no blue cones#1f1f1fAchromatopsia
no color vision
CSS examples
.background { background-color: #18184d; }
.text { color: #18184d; }
.border { border: 2px solid #18184d; }
.transparent { background-color: rgb(24 24 77 / 50%); }
.gradient { background: linear-gradient(to right, #18184d, #33184d); }
Similar colors
#1c1e4dFly-by-Night#111144Deadly Depths#231c4dSilent Orbit#211d49Azulado#222255Spacescape#000b44Storm#001155Interstellar Blue#112255Dark Soul
Closest common color name: Midnight Blue.
Questions
- What color is #18184D?
- #18184D is a very dark, moderate blue, closest to the named color Fly-by-Night. It belongs to the black family of colors.
- What is the RGB value of #18184D?
- The RGB value is 24, 24, 77: 24 red, 24 green and 77 blue on a 0 to 255 scale.
- What is the complementary color of #18184D?
- The complementary color is #4D4D18, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #18184D?
- White text. Black text has a contrast ratio of 1.28:1 and white text 16.45:1. WCAG asks for at least 4.5:1 for normal text.