#004040

Closest named color: Midnight Green (#073B4C). oklch(33.6% 0.057 194.8), rgb(0, 64, 64).

Aa

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

About this color

#004040 is a dark, muted teal or cyan. In OKLCH its lightness is 34%, its chroma 0.057 and its hue 195°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight Green (#073B4C), ΔE 0.032 away. White text reads best on it, at 11.61:1.

Hue familyTeals and cyans
Lightnessdark (34%)
Chromamuted (0.057)
Temperaturecool
Nearest nameMidnight Green (#073B4C)
Black text1.80:1
White text11.61:1

Values

HEX#004040
RGBrgb(0, 64, 64)
HSLhsl(180, 100%, 13%)
OKLCHoklch(33.6% 0.057 194.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 #004040 11.61:1 AAA Lc -100.0 Preferred for body text
Black text on #004040 1.80:1 Fails Lc 7.6 Not readable
#004040 text on white 11.61:1 AAA Lc 96.3 Preferred for body text
#004040 text on black 1.80: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 900.

  1. Step 50

    50

    #F1F7F6

    oklch(97.1% 0.006 185.3)

  2. Step 100

    100

    #E1EDEC

    oklch(93.7% 0.013 190.9)

  3. Step 200

    200

    #C8DEDE

    oklch(88.4% 0.023 196.7)

  4. Step 300

    300

    #A1CAC9

    oklch(80.9% 0.043 194.5)

  5. Step 400

    400

    #6BAEAE

    oklch(70.6% 0.068 195.7)

  6. Step 500

    500

    #3B9A9A

    oklch(63.1% 0.088 195.2)

  7. Step 600

    600

    #008484

    oklch(55.5% 0.095 194.8)

  8. Step 700

    700

    #006F6F

    oklch(49% 0.084 194.8)

  9. Step 800

    800

    #005B5B

    oklch(42.7% 0.073 194.8)

  10. Step 900

    900 (this color)

    #004040

    oklch(33.6% 0.057 194.8)

  11. Step 950

    950

    #0D2C2C

    oklch(27% 0.036 195.2)

Export this scale for Tailwind in the Tailwind colors tool

#004040 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)#3B3C400.060
Deuteranopia (no green cones)#3236400.055
Tritanopia (no blue cones)#0042400.007
Achromatopsia (no color)#3939390.058

Harmonies

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

Complementary

The opposite hue (180°).

  • #004040

    #004040

    oklch(33.6% 0.057 194.8)

  • #512A2D

    #512A2D

    oklch(33.7% 0.058 15.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #004040

    #004040

    oklch(33.6% 0.057 194.8)

  • #14402F

    #14402F

    oklch(33.6% 0.057 164.5)

  • #0B3D4D

    #0B3D4D

    oklch(33.6% 0.057 224.5)

Open the analogous palette in the generator

Split complementary

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

  • #004040

    #004040

    oklch(33.6% 0.057 194.8)

  • #4C2A3E

    #4C2A3E

    oklch(33.6% 0.058 344.5)

  • #4F2D1D

    #4F2D1D

    oklch(33.6% 0.057 45.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #004040

    #004040

    oklch(33.6% 0.057 194.8)

  • #422E4B

    #422E4B

    oklch(33.7% 0.056 315)

  • #483211

    #483211

    oklch(33.5% 0.057 74.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #004040

    #004040

    oklch(33.6% 0.057 194.8)

  • #343253

    #343253

    oklch(33.5% 0.057 285.6)

  • #512A2D

    #512A2D

    oklch(33.7% 0.058 15.7)

  • #3C3811

    #3C3811

    oklch(33.6% 0.057 103.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #004040 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.