#042539

Closest named color: Oxford Blue (#1B263B). oklch(25.3% 0.053 240.2), rgb(4, 37, 57).

Aa

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

About this color

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

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

Values

HEX#042539
RGBrgb(4, 37, 57)
HSLhsl(203, 87%, 12%)
OKLCHoklch(25.3% 0.053 240.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 #042539 15.80:1 AAA Lc -105.2 Preferred for body text
Black text on #042539 1.32:1 Fails Lc 0.0 Not readable
#042539 text on white 15.80:1 AAA Lc 102.5 Preferred for body text
#042539 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

    #F1F6FB

    oklch(97.1% 0.009 247.9)

  2. Step 100

    100

    #E0ECF5

    oklch(93.7% 0.018 240)

  3. Step 200

    200

    #C5DDEE

    oklch(88.5% 0.035 238.7)

  4. Step 300

    300

    #9CC7E6

    oklch(81% 0.063 239.9)

  5. Step 400

    400

    #62A9D9

    oklch(70.7% 0.101 239.9)

  6. Step 500

    500

    #2C92CF

    oklch(63.1% 0.129 240.3)

  7. Step 600

    600

    #007BB6

    oklch(55.6% 0.128 240.2)

  8. Step 700

    700

    #00679A

    oklch(49.1% 0.113 240.5)

  9. Step 800

    800

    #00547F

    oklch(42.6% 0.099 240.7)

  10. Step 900

    900

    #054669

    oklch(37.6% 0.084 240.3)

  11. Step 950

    950 (this color)

    #042539

    oklch(25.3% 0.053 240.2)

Export this scale for Tailwind in the Tailwind colors tool

#042539 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)#1B253A0.026
Deuteranopia (no green cones)#1420390.022
Tritanopia (no blue cones)#002A2C0.035
Achromatopsia (no color)#2323230.053

Harmonies

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

Complementary

The opposite hue (180°).

  • #042539

    #042539

    oklch(25.3% 0.053 240.2)

  • #341B04

    #341B04

    oklch(25.2% 0.053 60.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #042539

    #042539

    oklch(25.3% 0.053 240.2)

  • #00282E

    #00282E

    oklch(25.4% 0.044 209.8)

  • #18203C

    #18203C

    oklch(25.2% 0.054 270.1)

Open the analogous palette in the generator

Split complementary

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

  • #042539

    #042539

    oklch(25.3% 0.053 240.2)

  • #381712

    #381712

    oklch(25.3% 0.054 30.2)

  • #2C2100

    #2C2100

    oklch(25.4% 0.052 90.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #042539

    #042539

    oklch(25.3% 0.053 240.2)

  • #361621

    #361621

    oklch(25.2% 0.053 359.8)

  • #1F2605

    #1F2605

    oklch(25.3% 0.053 120.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #042539

    #042539

    oklch(25.3% 0.053 240.2)

  • #30182E

    #30182E

    oklch(25.2% 0.053 330.1)

  • #341B04

    #341B04

    oklch(25.2% 0.053 60.1)

  • #0C2914

    #0C2914

    oklch(25.2% 0.053 150.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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