#042C4C

Closest named color: Marine (#042E60). oklch(28.6% 0.072 248.1), rgb(4, 44, 76).

Aa

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

About this color

#042C4C is a dark, moderately saturated blue. In OKLCH its lightness is 29%, its chroma 0.072 and its hue 248°. Its hue sits on the cool side of the wheel. The nearest named color is Marine (#042E60), ΔE 0.036 away. White text reads best on it, at 14.28:1.

Hue familyBlues
Lightnessdark (29%)
Chromamoderately saturated (0.072)
Temperaturecool
Nearest nameMarine (#042E60)
Black text1.46:1
White text14.28:1

Values

HEX#042C4C
RGBrgb(4, 44, 76)
HSLhsl(207, 90%, 16%)
OKLCHoklch(28.6% 0.072 248.1)

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 #042C4C 14.28:1 AAA Lc -103.7 Preferred for body text
Black text on #042C4C 1.46:1 Fails Lc 0.0 Not readable
#042C4C text on white 14.28:1 AAA Lc 100.7 Preferred for body text
#042C4C text on black 1.46:1 Fails Lc 0.0 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 950.

  1. Step 50

    50

    #F0F6FD

    oklch(97.1% 0.011 252.1)

  2. Step 100

    100

    #DDECFA

    oklch(93.6% 0.025 246.2)

  3. Step 200

    200

    #C1DDF8

    oklch(88.6% 0.048 247.4)

  4. Step 300

    300

    #95C6F6

    oklch(80.9% 0.086 248.4)

  5. Step 400

    400

    #53A6F1

    oklch(70.6% 0.137 248.2)

  6. Step 500

    500

    #008EEA

    oklch(63.2% 0.17 248)

  7. Step 600

    600

    #0077C6

    oklch(55.6% 0.15 248.2)

  8. Step 700

    700

    #0064A7

    oklch(49.1% 0.132 247.9)

  9. Step 800

    800

    #00528A

    oklch(42.8% 0.115 247.8)

  10. Step 900

    900

    #004474

    oklch(37.7% 0.101 247.8)

  11. Step 950

    950 (this color)

    #042C4C

    oklch(28.6% 0.072 248.1)

Export this scale for Tailwind in the Tailwind colors tool

#042C4C 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)#1C2E4D0.025
Deuteranopia (no green cones)#11274B0.017
Tritanopia (no blue cones)#0034380.052
Achromatopsia (no color)#2A2A2A0.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #042C4C

    #042C4C

    oklch(28.6% 0.072 248.1)

  • #3E2300

    #3E2300

    oklch(28.5% 0.063 67.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #042C4C

    #042C4C

    oklch(28.6% 0.072 248.1)

  • #00303B

    #00303B

    oklch(28.5% 0.051 218)

  • #23254D

    #23254D

    oklch(28.6% 0.072 278.6)

Open the analogous palette in the generator

Split complementary

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

  • #042C4C

    #042C4C

    oklch(28.6% 0.072 248.1)

  • #471B0D

    #471B0D

    oklch(28.6% 0.072 38)

  • #322A00

    #322A00

    oklch(28.5% 0.059 98)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #042C4C

    #042C4C

    oklch(28.6% 0.072 248.1)

  • #471823

    #471823

    oklch(28.6% 0.073 8.5)

  • #203102

    #203102

    oklch(28.8% 0.073 128)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #042C4C

    #042C4C

    oklch(28.6% 0.072 248.1)

  • #401A37

    #401A37

    oklch(28.5% 0.073 337.2)

  • #3E2300

    #3E2300

    oklch(28.5% 0.063 67.8)

  • #00341D

    #00341D

    oklch(28.6% 0.067 157.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #042C4C 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.