#042F4E

Closest named color: Marine (#042E60). oklch(29.6% 0.072 246), rgb(4, 47, 78).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (30%)
Chromamoderately saturated (0.072)
Temperaturecool
Nearest nameMarine (#042E60)
Black text1.52:1
White text13.79:1

Values

HEX#042F4E
RGBrgb(4, 47, 78)
HSLhsl(205, 90%, 16%)
OKLCHoklch(29.6% 0.072 246)

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 #042F4E 13.79:1 AAA Lc -103.2 Preferred for body text
Black text on #042F4E 1.52:1 Fails Lc 0.0 Not readable
#042F4E text on white 13.79:1 AAA Lc 100.1 Preferred for body text
#042F4E text on black 1.52: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

    #C0DDF7

    oklch(88.5% 0.047 245.4)

  4. Step 300

    300

    #93C7F5

    oklch(81% 0.085 245.8)

  5. Step 400

    400

    #4FA7F0

    oklch(70.6% 0.137 246.4)

  6. Step 500

    500

    #008FE4

    oklch(63% 0.162 246)

  7. Step 600

    600

    #0078C1

    oklch(55.5% 0.143 246.2)

  8. Step 700

    700

    #0065A3

    oklch(49.1% 0.126 245.9)

  9. Step 800

    800

    #005387

    oklch(42.8% 0.11 245.8)

  10. Step 900

    900

    #004571

    oklch(37.8% 0.096 245.5)

  11. Step 950

    950 (this color)

    #042F4E

    oklch(29.6% 0.072 246)

Export this scale for Tailwind in the Tailwind colors tool

#042F4E 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)#20304F0.027
Deuteranopia (no green cones)#152A4D0.019
Tritanopia (no blue cones)#00373A0.052
Achromatopsia (no color)#2D2D2D0.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #042F4E

    #042F4E

    oklch(29.6% 0.072 246)

  • #422500

    #422500

    oklch(29.6% 0.065 66.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #042F4E

    #042F4E

    oklch(29.6% 0.072 246)

  • #00333D

    #00333D

    oklch(29.6% 0.052 215.2)

  • #232850

    #232850

    oklch(29.5% 0.072 275.7)

Open the analogous palette in the generator

Split complementary

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

  • #042F4E

    #042F4E

    oklch(29.6% 0.072 246)

  • #4A1D11

    #4A1D11

    oklch(29.5% 0.072 35.9)

  • #362C00

    #362C00

    oklch(29.5% 0.061 95.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #042F4E

    #042F4E

    oklch(29.6% 0.072 246)

  • #491B27

    #491B27

    oklch(29.5% 0.071 6.2)

  • #243303

    #243303

    oklch(29.7% 0.072 126)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #042F4E

    #042F4E

    oklch(29.6% 0.072 246)

  • #421D3A

    #421D3A

    oklch(29.5% 0.071 336)

  • #422500

    #422500

    oklch(29.6% 0.065 66.8)

  • #00371D

    #00371D

    oklch(29.6% 0.072 156.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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