#042A2E
Closest named color: Dark (#1B2431). oklch(26.2% 0.041 205.4), rgb(4, 42, 46).
Aa
White text reads best on this color (15.26:1).
About this color
#042A2E is a dark, muted teal or cyan. In OKLCH its lightness is 26%, its chroma 0.041 and its hue 205°. Its hue sits on the cool side of the wheel. The nearest named color is Dark (#1B2431), ΔE 0.033 away. White text reads best on it, at 15.26:1.
| Hue family | Teals and cyans |
| Lightness | dark (26%) |
| Chroma | muted (0.041) |
| Temperature | cool |
| Nearest name | Dark (#1B2431) |
| Black text | 1.37:1 |
| White text | 15.26:1 |
Values
| HEX | #042A2E |
| RGB | rgb(4, 42, 46) |
| HSL | hsl(186, 84%, 10%) |
| OKLCH | oklch(26.2% 0.041 205.4) |
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 #042A2E | 15.26:1 | AAA | Lc -104.7 | Preferred for body text |
| Black text on #042A2E | 1.37:1 | Fails | Lc 0.0 | Not readable |
| #042A2E text on white | 15.26:1 | AAA | Lc 102.0 | Preferred for body text |
| #042A2E text on black | 1.37: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
#F1F7F7
oklch(97.2% 0.006 197.1)
-
Step 100
100
#E0EDEE
oklch(93.7% 0.014 202.5)
-
Step 200
200
#C5DFE2
oklch(88.5% 0.028 205.1)
-
Step 300
300
#9CCAD0
oklch(80.8% 0.049 206.1)
-
Step 400
400
#60AFB8
oklch(70.7% 0.079 205.1)
-
Step 500
500
#229AA7
oklch(63% 0.1 206.2)
-
Step 600
600
#00838E
oklch(55.7% 0.095 205.2)
-
Step 700
700
#006E78
oklch(49.1% 0.084 205.8)
-
Step 800
800
#005A62
oklch(42.7% 0.073 205.3)
-
Step 900
900
#004B52
oklch(37.7% 0.064 205.5)
-
Step 950
950 (this color)
#042A2E
oklch(26.2% 0.041 205.4)
#042A2E 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) | #26282E | 0.041 |
| Deuteranopia (no green cones) | #20232E | 0.039 |
| Tritanopia (no blue cones) | #002C2B | 0.011 |
| Achromatopsia (no color) | #252525 | 0.042 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #042A2E
#042A2E
oklch(26.2% 0.041 205.4)
- #361C1A
#361C1A
oklch(26.1% 0.042 25)
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 #042A2E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark #1B2431 ΔE 0.033
- Jet #212529 ΔE 0.035
- Oxford Blue #1B263B ΔE 0.041
- Rich Black #0D1B2A ΔE 0.053
- Gunmetal #293241 ΔE 0.064
- Space Cadet #2B2D42 ΔE 0.065
- Midnight Green #073B4C ΔE 0.072
- Dark Forest Green #002D04 ΔE 0.073
Use #042A2E 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.