#1C2842 color
The hex color #1C2842 is a very dark, desaturated blue.
In the RGB color model it is made of 11% red, 15.7% green and 25.9% blue (28, 40, 66).
Its hue angle is 221°, with 40% saturation and 18% lightness. For print, the CMYK equivalent is 58% cyan, 39% magenta, 0% yellow and 74% black.
The closest named color is Eternal Darkness (#1C2841), a difference of 0.4 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 14.67:1).
#1C2842 color codes
| HEX | #1C2842 | |
|---|---|---|
| RGB | rgb(28, 40, 66) | |
| RGB percent | rgb(11%, 15.7%, 25.9%) | |
| HSL | hsl(221, 40%, 18%) | |
| HSV / HSB | hsv(221, 58%, 26%) | |
| CMYK | cmyk(58%, 39%, 0%, 74%) | |
| CIE LAB | lab(16.29, 3.74, -18.04) | |
| CIE LCH | lch(16.29, 18.42, 281.72) | |
| CIE XYZ | xyz(2.221, 2.158, 5.453) | |
| Decimal | 1845314 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1C2842, 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 #1C2842 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.43:1 | Fail | Fail | Fail |
| Sample text | 14.67:1 | Pass | Pass | Pass |
| #1C2842 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.67:1 | Pass | Pass | Pass |
| Sample text | 1.43: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 #1C2842 looks to people with the most common types of color vision deficiency.
#1e2a43Protanopia
no red cones#1a2741Deuteranopia
no green cones#0b2e31Tritanopia
no blue cones#282828Achromatopsia
no color vision
CSS examples
.background { background-color: #1c2842; }
.text { color: #1c2842; }
.border { border: 2px solid #1c2842; }
.transparent { background-color: rgb(28 40 66 / 50%); }
.gradient { background: linear-gradient(to right, #1c2842, #231c42); }
Similar colors
#1c2841Eternal Darkness#21263aMidnight Express#112244Dark Eclipse#161e34Sombre Night#0e1d32Trapped Darkness#2c2e47Midnight Masquerade#1d2951Space Cadet#0f2d4dMidnight Ocean
Closest common color name: Oxford Blue.
Questions
- What color is #1C2842?
- #1C2842 is a very dark, desaturated blue, closest to the named color Eternal Darkness. It belongs to the blue family of colors.
- What is the RGB value of #1C2842?
- The RGB value is 28, 40, 66: 28 red, 40 green and 66 blue on a 0 to 255 scale.
- What is the complementary color of #1C2842?
- The complementary color is #42361C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1C2842?
- White text. Black text has a contrast ratio of 1.43:1 and white text 14.67:1. WCAG asks for at least 4.5:1 for normal text.