#042C3A

Closest named color: Oxford Blue (#1B263B). oklch(27.4% 0.049 226.7), rgb(4, 44, 58).

Aa

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

About this color

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

Hue familyTeals and cyans
Lightnessdark (27%)
Chromamuted (0.049)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.42:1
White text14.72:1

Values

HEX#042C3A
RGBrgb(4, 44, 58)
HSLhsl(196, 87%, 12%)
OKLCHoklch(27.4% 0.049 226.7)

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 #042C3A 14.72:1 AAA Lc -104.2 Preferred for body text
Black text on #042C3A 1.42:1 Fails Lc 0.0 Not readable
#042C3A text on white 14.72:1 AAA Lc 101.3 Preferred for body text
#042C3A text on black 1.42: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

    #DFECF3

    oklch(93.5% 0.017 230.9)

  3. Step 200

    200

    #C4DEEA

    oklch(88.5% 0.032 227.3)

  4. Step 300

    300

    #99C9DE

    oklch(80.9% 0.058 226.6)

  5. Step 400

    400

    #5AACCE

    oklch(70.6% 0.094 227.4)

  6. Step 500

    500

    #0C97C1

    oklch(63.1% 0.12 226.8)

  7. Step 600

    600

    #007FA3

    oklch(55.6% 0.107 226.4)

  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)

    #042C3A

    oklch(27.4% 0.049 226.7)

Export this scale for Tailwind in the Tailwind colors tool

#042C3A 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)#242B3B0.036
Deuteranopia (no green cones)#1D263A0.031
Tritanopia (no blue cones)#0030310.026
Achromatopsia (no color)#2828280.049

Harmonies

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

Complementary

The opposite hue (180°).

  • #042C3A

    #042C3A

    oklch(27.4% 0.049 226.7)

  • #3B1F11

    #3B1F11

    oklch(27.4% 0.05 46.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #042C3A

    #042C3A

    oklch(27.4% 0.049 226.7)

  • #002E2F

    #002E2F

    oklch(27.3% 0.046 197.1)

  • #17283F

    #17283F

    oklch(27.4% 0.049 256.3)

Open the analogous palette in the generator

Split complementary

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

  • #042C3A

    #042C3A

    oklch(27.4% 0.049 226.7)

  • #3C1D1F

    #3C1D1F

    oklch(27.5% 0.048 16.7)

  • #352407

    #352407

    oklch(27.5% 0.049 77.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #042C3A

    #042C3A

    oklch(27.4% 0.049 226.7)

  • #391D2C

    #391D2C

    oklch(27.5% 0.049 347.5)

  • #2A2908

    #2A2908

    oklch(27.4% 0.05 107.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #042C3A

    #042C3A

    oklch(27.4% 0.049 226.7)

  • #311F37

    #311F37

    oklch(27.3% 0.05 317.4)

  • #3B1F11

    #3B1F11

    oklch(27.4% 0.05 46.5)

  • #1C2D14

    #1C2D14

    oklch(27.5% 0.049 136.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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