#042F46

Closest named color: Oxford Blue (#1B263B). oklch(29% 0.061 238.3), rgb(4, 47, 70).

Aa

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

About this color

#042F46 is a dark, muted blue. In OKLCH its lightness is 29%, its chroma 0.061 and its hue 238°. 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 13.99:1.

Hue familyBlues
Lightnessdark (29%)
Chromamuted (0.061)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.50:1
White text13.99:1

Values

HEX#042F46
RGBrgb(4, 47, 70)
HSLhsl(201, 89%, 15%)
OKLCHoklch(29% 0.061 238.3)

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 #042F46 13.99:1 AAA Lc -103.4 Preferred for body text
Black text on #042F46 1.50:1 Fails Lc 0.0 Not readable
#042F46 text on white 13.99:1 AAA Lc 100.4 Preferred for body text
#042F46 text on black 1.50: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

    #F0F7FB

    oklch(97.2% 0.009 232.4)

  2. Step 100

    100

    #DEECF7

    oklch(93.6% 0.021 241.4)

  3. Step 200

    200

    #C2DEF1

    oklch(88.6% 0.04 237.6)

  4. Step 300

    300

    #95C8EA

    oklch(80.9% 0.072 238)

  5. Step 400

    400

    #52AAE0

    oklch(70.6% 0.116 238.4)

  6. Step 500

    500

    #0093D4

    oklch(63% 0.141 238.5)

  7. Step 600

    600

    #007CB3

    oklch(55.7% 0.124 238.2)

  8. Step 700

    700

    #006897

    oklch(49.1% 0.109 238.1)

  9. Step 800

    800

    #00557D

    oklch(42.7% 0.096 238.5)

  10. Step 900

    900

    #004769

    oklch(37.8% 0.084 238.3)

  11. Step 950

    950 (this color)

    #042F46

    oklch(29% 0.061 238.3)

Export this scale for Tailwind in the Tailwind colors tool

#042F46 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)#242F470.033
Deuteranopia (no green cones)#1B29460.027
Tritanopia (no blue cones)#0035370.040
Achromatopsia (no color)#2C2C2C0.061

Harmonies

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

Complementary

The opposite hue (180°).

  • #042F46

    #042F46

    oklch(29% 0.061 238.3)

  • #412307

    #412307

    oklch(29% 0.06 59.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #042F46

    #042F46

    oklch(29% 0.061 238.3)

  • #003238

    #003238

    oklch(29% 0.05 207.5)

  • #1E294A

    #1E294A

    oklch(28.9% 0.062 268.4)

Open the analogous palette in the generator

Split complementary

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

  • #042F46

    #042F46

    oklch(29% 0.061 238.3)

  • #451E1A

    #451E1A

    oklch(29% 0.061 27.5)

  • #382900

    #382900

    oklch(29% 0.059 87.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #042F46

    #042F46

    oklch(29% 0.061 238.3)

  • #431D2B

    #431D2B

    oklch(29% 0.061 358.3)

  • #292F06

    #292F06

    oklch(29% 0.06 117.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #042F46

    #042F46

    oklch(29% 0.061 238.3)

  • #3B1F3A

    #3B1F3A

    oklch(28.8% 0.061 328.3)

  • #412307

    #412307

    oklch(29% 0.06 59.3)

  • #123319

    #123319

    oklch(28.8% 0.061 148.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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