Marine #042E60

Marine is a dark, moderately saturated blue with hex code #042E60 and RGB rgb(4, 46, 96).

Aa

White text reads best on this color (13.41:1).

About this color

#042E60 is a dark, moderately saturated blue. In OKLCH its lightness is 31%, its chroma 0.099 and its hue 256°. Its hue sits on the cool side of the wheel. It is the named color Marine. White text reads best on it, at 13.41:1.

Hue familyBlues
Lightnessdark (31%)
Chromamoderately saturated (0.099)
Temperaturecool
Nearest nameMarine
Black text1.56:1
White text13.41:1

Colors that go with Marine

Matches found by rotating Marine around the OKLCH hue wheel, each labelled with the closest name in our list.

Color palettes with Marine

Curated color palettes that contain a color within ΔE 0.06 (OKLab) of Marine, closest first.

Similar named colors

The eight named colors closest to Marine, with their ΔE distance.

More about Marine

How to make Marine

A starting recipe from common paint colors, found with a spectral paint model (the color mixer’s paint mode). Real pigments vary, so mix a small test batch and adjust.

  • 3 parts blue
  • 2 parts purple
  • 1 part black

Recipe result: #2B3850, a difference of ΔE 0.063 from Marine. That is close; add a little more of one paint to match.

What colors make blue? | Color mixing chart

Codes for Marine in every format

HEX#042E60
RGBrgb(4, 46, 96)
HSLhsl(213, 92%, 20%)
OKLCHoklch(30.7% 0.099 256.2)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #042E60 13.41:1 AAA Lc -102.6 Preferred for body text
Black text on #042E60 1.56:1 Fails Lc 0.0 Not readable
#042E60 text on white 13.41:1 AAA Lc 99.4 Preferred for body text
#042E60 text on black 1.56:1 Fails Lc 0.0 Not readable

Shades and tints of Marine

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 950.

  1. Step 50

    50

    #F0F6FF

    oklch(97.1% 0.014 258.3)

  2. Step 100

    100

    #DDEBFF

    oklch(93.6% 0.031 257.2)

  3. Step 200

    200

    #C1DBFF

    oklch(88.4% 0.057 256.6)

  4. Step 300

    300

    #97C3FF

    oklch(80.8% 0.098 256.3)

  5. Step 400

    400

    #5BA2FF

    oklch(70.8% 0.155 255.9)

  6. Step 500

    500

    #1F86FF

    oklch(63.1% 0.201 256.2)

  7. Step 600

    600

    #006FDF

    oklch(55.6% 0.191 256.1)

  8. Step 700

    700

    #005DBD

    oklch(49.1% 0.169 256.1)

  9. Step 800

    800

    #004C9D

    oklch(42.8% 0.147 256.2)

  10. Step 900

    900

    #003F84

    oklch(37.7% 0.129 256.1)

  11. Step 950

    950 (this color)

    #042E60

    oklch(30.7% 0.099 256.2)

Export this scale for Tailwind in the Tailwind colors tool

Marine with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#1033620.019
Deuteranopia (no green cones)#002B5F0.010
Tritanopia (no blue cones)#003A420.074
Achromatopsia (no color)#2F2F2F0.099

Use Marine in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.