#062A40 color

#062A40 rgb(6, 42, 64)
Shades of blue

The hex color #062A40 is a very dark, vivid azure.

In the RGB color model it is made of 2.4% red, 16.5% green and 25.1% blue (6, 42, 64).

Its hue angle is 203°, with 83% saturation and 14% lightness. For print, the CMYK equivalent is 91% cyan, 34% magenta, 0% yellow and 75% black.

The closest named color is Sea of Stars (#0B334D), a difference of 3 ΔE, a small difference.

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

#062A40 color codes

HEX#062A40
RGBrgb(6, 42, 64)
RGB percentrgb(2.4%, 16.5%, 25.1%)
HSLhsl(203, 83%, 14%)
HSV / HSBhsv(203, 91%, 25%)
CMYKcmyk(91%, 34%, 0%, 75%)
CIE LABlab(15.82, -3.2, -17.47)
CIE LCHlch(15.82, 17.76, 259.62)
CIE XYZxyz(1.828, 2.065, 5.152)
Decimal404032
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #062A40, 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 #062A40RatioAAAAAAA large
Sample text1.41:1FailFailFail
Sample text14.86:1PassPassPass
#062A40 as text onRatioAAAAAAA large
Sample text14.86:1PassPassPass
Sample text1.41: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 #062A40 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #062a40; }
.text { color: #062a40; }
.border { border: 2px solid #062a40; }
.transparent { background-color: rgb(6 42 64 / 50%); }
.gradient { background: linear-gradient(to right, #062a40, #060d40); }
Background
Text color
Border

Similar colors

Questions

What color is #062A40?
#062A40 is a very dark, vivid azure, closest to the named color Sea of Stars. It belongs to the blue family of colors.
What is the RGB value of #062A40?
The RGB value is 6, 42, 64: 6 red, 42 green and 64 blue on a 0 to 255 scale.
What is the complementary color of #062A40?
The complementary color is #401C06, found by rotating the hue 180° on the color wheel.
Is black or white text better on #062A40?
White text. Black text has a contrast ratio of 1.41:1 and white text 14.86:1. WCAG asks for at least 4.5:1 for normal text.