#060042 color

#060042 rgb(6, 0, 66)
Shades of black

The hex color #060042 is a very dark, vivid blue.

In the RGB color model it is made of 2.4% red, 0% green and 25.9% blue (6, 0, 66).

Its hue angle is 245°, with 100% saturation and 13% lightness. For print, the CMYK equivalent is 91% cyan, 100% magenta, 0% yellow and 74% black.

The closest named color is Endless Galaxy (#000044), a difference of 0.9 ΔE, which is barely visible.

White text is the more readable choice on this background (contrast 19.33:1).

#060042 color codes

HEX#060042
RGBrgb(6, 0, 66)
RGB percentrgb(2.4%, 0%, 25.9%)
HSLhsl(245, 100%, 13%)
HSV / HSBhsv(245, 100%, 26%)
CMYKcmyk(91%, 100%, 0%, 74%)
CIE LABlab(3.9, 25.86, -38.16)
CIE LCHlch(3.9, 46.1, 304.13)
CIE XYZxyz(1.058, 0.432, 5.181)
Decimal393282
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #060042, 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 #060042RatioAAAAAAA large
Sample text1.09:1FailFailFail
Sample text19.33:1PassPassPass
#060042 as text onRatioAAAAAAA large
Sample text19.33:1PassPassPass
Sample text1.09:1FailFailFail

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 #060042 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #060042; }
.text { color: #060042; }
.border { border: 2px solid #060042; }
.transparent { background-color: rgb(6 0 66 / 50%); }
.gradient { background: linear-gradient(to right, #060042, #270042); }
Background
Text color
Border

Similar colors

Closest common color name: Midnight Blue.

Questions

What color is #060042?
#060042 is a very dark, vivid blue, closest to the named color Endless Galaxy. It belongs to the black family of colors.
What is the RGB value of #060042?
The RGB value is 6, 0, 66: 6 red, 0 green and 66 blue on a 0 to 255 scale.
What is the complementary color of #060042?
The complementary color is #3C4200, found by rotating the hue 180° on the color wheel.
Is black or white text better on #060042?
White text. Black text has a contrast ratio of 1.09:1 and white text 19.33:1. WCAG asks for at least 4.5:1 for normal text.