#023942
Closest named color: Midnight Green (#073B4C). oklch(31.7% 0.054 212.2), rgb(2, 57, 66).
Aa
White text reads best on this color (12.60:1).
About this color
#023942 is a dark, muted teal or cyan. In OKLCH its lightness is 32%, its chroma 0.054 and its hue 212°. 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.60:1.
| Hue family | Teals and cyans |
| Lightness | dark (32%) |
| Chroma | muted (0.054) |
| Temperature | cool |
| Nearest name | Midnight Green (#073B4C) |
| Black text | 1.66:1 |
| White text | 12.60:1 |
Values
| HEX | #023942 |
| RGB | rgb(2, 57, 66) |
| HSL | hsl(188, 94%, 13%) |
| OKLCH | oklch(31.7% 0.054 212.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 #023942 | 12.60:1 | AAA | Lc -101.6 | Preferred for body text |
| Black text on #023942 | 1.66:1 | Fails | Lc 0.0 | Not readable |
| #023942 text on white | 12.60:1 | AAA | Lc 98.2 | Preferred for body text |
| #023942 text on black | 1.66: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
#DDEDF1
oklch(93.5% 0.018 214.4)
-
Step 200
200
#BFE0E7
oklch(88.5% 0.036 211.9)
-
Step 300
300
#90CCD9
oklch(80.9% 0.064 212.6)
-
Step 400
400
#43B1C6
oklch(70.6% 0.102 212.6)
-
Step 500
500
#009AB0
oklch(63% 0.11 212.4)
-
Step 600
600
#008294
oklch(55.7% 0.097 211.6)
-
Step 700
700
#006D7D
oklch(49.1% 0.086 212.3)
-
Step 800
800
#005967
oklch(42.6% 0.075 213)
-
Step 900
900
#004A56
oklch(37.6% 0.066 213)
-
Step 950
950 (this color)
#023942
oklch(31.7% 0.054 212.2)
#023942 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) | #323743 | 0.050 |
| Deuteranopia (no green cones) | #2A3142 | 0.044 |
| Tritanopia (no blue cones) | #003D3C | 0.020 |
| Achromatopsia (no color) | #333333 | 0.054 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #023942
#023942
oklch(31.7% 0.054 212.2)
- #4A2720
#4A2720
oklch(31.7% 0.055 32.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 #023942, 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.041
- Prussian Blue #1D3557 ΔE 0.050
- Onyx #343A40 ΔE 0.052
- Space Cadet #2B2D42 ΔE 0.054
- Charcoal #264653 ΔE 0.061
- Oxford Blue #1B263B ΔE 0.064
Use #023942 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.