AfoliOpen Afoli →

Marine color #042E60

Marine is a color name from the xkcd color survey for the hex code #042E60 — RGB 4, 46, 96, HSL 213°, 92%, 20%.

Open in Afoli Colour tools →

#042E60Marine

Color codes

HEX
#042E60
RGB
rgb(4, 46, 96)
HSL
hsl(213, 92%, 20%)
CMYK
96%, 52%, 0%, 62%
OKLCH
oklch(30.7% 0.099 256.2)

Tints and shades

#EFF6FF#C3DCFF#95C2FF#7CA8E4#648FC9#4C76AE#355E94#1E477B#063062#001C42#000A21

Color harmonies

Complementary
#042E60#422A00
Analogous
#003546#042E60#2D245E
Triadic
#042E60#57121E#173900
Split complementary
#042E60#511E00#343100
Tetradic
#042E60#50143A#422A00#003928

Contrast with text

PairWCAG 2.x ratioAPCA LcResult
Marine text on white13.42 : 199AAA — any text
Marine text on black1.56 : 10Fails for text
White text on Marine13.42 : 1-103AAA — any text
Black text on Marine1.56 : 10Fails for text

WCAG 2.x needs 4.5 : 1 for body text and 3 : 1 for large text; APCA asks for |Lc| 75 for body text and 60 for large text.

Palettes with this color

Frequently asked questions

What is the hex code of Marine?

Marine has the hex code #042E60, which is RGB 4, 46, 96 and HSL 213°, 92%, 20%.

Which text color reads best on Marine?

White text: contrast 13.42 : 1 (black text: 1.56 : 1).

Which colors go well with Marine?

Its complementary color is #422A00; analogous colors are #003546 and #2D245E; a triadic set adds #57121E and #173900.

Similar colors

Sources and licences

Updated November 21, 2026