#334A43
Closest named color: Dark Slate Gray (#2F4F4F). oklch(38.8% 0.031 173.8), rgb(51, 74, 67).
Aa
White text reads best on this color (9.53:1).
About this color
#334A43 is a dark, muted teal or cyan. In OKLCH its lightness is 39%, its chroma 0.031 and its hue 174°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.021 away. White text reads best on it, at 9.53:1.
| Hue family | Teals and cyans |
| Lightness | dark (39%) |
| Chroma | muted (0.031) |
| Temperature | cool |
| Nearest name | Dark Slate Gray (#2F4F4F) |
| Black text | 2.20:1 |
| White text | 9.53:1 |
Values
| HEX | #334A43 |
| RGB | rgb(51, 74, 67) |
| HSL | hsl(162, 18%, 25%) |
| OKLCH | oklch(38.8% 0.031 173.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 #334A43 | 9.53:1 | AAA | Lc -96.3 | Preferred for body text |
| Black text on #334A43 | 2.20:1 | Fails | Lc 11.9 | Not readable |
| #334A43 text on white | 9.53:1 | AAA | Lc 92.1 | Preferred for body text |
| #334A43 text on black | 2.20:1 | Fails | Lc -10.3 | 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.
-
Step 50
50
#F3F6F5
oklch(97.1% 0.003 174.5)
-
Step 100
100
#E6EBE9
oklch(93.6% 0.006 170.4)
-
Step 200
200
#D1DCD8
oklch(88.5% 0.013 172.3)
-
Step 300
300
#B2C6BF
oklch(80.9% 0.024 172.7)
-
Step 400
400
#8AA99F
oklch(70.9% 0.037 173.6)
-
Step 500
500
#6C9387
oklch(63.1% 0.047 173.8)
-
Step 600
600
#537D71
oklch(55.5% 0.05 174.6)
-
Step 700
700
#436A5E
oklch(49.1% 0.048 172.8)
-
Step 800
800
#37564D
oklch(42.6% 0.04 174.2)
-
Step 900
900 (this color)
#334A43
oklch(38.8% 0.031 173.8)
-
Step 950
950
#1C2A26
oklch(27.1% 0.02 175.1)
#334A43 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) | #484743 | 0.032 |
| Deuteranopia (no green cones) | #444443 | 0.030 |
| Tritanopia (no blue cones) | #2D4B48 | 0.010 |
| Achromatopsia (no color) | #454545 | 0.031 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #334A43
#334A43
oklch(38.8% 0.031 173.8)
- #523E46
#523E46
oklch(38.8% 0.031 352.7)
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 #334A43, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Slate Gray #2F4F4F ΔE 0.021
- Charcoal Grey #3C4142 ΔE 0.031
- Charcoal #264653 ΔE 0.037
- Dark Teal #014D4E ΔE 0.038
- Dark Blue Green #005249 ΔE 0.040
- Dark Grey Blue #29465B ΔE 0.048
- Deep Teal #00555A ΔE 0.050
- Onyx #343A40 ΔE 0.052
Use #334A43 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.