#060128 color
The hex color #060128 is a very dark, vivid blue.
In the RGB color model it is made of 2.4% red, 0.4% green and 15.7% blue (6, 1, 40).
Its hue angle is 248°, with 95% saturation and 8% lightness. For print, the CMYK equivalent is 85% cyan, 98% magenta, 0% yellow and 84% black.
The closest named color is Midnight (#03012D), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 20.14:1).
#060128 color codes
| HEX | #060128 | |
|---|---|---|
| RGB | rgb(6, 1, 40) | |
| RGB percent | rgb(2.4%, 0.4%, 15.7%) | |
| HSL | hsl(248, 95%, 8%) | |
| HSV / HSB | hsv(248, 98%, 16%) | |
| CMYK | cmyk(85%, 98%, 0%, 84%) | |
| CIE LAB | lab(1.93, 10.89, -22.06) | |
| CIE LCH | lch(1.93, 24.6, 296.27) | |
| CIE XYZ | xyz(0.469, 0.214, 2.024) | |
| Decimal | 393512 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #060128, 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 #060128 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.04:1 | Fail | Fail | Fail |
| Sample text | 20.14:1 | Pass | Pass | Pass |
| #060128 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 #060128 looks to people with the most common types of color vision deficiency.
#000829Protanopia
no red cones#000627Deuteranopia
no green cones#000b13Tritanopia
no blue cones#070707Achromatopsia
no color vision
CSS examples
.background { background-color: #060128; }
.text { color: #060128; }
.border { border: 2px solid #060128; }
.transparent { background-color: rgb(6 1 40 / 50%); }
.gradient { background: linear-gradient(to right, #060128, #190128); }
Similar colors
#03012dMidnight#060929Mysterious Depths#00022eIllicit Darkness#071037Infinite Night#000435Oblivion#041330Squid’s Ink#050d25Void#1c0f33Midnight Monarch
Closest common color name: Oxford Blue.
Questions
- What color is #060128?
- #060128 is a very dark, vivid blue, closest to the named color Midnight. It belongs to the black family of colors.
- What is the RGB value of #060128?
- The RGB value is 6, 1, 40: 6 red, 1 green and 40 blue on a 0 to 255 scale.
- What is the complementary color of #060128?
- The complementary color is #232801, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #060128?
- 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.