#042341

Closest named color: Oxford Blue (#1B263B). oklch(25.3% 0.067 251.2), rgb(4, 35, 65).

Aa

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

About this color

#042341 is a dark, muted blue. In OKLCH its lightness is 25%, its chroma 0.067 and its hue 251°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.032 away. White text reads best on it, at 15.88:1.

Hue familyBlues
Lightnessdark (25%)
Chromamuted (0.067)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.32:1
White text15.88:1

Values

HEX#042341
RGBrgb(4, 35, 65)
HSLhsl(210, 88%, 14%)
OKLCHoklch(25.3% 0.067 251.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 #042341 15.88:1 AAA Lc -105.2 Preferred for body text
Black text on #042341 1.32:1 Fails Lc 0.0 Not readable
#042341 text on white 15.88:1 AAA Lc 102.6 Preferred for body text
#042341 text on black 1.32: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

    #DFEBF9

    oklch(93.5% 0.023 252.2)

  3. Step 200

    200

    #C4DCF6

    oklch(88.5% 0.044 250.4)

  4. Step 300

    300

    #9BC5F3

    oklch(81% 0.079 251.1)

  5. Step 400

    400

    #61A5ED

    oklch(70.7% 0.127 251.3)

  6. Step 500

    500

    #2C8CE7

    oklch(63.1% 0.162 251.3)

  7. Step 600

    600

    #0075CE

    oklch(55.7% 0.162 251.1)

  8. Step 700

    700

    #0062AE

    oklch(49.1% 0.143 251.1)

  9. Step 800

    800

    #005090

    oklch(42.7% 0.125 251.1)

  10. Step 900

    900

    #064377

    oklch(37.8% 0.105 250.9)

  11. Step 950

    950 (this color)

    #042341

    oklch(25.3% 0.067 251.2)

Export this scale for Tailwind in the Tailwind colors tool

#042341 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)#1425420.019
Deuteranopia (no green cones)#0920400.010
Tritanopia (no blue cones)#002A2E0.049
Achromatopsia (no color)#2222220.067

Harmonies

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

Complementary

The opposite hue (180°).

  • #042341

    #042341

    oklch(25.3% 0.067 251.2)

  • #321D00

    #321D00

    oklch(25.2% 0.054 71.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #042341

    #042341

    oklch(25.3% 0.067 251.2)

  • #002732

    #002732

    oklch(25.3% 0.046 221.4)

  • #1D1D41

    #1D1D41

    oklch(25.2% 0.066 280.5)

Open the analogous palette in the generator

Split complementary

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

  • #042341

    #042341

    oklch(25.3% 0.067 251.2)

  • #3C1505

    #3C1505

    oklch(25.4% 0.067 41.8)

  • #282300

    #282300

    oklch(25.4% 0.053 101.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #042341

    #042341

    oklch(25.3% 0.067 251.2)

  • #3C121A

    #3C121A

    oklch(25.3% 0.066 11.6)

  • #162801

    #162801

    oklch(25.1% 0.067 131)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #042341

    #042341

    oklch(25.3% 0.067 251.2)

  • #37132C

    #37132C

    oklch(25.3% 0.068 340.9)

  • #321D00

    #321D00

    oklch(25.2% 0.054 71.6)

  • #002A19

    #002A19

    oklch(25.2% 0.056 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 #042341, closest first.

Similar named colors

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

Use #042341 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.