#042D49

Closest named color: Oxford Blue (#1B263B). oklch(28.7% 0.067 244.4), rgb(4, 45, 73).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (29%)
Chromamuted (0.067)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.47:1
White text14.22:1

Values

HEX#042D49
RGBrgb(4, 45, 73)
HSLhsl(204, 90%, 15%)
OKLCHoklch(28.7% 0.067 244.4)

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 #042D49 14.22:1 AAA Lc -103.6 Preferred for body text
Black text on #042D49 1.47:1 Fails Lc 0.0 Not readable
#042D49 text on white 14.22:1 AAA Lc 100.6 Preferred for body text
#042D49 text on black 1.47: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

    #DEECF9

    oklch(93.6% 0.023 246)

  3. Step 200

    200

    #C2DDF5

    oklch(88.5% 0.044 245.1)

  4. Step 300

    300

    #95C7F1

    oklch(81% 0.079 244.3)

  5. Step 400

    400

    #53A8EA

    oklch(70.7% 0.127 244.5)

  6. Step 500

    500

    #0090E1

    oklch(63.1% 0.158 244.7)

  7. Step 600

    600

    #0079BE

    oklch(55.6% 0.139 244.6)

  8. Step 700

    700

    #0066A0

    oklch(49.2% 0.121 244)

  9. Step 800

    800

    #005384

    oklch(42.6% 0.106 244.3)

  10. Step 900

    900

    #00456F

    oklch(37.6% 0.093 244.3)

  11. Step 950

    950 (this color)

    #042D49

    oklch(28.7% 0.067 244.4)

Export this scale for Tailwind in the Tailwind colors tool

#042D49 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)#202E4A0.029
Deuteranopia (no green cones)#1628480.020
Tritanopia (no blue cones)#0034370.047
Achromatopsia (no color)#2B2B2B0.067

Harmonies

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

Complementary

The opposite hue (180°).

  • #042D49

    #042D49

    oklch(28.7% 0.067 244.4)

  • #402200

    #402200

    oklch(28.6% 0.065 63.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #042D49

    #042D49

    oklch(28.7% 0.067 244.4)

  • #00313A

    #00313A

    oklch(28.8% 0.051 213.9)

  • #21274B

    #21274B

    oklch(28.7% 0.066 274.4)

Open the analogous palette in the generator

Split complementary

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

  • #042D49

    #042D49

    oklch(28.7% 0.067 244.4)

  • #461C12

    #461C12

    oklch(28.7% 0.067 34.7)

  • #342A00

    #342A00

    oklch(28.8% 0.059 95)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #042D49

    #042D49

    oklch(28.7% 0.067 244.4)

  • #451A26

    #451A26

    oklch(28.6% 0.067 4.8)

  • #233004

    #233004

    oklch(28.7% 0.067 125)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #042D49

    #042D49

    oklch(28.7% 0.067 244.4)

  • #3E1C38

    #3E1C38

    oklch(28.6% 0.068 334.2)

  • #402200

    #402200

    oklch(28.6% 0.065 63.8)

  • #05341B

    #05341B

    oklch(28.7% 0.067 154.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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