#060518 color
The hex color #060518 is a very dark, moderate blue.
In the RGB color model it is made of 2.4% red, 2% green and 9.4% blue (6, 5, 24).
Its hue angle is 243°, with 66% saturation and 6% lightness. For print, the CMYK equivalent is 75% cyan, 79% magenta, 0% yellow and 91% black.
The closest named color is Obsidian Shard (#060313), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 20.14:1).
#060518 color codes
| HEX | #060518 | |
|---|---|---|
| RGB | rgb(6, 5, 24) | |
| RGB percent | rgb(2.4%, 2%, 9.4%) | |
| HSL | hsl(243, 66%, 6%) | |
| HSV / HSB | hsv(243, 79%, 9%) | |
| CMYK | cmyk(75%, 79%, 0%, 91%) | |
| CIE LAB | lab(1.93, 3.75, -9.4) | |
| CIE LCH | lch(1.93, 10.12, 291.74) | |
| CIE XYZ | xyz(0.294, 0.213, 0.89) | |
| Decimal | 394520 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #060518, 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 #060518 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.04:1 | Fail | Fail | Fail |
| Sample text | 20.14:1 | Pass | Pass | Pass |
| #060518 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 20.14:1 | Pass | Pass | Pass |
| Sample text | 1.04: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 #060518 looks to people with the most common types of color vision deficiency.
#000819Protanopia
no red cones#000618Deuteranopia
no green cones#02090cTritanopia
no blue cones#070707Achromatopsia
no color vision
CSS examples
.background { background-color: #060518; }
.text { color: #060518; }
.border { border: 2px solid #060518; }
.transparent { background-color: rgb(6 5 24 / 50%); }
.gradient { background: linear-gradient(to right, #060518, #0f0518); }
Similar colors
#060313Obsidian Shard#111122Corbeau#080813Narwhal Gray#16141cBack in Black#050d25Void#0b0c14Midnight Oil#16161dEigengrau#060b14Dark Rift
Closest common color name: Midnight Black.
Questions
- What color is #060518?
- #060518 is a very dark, moderate blue, closest to the named color Obsidian Shard. It belongs to the black family of colors.
- What is the RGB value of #060518?
- The RGB value is 6, 5, 24: 6 red, 5 green and 24 blue on a 0 to 255 scale.
- What is the complementary color of #060518?
- The complementary color is #171805, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #060518?
- White text. Black text has a contrast ratio of 1.04:1 and white text 20.14:1. WCAG asks for at least 4.5:1 for normal text.