#042B41

Closest named color: Oxford Blue (#1B263B). oklch(27.5% 0.058 239.2), rgb(4, 43, 65).

Aa

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

About this color

#042B41 is a dark, muted blue. In OKLCH its lightness is 28%, its chroma 0.058 and its hue 239°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.026 away. White text reads best on it, at 14.71:1.

Hue familyBlues
Lightnessdark (28%)
Chromamuted (0.058)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.42:1
White text14.71:1

Values

HEX#042B41
RGBrgb(4, 43, 65)
HSLhsl(202, 88%, 14%)
OKLCHoklch(27.5% 0.058 239.2)

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 #042B41 14.71:1 AAA Lc -104.2 Preferred for body text
Black text on #042B41 1.42:1 Fails Lc 0.0 Not readable
#042B41 text on white 14.71:1 AAA Lc 101.3 Preferred for body text
#042B41 text on black 1.42: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

    #F0F6FB

    oklch(97% 0.009 242.8)

  2. Step 100

    100

    #DEECF6

    oklch(93.6% 0.02 238.7)

  3. Step 200

    200

    #C3DDF0

    oklch(88.4% 0.038 239.6)

  4. Step 300

    300

    #98C7E9

    oklch(80.8% 0.069 240.1)

  5. Step 400

    400

    #59AADE

    oklch(70.8% 0.11 239.1)

  6. Step 500

    500

    #0A93D5

    oklch(63.2% 0.141 239.3)

  7. Step 600

    600

    #007BB4

    oklch(55.5% 0.126 239.3)

  8. Step 700

    700

    #006898

    oklch(49.2% 0.11 238.7)

  9. Step 800

    800

    #00557E

    oklch(42.8% 0.097 239.2)

  10. Step 900

    900

    #00476A

    oklch(37.9% 0.085 239)

  11. Step 950

    950 (this color)

    #042B41

    oklch(27.5% 0.058 239.2)

Export this scale for Tailwind in the Tailwind colors tool

#042B41 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)#202B420.030
Deuteranopia (no green cones)#1826410.023
Tritanopia (no blue cones)#0031330.039
Achromatopsia (no color)#2828280.058

Harmonies

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

Complementary

The opposite hue (180°).

  • #042B41

    #042B41

    oklch(27.5% 0.058 239.2)

  • #3C2005

    #3C2005

    oklch(27.6% 0.058 60.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #042B41

    #042B41

    oklch(27.5% 0.058 239.2)

  • #002E34

    #002E34

    oklch(27.6% 0.047 208.4)

  • #1C2644

    #1C2644

    oklch(27.6% 0.057 268.5)

Open the analogous palette in the generator

Split complementary

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

  • #042B41

    #042B41

    oklch(27.5% 0.058 239.2)

  • #401B16

    #401B16

    oklch(27.5% 0.059 29.3)

  • #332600

    #332600

    oklch(27.6% 0.056 89.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #042B41

    #042B41

    oklch(27.5% 0.058 239.2)

  • #3E1A27

    #3E1A27

    oklch(27.5% 0.059 358.8)

  • #252C05

    #252C05

    oklch(27.7% 0.059 119.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #042B41

    #042B41

    oklch(27.5% 0.058 239.2)

  • #371C36

    #371C36

    oklch(27.5% 0.059 328.4)

  • #3C2005

    #3C2005

    oklch(27.6% 0.058 60.3)

  • #0F2F17

    #0F2F17

    oklch(27.4% 0.058 149.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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