#060C1A color
The hex color #060C1A is a very dark, moderate blue.
In the RGB color model it is made of 2.4% red, 4.7% green and 10.2% blue (6, 12, 26).
Its hue angle is 222°, with 63% saturation and 6% lightness. For print, the CMYK equivalent is 77% cyan, 54% magenta, 0% yellow and 90% black.
The closest named color is Midnight Edition (#0C121B), a difference of 2.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 19.53:1).
#060C1A color codes
| HEX | #060C1A | |
|---|---|---|
| RGB | rgb(6, 12, 26) | |
| RGB percent | rgb(2.4%, 4.7%, 10.2%) | |
| HSL | hsl(222, 63%, 6%) | |
| HSV / HSB | hsv(222, 77%, 10%) | |
| CMYK | cmyk(77%, 54%, 0%, 90%) | |
| CIE LAB | lab(3.4, 1.45, -8.84) | |
| CIE LCH | lch(3.4, 8.96, 279.31) | |
| CIE XYZ | xyz(0.393, 0.376, 1.029) | |
| Decimal | 396314 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #060C1A, 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 #060C1A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.08:1 | Fail | Fail | Fail |
| Sample text | 19.53:1 | Pass | Pass | Pass |
| #060C1A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.53:1 | Pass | Pass | Pass |
| Sample text | 1.08: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 #060C1A looks to people with the most common types of color vision deficiency.
#070d1bProtanopia
no red cones#050b1aDeuteranopia
no green cones#010f11Tritanopia
no blue cones#0c0c0cAchromatopsia
no color vision
CSS examples
.background { background-color: #060c1a; }
.text { color: #060c1a; }
.border { border: 2px solid #060c1a; }
.transparent { background-color: rgb(6 12 26 / 50%); }
.gradient { background: linear-gradient(to right, #060c1a, #0a061a); }
Similar colors
#0c121bMidnight Edition#080813Narwhal Gray#060b14Dark Rift#060313Obsidian Shard#0b0c14Midnight Oil#16161dEigengrau#16141cBack in Black#111122Corbeau
Closest common color name: Rich Black.
Questions
- What color is #060C1A?
- #060C1A is a very dark, moderate blue, closest to the named color Midnight Edition. It belongs to the black family of colors.
- What is the RGB value of #060C1A?
- The RGB value is 6, 12, 26: 6 red, 12 green and 26 blue on a 0 to 255 scale.
- What is the complementary color of #060C1A?
- The complementary color is #1A1406, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #060C1A?
- White text. Black text has a contrast ratio of 1.08:1 and white text 19.53:1. WCAG asks for at least 4.5:1 for normal text.