#18334D color
The hex color #18334D is a very dark, moderate azure.
In the RGB color model it is made of 9.4% red, 20% green and 30.2% blue (24, 51, 77).
Its hue angle is 209°, with 52% saturation and 20% lightness. For print, the CMYK equivalent is 69% cyan, 34% magenta, 0% yellow and 70% black.
The closest named color is Beyond the Stars (#0A3251), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.97:1).
#18334D color codes
| HEX | #18334D | |
|---|---|---|
| RGB | rgb(24, 51, 77) | |
| RGB percent | rgb(9.4%, 20%, 30.2%) | |
| HSL | hsl(209, 52%, 20%) | |
| HSV / HSB | hsv(209, 69%, 30%) | |
| CMYK | cmyk(69%, 34%, 0%, 70%) | |
| CIE LAB | lab(20.43, -0.79, -19.05) | |
| CIE LCH | lch(20.43, 19.06, 267.61) | |
| CIE XYZ | xyz(2.9, 3.097, 7.465) | |
| Decimal | 1585997 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #18334D, 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 #18334D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.62:1 | Fail | Fail | Fail |
| Sample text | 12.97:1 | Pass | Pass | Pass |
| #18334D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.97:1 | Pass | Pass | Pass |
| Sample text | 1.62: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 #18334D looks to people with the most common types of color vision deficiency.
#28344eProtanopia
no red cones#212f4cDeuteranopia
no green cones#00393cTritanopia
no blue cones#313131Achromatopsia
no color vision
CSS examples
.background { background-color: #18334d; }
.text { color: #18334d; }
.border { border: 2px solid #18334d; }
.transparent { background-color: rgb(24 51 77 / 50%); }
.gradient { background: linear-gradient(to right, #18334d, #18184d); }
Similar colors
#0a3251Beyond the Stars#0b334dSea of Stars#003153Prussian Blue#0f2d4dMidnight Ocean#143c5dPoseidon#273c5aNautilus#314159Pi#1e3442Blue Whale
Questions
- What color is #18334D?
- #18334D is a very dark, moderate azure, closest to the named color Beyond the Stars. It belongs to the blue family of colors.
- What is the RGB value of #18334D?
- The RGB value is 24, 51, 77: 24 red, 51 green and 77 blue on a 0 to 255 scale.
- What is the complementary color of #18334D?
- The complementary color is #4D3218, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #18334D?
- White text. Black text has a contrast ratio of 1.62:1 and white text 12.97:1. WCAG asks for at least 4.5:1 for normal text.