Marine color: hex code #042E60

#042E60 rgb(4, 46, 96)
Shades of blue

Marine has the hex code #042E60. It is a very dark, vivid azure.

In the RGB color model it is made of 1.6% red, 18% green and 37.6% blue (4, 46, 96).

Its hue angle is 213°, with 92% saturation and 20% lightness. For print, the CMYK equivalent is 96% cyan, 52% magenta, 0% yellow and 62% black.

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

Marine (#042E60) color codes

HEX#042E60
RGBrgb(4, 46, 96)
RGB percentrgb(1.6%, 18%, 37.6%)
HSLhsl(213, 92%, 20%)
HSV / HSBhsv(213, 96%, 38%)
CMYKcmyk(96%, 52%, 0%, 62%)
CIE LABlab(19.32, 8.13, -33.48)
CIE LCHlch(19.32, 34.45, 283.66)
CIE XYZxyz(3.138, 2.824, 11.444)
Decimal274016
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with Marine, 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 #042E60RatioAAAAAAA large
Sample text1.56:1FailFailFail
Sample text13.42:1PassPassPass
#042E60 as text onRatioAAAAAAA large
Sample text13.42:1PassPassPass
Sample text1.56: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 #042E60 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #042e60; }
.text { color: #042e60; }
.border { border: 2px solid #042e60; }
.transparent { background-color: rgb(4 46 96 / 50%); }
.gradient { background: linear-gradient(to right, #042e60, #080460); }
Background
Text color
Border

Similar colors

See #042E60 on its hex code page

Questions

What color is #042E60?
#042E60 is a very dark, vivid azure known as Marine. It belongs to the blue family of colors.
What is the RGB value of Marine?
The RGB value is 4, 46, 96: 4 red, 46 green and 96 blue on a 0 to 255 scale.
What is the complementary color of Marine?
The complementary color is #603604, found by rotating the hue 180° on the color wheel.
Is black or white text better on #042E60?
White text. Black text has a contrast ratio of 1.56:1 and white text 13.42:1. WCAG asks for at least 4.5:1 for normal text.