#042B53

Closest named color: Marine (#042E60). oklch(28.9% 0.084 253.3), rgb(4, 43, 83).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (29%)
Chromamoderately saturated (0.084)
Temperaturecool
Nearest nameMarine (#042E60)
Black text1.47:1
White text14.23:1

Values

HEX#042B53
RGBrgb(4, 43, 83)
HSLhsl(210, 91%, 17%)
OKLCHoklch(28.9% 0.084 253.3)

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 #042B53 14.23:1 AAA Lc -103.6 Preferred for body text
Black text on #042B53 1.47:1 Fails Lc 0.0 Not readable
#042B53 text on white 14.23:1 AAA Lc 100.6 Preferred for body text
#042B53 text on black 1.47: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

    #EFF6FE

    oklch(97% 0.013 251.6)

  2. Step 100

    100

    #DDEBFD

    oklch(93.5% 0.029 254.7)

  3. Step 200

    200

    #C0DCFE

    oklch(88.5% 0.056 253.4)

  4. Step 300

    300

    #93C4FF

    oklch(80.8% 0.099 253.5)

  5. Step 400

    400

    #52A3FF

    oklch(70.7% 0.157 253.4)

  6. Step 500

    500

    #0089FB

    oklch(63.1% 0.196 253.2)

  7. Step 600

    600

    #0073D4

    oklch(55.6% 0.172 253.1)

  8. Step 700

    700

    #0060B4

    oklch(49.1% 0.153 253.4)

  9. Step 800

    800

    #004E95

    oklch(42.6% 0.134 253.6)

  10. Step 900

    900

    #00417D

    oklch(37.6% 0.117 253.3)

  11. Step 950

    950 (this color)

    #042B53

    oklch(28.9% 0.084 253.3)

Export this scale for Tailwind in the Tailwind colors tool

#042B53 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)#162E550.020
Deuteranopia (no green cones)#0527520.012
Tritanopia (no blue cones)#00353A0.064
Achromatopsia (no color)#2B2B2B0.084

Harmonies

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

Complementary

The opposite hue (180°).

  • #042B53

    #042B53

    oklch(28.9% 0.084 253.3)

  • #3D2500

    #3D2500

    oklch(28.8% 0.061 72.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #042B53

    #042B53

    oklch(28.9% 0.084 253.3)

  • #00303E

    #00303E

    oklch(28.7% 0.054 223.4)

  • #272353

    #272353

    oklch(28.9% 0.085 283.5)

Open the analogous palette in the generator

Split complementary

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

  • #042B53

    #042B53

    oklch(28.9% 0.084 253.3)

  • #4B1901

    #4B1901

    oklch(28.8% 0.083 43.4)

  • #312C00

    #312C00

    oklch(28.9% 0.061 102.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #042B53

    #042B53

    oklch(28.9% 0.084 253.3)

  • #4C141F

    #4C141F

    oklch(28.8% 0.084 12.6)

  • #193300

    #193300

    oklch(28.9% 0.082 133.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #042B53

    #042B53

    oklch(28.9% 0.084 253.3)

  • #461636

    #461636

    oklch(28.9% 0.085 342.9)

  • #3D2500

    #3D2500

    oklch(28.8% 0.061 72.7)

  • #003422

    #003422

    oklch(28.8% 0.062 163.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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