#042E46

Closest named color: Oxford Blue (#1B263B). oklch(28.7% 0.062 239.9), rgb(4, 46, 70).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (29%)
Chromamuted (0.062)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.48:1
White text14.14:1

Values

HEX#042E46
RGBrgb(4, 46, 70)
HSLhsl(202, 89%, 15%)
OKLCHoklch(28.7% 0.062 239.9)

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 #042E46 14.14:1 AAA Lc -103.6 Preferred for body text
Black text on #042E46 1.48:1 Fails Lc 0.0 Not readable
#042E46 text on white 14.14:1 AAA Lc 100.5 Preferred for body text
#042E46 text on black 1.48: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

    #DEECF7

    oklch(93.6% 0.021 241.4)

  3. Step 200

    200

    #C2DDF2

    oklch(88.4% 0.041 241.4)

  4. Step 300

    300

    #95C8EC

    oklch(81% 0.074 239.6)

  5. Step 400

    400

    #53AAE2

    oklch(70.8% 0.117 239.6)

  6. Step 500

    500

    #0093D7

    oklch(63.2% 0.144 239.7)

  7. Step 600

    600

    #007BB5

    oklch(55.6% 0.127 239.8)

  8. Step 700

    700

    #006799

    oklch(49% 0.112 240)

  9. Step 800

    800

    #00557F

    oklch(42.8% 0.098 239.8)

  10. Step 900

    900

    #00466A

    oklch(37.6% 0.086 240.1)

  11. Step 950

    950 (this color)

    #042E46

    oklch(28.7% 0.062 239.9)

Export this scale for Tailwind in the Tailwind colors tool

#042E46 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)#222E470.031
Deuteranopia (no green cones)#1928460.025
Tritanopia (no blue cones)#0034360.041
Achromatopsia (no color)#2B2B2B0.062

Harmonies

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

Complementary

The opposite hue (180°).

  • #042E46

    #042E46

    oklch(28.7% 0.062 239.9)

  • #402205

    #402205

    oklch(28.6% 0.061 60)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #042E46

    #042E46

    oklch(28.7% 0.062 239.9)

  • #003138

    #003138

    oklch(28.7% 0.05 209.8)

  • #1F2849

    #1F2849

    oklch(28.7% 0.062 270.6)

Open the analogous palette in the generator

Split complementary

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

  • #042E46

    #042E46

    oklch(28.7% 0.062 239.9)

  • #451D18

    #451D18

    oklch(28.8% 0.063 28.8)

  • #362900

    #362900

    oklch(28.8% 0.059 90.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #042E46

    #042E46

    oklch(28.7% 0.062 239.9)

  • #431C29

    #431C29

    oklch(28.8% 0.062 0.7)

  • #272F05

    #272F05

    oklch(28.8% 0.062 119.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #042E46

    #042E46

    oklch(28.7% 0.062 239.9)

  • #3B1E39

    #3B1E39

    oklch(28.6% 0.062 329.6)

  • #402205

    #402205

    oklch(28.6% 0.061 60)

  • #0F3319

    #0F3319

    oklch(28.7% 0.063 149.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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