#004062

Closest named color: Marine Blue (#01386A). oklch(35.5% 0.082 240.5), rgb(0, 64, 98).

Aa

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

About this color

#004062 is a dark, moderately saturated blue. In OKLCH its lightness is 35%, its chroma 0.082 and its hue 241°. Its hue sits on the cool side of the wheel. The nearest named color is Marine Blue (#01386A), ΔE 0.031 away. White text reads best on it, at 10.99:1.

Hue familyBlues
Lightnessdark (35%)
Chromamoderately saturated (0.082)
Temperaturecool
Nearest nameMarine Blue (#01386A)
Black text1.90:1
White text10.99:1

Values

HEX#004062
RGBrgb(0, 64, 98)
HSLhsl(201, 100%, 19%)
OKLCHoklch(35.5% 0.082 240.5)

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 #004062 10.99:1 AAA Lc -98.8 Preferred for body text
Black text on #004062 1.90:1 Fails Lc 9.0 Not readable
#004062 text on white 10.99:1 AAA Lc 94.9 Preferred for body text
#004062 text on black 1.90:1 Fails Lc -7.7 Not readable

Tints and shades

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 900.

  1. Step 50

    50

    #F1F6FB

    oklch(97.1% 0.009 247.9)

  2. Step 100

    100

    #E0ECF5

    oklch(93.7% 0.018 240)

  3. Step 200

    200

    #C6DDEE

    oklch(88.6% 0.034 239.9)

  4. Step 300

    300

    #9DC7E5

    oklch(81% 0.062 239.6)

  5. Step 400

    400

    #64A9D8

    oklch(70.8% 0.098 239.9)

  6. Step 500

    500

    #3192CE

    oklch(63.2% 0.126 240.7)

  7. Step 600

    600

    #007BB6

    oklch(55.6% 0.128 240.2)

  8. Step 700

    700

    #00679A

    oklch(49.1% 0.113 240.5)

  9. Step 800

    800

    #00547F

    oklch(42.6% 0.099 240.7)

  10. Step 900

    900 (this color)

    #004062

    oklch(35.5% 0.082 240.5)

  11. Step 950

    950

    #0A293D

    oklch(26.9% 0.052 241)

Export this scale for Tailwind in the Tailwind colors tool

#004062 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)#2F41630.040
Deuteranopia (no green cones)#2239610.029
Tritanopia (no blue cones)#00494C0.056
Achromatopsia (no color)#3C3C3C0.082

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #004062

    #004062

    oklch(35.5% 0.082 240.5)

  • #5A3001

    #5A3001

    oklch(35.6% 0.082 60.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #004062

    #004062

    oklch(35.5% 0.082 240.5)

  • #00444E

    #00444E

    oklch(35.5% 0.062 211.2)

  • #2C3866

    #2C3866

    oklch(35.5% 0.081 270.8)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #004062

    #004062

    oklch(35.5% 0.082 240.5)

  • #5F2920

    #5F2920

    oklch(35.5% 0.081 31.2)

  • #4A3A00

    #4A3A00

    oklch(35.6% 0.073 91.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #004062

    #004062

    oklch(35.5% 0.082 240.5)

  • #5D2739

    #5D2739

    oklch(35.5% 0.082 1.1)

  • #364203

    #364203

    oklch(35.6% 0.083 120.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #004062

    #004062

    oklch(35.5% 0.082 240.5)

  • #532A50

    #532A50

    oklch(35.4% 0.082 329.9)

  • #5A3001

    #5A3001

    oklch(35.6% 0.082 60.9)

  • #134724

    #134724

    oklch(35.4% 0.081 150.6)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #004062, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #004062 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.