#042F3E

Closest named color: Oxford Blue (#1B263B). oklch(28.5% 0.052 227), rgb(4, 47, 62).

Aa

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

About this color

#042F3E is a dark, muted teal or cyan. In OKLCH its lightness is 29%, its chroma 0.052 and its hue 227°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.034 away. White text reads best on it, at 14.17:1.

Hue familyTeals and cyans
Lightnessdark (29%)
Chromamuted (0.052)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.48:1
White text14.17:1

Values

HEX#042F3E
RGBrgb(4, 47, 62)
HSLhsl(196, 88%, 13%)
OKLCHoklch(28.5% 0.052 227)

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 #042F3E 14.17:1 AAA Lc -103.6 Preferred for body text
Black text on #042F3E 1.48:1 Fails Lc 0.0 Not readable
#042F3E text on white 14.17:1 AAA Lc 100.6 Preferred for body text
#042F3E 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

    #F0F7FA

    oklch(97.2% 0.008 225.1)

  2. Step 100

    100

    #DEEDF3

    oklch(93.7% 0.018 223.6)

  3. Step 200

    200

    #C3DEEB

    oklch(88.5% 0.034 228.4)

  4. Step 300

    300

    #97C9E0

    oklch(80.9% 0.061 228)

  5. Step 400

    400

    #55ADD0

    oklch(70.7% 0.098 226.8)

  6. Step 500

    500

    #0097C2

    oklch(63.1% 0.122 226.9)

  7. Step 600

    600

    #007FA4

    oklch(55.6% 0.108 227.1)

  8. Step 700

    700

    #006B8A

    oklch(49.2% 0.095 226.5)

  9. Step 800

    800

    #005772

    oklch(42.6% 0.083 227.6)

  10. Step 900

    900

    #00495F

    oklch(37.8% 0.072 226.2)

  11. Step 950

    950 (this color)

    #042F3E

    oklch(28.5% 0.052 227)

Export this scale for Tailwind in the Tailwind colors tool

#042F3E 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)#272E3F0.038
Deuteranopia (no green cones)#1F293E0.032
Tritanopia (no blue cones)#0033340.027
Achromatopsia (no color)#2B2B2B0.052

Harmonies

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

Complementary

The opposite hue (180°).

  • #042F3E

    #042F3E

    oklch(28.5% 0.052 227)

  • #3F2112

    #3F2112

    oklch(28.4% 0.053 46.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #042F3E

    #042F3E

    oklch(28.5% 0.052 227)

  • #003132

    #003132

    oklch(28.4% 0.048 197)

  • #192B44

    #192B44

    oklch(28.7% 0.052 256.8)

Open the analogous palette in the generator

Split complementary

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

  • #042F3E

    #042F3E

    oklch(28.5% 0.052 227)

  • #401F21

    #401F21

    oklch(28.6% 0.051 17)

  • #382607

    #382607

    oklch(28.4% 0.052 77.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #042F3E

    #042F3E

    oklch(28.5% 0.052 227)

  • #3D1F2F

    #3D1F2F

    oklch(28.6% 0.052 347.7)

  • #2D2C09

    #2D2C09

    oklch(28.6% 0.052 107.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #042F3E

    #042F3E

    oklch(28.5% 0.052 227)

  • #34223B

    #34223B

    oklch(28.5% 0.051 316.2)

  • #3F2112

    #3F2112

    oklch(28.4% 0.053 46.4)

  • #1D3016

    #1D3016

    oklch(28.5% 0.051 137.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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