#003A40
Closest named color: Midnight Green (#073B4C). oklch(31.8% 0.054 206.2), rgb(0, 58, 64).
Aa
White text reads best on this color (12.50:1).
About this color
#003A40 is a dark, muted teal or cyan. In OKLCH its lightness is 32%, its chroma 0.054 and its hue 206°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight Green (#073B4C), ΔE 0.023 away. White text reads best on it, at 12.50:1.
| Hue family | Teals and cyans |
| Lightness | dark (32%) |
| Chroma | muted (0.054) |
| Temperature | cool |
| Nearest name | Midnight Green (#073B4C) |
| Black text | 1.67:1 |
| White text | 12.50:1 |
Values
| HEX | #003A40 |
| RGB | rgb(0, 58, 64) |
| HSL | hsl(186, 100%, 13%) |
| OKLCH | oklch(31.8% 0.054 206.2) |
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.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #003A40 | 12.50:1 | AAA | Lc -101.5 | Preferred for body text |
| Black text on #003A40 | 1.67:1 | Fails | Lc 0.0 | Not readable |
| #003A40 text on white | 12.50:1 | AAA | Lc 98.0 | Preferred for body text |
| #003A40 text on black | 1.67: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.
-
Step 50
50
#EFF7F8
oklch(97% 0.009 205.9)
-
Step 100
100
#DCEEF0
oklch(93.6% 0.019 204.8)
-
Step 200
200
#BFE0E5
oklch(88.4% 0.035 207.7)
-
Step 300
300
#8FCDD5
oklch(80.9% 0.064 206.1)
-
Step 400
400
#3EB3C0
oklch(70.8% 0.103 205.7)
-
Step 500
500
#009BAA
oklch(63% 0.108 206.9)
-
Step 600
600
#00838F
oklch(55.7% 0.095 206.1)
-
Step 700
700
#006E78
oklch(49.1% 0.084 205.8)
-
Step 800
800
#005A63
oklch(42.7% 0.073 206.6)
-
Step 900
900
#004B52
oklch(37.7% 0.064 205.5)
-
Step 950
950 (this color)
#003A40
oklch(31.8% 0.054 206.2)
#003A40 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.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #343740 | 0.053 |
| Deuteranopia (no green cones) | #2C3140 | 0.049 |
| Tritanopia (no blue cones) | #003D3C | 0.015 |
| Achromatopsia (no color) | #343434 | 0.055 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #003A40
#003A40
oklch(31.8% 0.054 206.2)
- #4B2723
#4B2723
oklch(31.9% 0.055 27.3)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #003A40, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Midnight Green #073B4C ΔE 0.023
- Dark Blue Grey #1F3B4D ΔE 0.036
- Gunmetal #293241 ΔE 0.044
- Onyx #343A40 ΔE 0.053
- Prussian Blue #1D3557 ΔE 0.055
- Space Cadet #2B2D42 ΔE 0.058
- Charcoal #264653 ΔE 0.060
- Dark Teal #014D4E ΔE 0.064
Use #003A40 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.