#042B50

Closest named color: Marine (#042E60). oklch(28.6% 0.079 251.7), rgb(4, 43, 80).

Aa

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

About this color

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

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

Values

HEX#042B50
RGBrgb(4, 43, 80)
HSLhsl(209, 90%, 16%)
OKLCHoklch(28.6% 0.079 251.7)

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

    #F0F6FE

    oklch(97.1% 0.012 255.5)

  2. Step 100

    100

    #DDECFC

    oklch(93.7% 0.027 249.9)

  3. Step 200

    200

    #C1DCFB

    oklch(88.5% 0.052 252)

  4. Step 300

    300

    #94C5FC

    oklch(80.9% 0.094 251.8)

  5. Step 400

    400

    #52A4FB

    oklch(70.6% 0.151 252)

  6. Step 500

    500

    #008AF5

    oklch(63% 0.187 251.8)

  7. Step 600

    600

    #0074CF

    oklch(55.5% 0.165 251.7)

  8. Step 700

    700

    #0061B0

    oklch(49% 0.147 252)

  9. Step 800

    800

    #005091

    oklch(42.8% 0.126 251.5)

  10. Step 900

    900

    #00427A

    oklch(37.7% 0.112 251.7)

  11. Step 950

    950 (this color)

    #042B50

    oklch(28.6% 0.079 251.7)

Export this scale for Tailwind in the Tailwind colors tool

#042B50 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)#182E510.022
Deuteranopia (no green cones)#0A274F0.012
Tritanopia (no blue cones)#0034390.059
Achromatopsia (no color)#2A2A2A0.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #042B50

    #042B50

    oklch(28.6% 0.079 251.7)

  • #3D2400

    #3D2400

    oklch(28.6% 0.062 70.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #042B50

    #042B50

    oklch(28.6% 0.079 251.7)

  • #00303D

    #00303D

    oklch(28.7% 0.053 221.7)

  • #252350

    #252350

    oklch(28.5% 0.08 282.1)

Open the analogous palette in the generator

Split complementary

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

  • #042B50

    #042B50

    oklch(28.6% 0.079 251.7)

  • #491905

    #491905

    oklch(28.5% 0.079 41.2)

  • #312B00

    #312B00

    oklch(28.7% 0.06 101.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #042B50

    #042B50

    oklch(28.6% 0.079 251.7)

  • #4A1620

    #4A1620

    oklch(28.7% 0.079 12)

  • #1B3200

    #1B3200

    oklch(28.7% 0.079 131.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #042B50

    #042B50

    oklch(28.6% 0.079 251.7)

  • #431735

    #431735

    oklch(28.5% 0.079 341.8)

  • #3D2400

    #3D2400

    oklch(28.6% 0.062 70.9)

  • #003420

    #003420

    oklch(28.7% 0.064 161.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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