#003A42

Closest named color: Midnight Green (#073B4C). oklch(31.9% 0.055 209.8), rgb(0, 58, 66).

Aa

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

About this color

#003A42 is a dark, muted teal or cyan. In OKLCH its lightness is 32%, its chroma 0.055 and its hue 210°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight Green (#073B4C), ΔE 0.019 away. White text reads best on it, at 12.47:1.

Hue familyTeals and cyans
Lightnessdark (32%)
Chromamuted (0.055)
Temperaturecool
Nearest nameMidnight Green (#073B4C)
Black text1.68:1
White text12.47:1

Values

HEX#003A42
RGBrgb(0, 58, 66)
HSLhsl(187, 100%, 13%)
OKLCHoklch(31.9% 0.055 209.8)

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 #003A42 12.47:1 AAA Lc -101.4 Preferred for body text
Black text on #003A42 1.68:1 Fails Lc 0.0 Not readable
#003A42 text on white 12.47:1 AAA Lc 97.9 Preferred for body text
#003A42 text on black 1.68: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

    #EFF7F9

    oklch(97.1% 0.009 214.3)

  2. Step 100

    100

    #DCEEF1

    oklch(93.7% 0.019 208.8)

  3. Step 200

    200

    #BFE0E6

    oklch(88.5% 0.036 209.8)

  4. Step 300

    300

    #8ECDD8

    oklch(81% 0.066 209.6)

  5. Step 400

    400

    #3EB2C4

    oklch(70.7% 0.104 209.7)

  6. Step 500

    500

    #009BAE

    oklch(63.2% 0.109 210)

  7. Step 600

    600

    #008292

    oklch(55.6% 0.096 209.8)

  8. Step 700

    700

    #006D7B

    oklch(49% 0.085 210.2)

  9. Step 800

    800

    #005A65

    oklch(42.8% 0.074 209.1)

  10. Step 900

    900

    #004B55

    oklch(37.8% 0.065 210)

  11. Step 950

    950 (this color)

    #003A42

    oklch(31.9% 0.055 209.8)

Export this scale for Tailwind in the Tailwind colors tool

#003A42 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)#3337420.052
Deuteranopia (no green cones)#2B31420.048
Tritanopia (no blue cones)#003E3C0.020
Achromatopsia (no color)#3434340.055

Harmonies

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

Complementary

The opposite hue (180°).

  • #003A42

    #003A42

    oklch(31.9% 0.055 209.8)

  • #4B2722

    #4B2722

    oklch(31.9% 0.055 28.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #003A42

    #003A42

    oklch(31.9% 0.055 209.8)

  • #053C34

    #053C34

    oklch(32.1% 0.055 180)

  • #14364C

    #14364C

    oklch(31.9% 0.056 240.1)

Open the analogous palette in the generator

Split complementary

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

  • #003A42

    #003A42

    oklch(31.9% 0.055 209.8)

  • #492632

    #492632

    oklch(31.9% 0.055 358.8)

  • #472B13

    #472B13

    oklch(31.8% 0.055 59.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #003A42

    #003A42

    oklch(31.9% 0.055 209.8)

  • #422840

    #422840

    oklch(31.9% 0.055 329.5)

  • #3E310C

    #3E310C

    oklch(31.9% 0.055 89.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #003A42

    #003A42

    oklch(31.9% 0.055 209.8)

  • #372C4B

    #372C4B

    oklch(32% 0.056 299.6)

  • #4B2722

    #4B2722

    oklch(31.9% 0.055 28.9)

  • #2F3714

    #2F3714

    oklch(32% 0.056 120.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #003A42 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.