#042E49

Closest named color: Oxford Blue (#1B263B). oklch(28.9% 0.066 243), rgb(4, 46, 73).

Aa

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

About this color

#042E49 is a dark, muted blue. In OKLCH its lightness is 29%, its chroma 0.066 and its hue 243°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.036 away. White text reads best on it, at 14.07:1.

Hue familyBlues
Lightnessdark (29%)
Chromamuted (0.066)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.49:1
White text14.07:1

Values

HEX#042E49
RGBrgb(4, 46, 73)
HSLhsl(203, 90%, 15%)
OKLCHoklch(28.9% 0.066 243)

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 #042E49 14.07:1 AAA Lc -103.5 Preferred for body text
Black text on #042E49 1.49:1 Fails Lc 0.0 Not readable
#042E49 text on white 14.07:1 AAA Lc 100.4 Preferred for body text
#042E49 text on black 1.49: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

    #F0F6FC

    oklch(97% 0.01 247.9)

  2. Step 100

    100

    #DEECF8

    oklch(93.6% 0.022 243.8)

  3. Step 200

    200

    #C1DDF4

    oklch(88.4% 0.044 243)

  4. Step 300

    300

    #95C7EF

    oklch(80.9% 0.077 243)

  5. Step 400

    400

    #52A9E8

    oklch(70.8% 0.125 242.8)

  6. Step 500

    500

    #0091DD

    oklch(63.1% 0.152 242.9)

  7. Step 600

    600

    #007ABB

    oklch(55.7% 0.134 242.9)

  8. Step 700

    700

    #00669E

    oklch(49% 0.119 243.2)

  9. Step 800

    800

    #005482

    oklch(42.8% 0.102 242.4)

  10. Step 900

    900

    #00466E

    oklch(37.8% 0.091 242.8)

  11. Step 950

    950 (this color)

    #042E49

    oklch(28.9% 0.066 243)

Export this scale for Tailwind in the Tailwind colors tool

#042E49 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)#212F4A0.030
Deuteranopia (no green cones)#1729490.021
Tritanopia (no blue cones)#0035380.045
Achromatopsia (no color)#2B2B2B0.066

Harmonies

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

Complementary

The opposite hue (180°).

  • #042E49

    #042E49

    oklch(28.9% 0.066 243)

  • #422200

    #422200

    oklch(28.9% 0.067 61.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #042E49

    #042E49

    oklch(28.9% 0.066 243)

  • #00313A

    #00313A

    oklch(28.8% 0.051 213.9)

  • #21284C

    #21284C

    oklch(29% 0.066 273.3)

Open the analogous palette in the generator

Split complementary

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

  • #042E49

    #042E49

    oklch(28.9% 0.066 243)

  • #461D15

    #461D15

    oklch(28.9% 0.065 32.5)

  • #352A00

    #352A00

    oklch(28.9% 0.059 93.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #042E49

    #042E49

    oklch(28.9% 0.066 243)

  • #451B28

    #451B28

    oklch(28.9% 0.066 2.7)

  • #253004

    #253004

    oklch(28.9% 0.066 123)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #042E49

    #042E49

    oklch(28.9% 0.066 243)

  • #3E1D39

    #3E1D39

    oklch(28.9% 0.067 333)

  • #422200

    #422200

    oklch(28.9% 0.067 61.8)

  • #09341B

    #09341B

    oklch(28.9% 0.065 153.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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