#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 family | Teals and cyans |
| Lightness | dark (32%) |
| Chroma | muted (0.055) |
| Temperature | cool |
| Nearest name | Midnight Green (#073B4C) |
| Black text | 1.68:1 |
| White text | 12.47:1 |
Values
| HEX | #003A42 |
| RGB | rgb(0, 58, 66) |
| HSL | hsl(187, 100%, 13%) |
| OKLCH | oklch(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.
| Pair | WCAG 2 | Result | APCA | APCA 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.
-
Step 50
50
#EFF7F9
oklch(97.1% 0.009 214.3)
-
Step 100
100
#DCEEF1
oklch(93.7% 0.019 208.8)
-
Step 200
200
#BFE0E6
oklch(88.5% 0.036 209.8)
-
Step 300
300
#8ECDD8
oklch(81% 0.066 209.6)
-
Step 400
400
#3EB2C4
oklch(70.7% 0.104 209.7)
-
Step 500
500
#009BAE
oklch(63.2% 0.109 210)
-
Step 600
600
#008292
oklch(55.6% 0.096 209.8)
-
Step 700
700
#006D7B
oklch(49% 0.085 210.2)
-
Step 800
800
#005A65
oklch(42.8% 0.074 209.1)
-
Step 900
900
#004B55
oklch(37.8% 0.065 210)
-
Step 950
950 (this color)
#003A42
oklch(31.9% 0.055 209.8)
#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.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #333742 | 0.052 |
| Deuteranopia (no green cones) | #2B3142 | 0.048 |
| Tritanopia (no blue cones) | #003E3C | 0.020 |
| Achromatopsia (no color) | #343434 | 0.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)
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 #003A42, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Midnight Green #073B4C ΔE 0.019
- Dark Blue Grey #1F3B4D ΔE 0.033
- Gunmetal #293241 ΔE 0.043
- Prussian Blue #1D3557 ΔE 0.052
- Onyx #343A40 ΔE 0.052
- Space Cadet #2B2D42 ΔE 0.057
- Charcoal #264653 ΔE 0.059
- Dark Teal #014D4E ΔE 0.064
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.