#1F5151
Closest named color: Dark Slate Gray (#2F4F4F). oklch(40.1% 0.053 195.2), rgb(31, 81, 81).
Aa
White text reads best on this color (8.92:1).
About this color
#1F5151 is a dark, muted teal or cyan. In OKLCH its lightness is 40%, its chroma 0.053 and its hue 195°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.016 away. White text reads best on it, at 8.92:1.
| Hue family | Teals and cyans |
| Lightness | dark (40%) |
| Chroma | muted (0.053) |
| Temperature | cool |
| Nearest name | Dark Slate Gray (#2F4F4F) |
| Black text | 2.35:1 |
| White text | 8.92:1 |
Values
| HEX | #1F5151 |
| RGB | rgb(31, 81, 81) |
| HSL | hsl(180, 45%, 22%) |
| OKLCH | oklch(40.1% 0.053 195.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 #1F5151 | 8.92:1 | AAA | Lc -94.7 | Preferred for body text |
| Black text on #1F5151 | 2.35:1 | Fails | Lc 13.7 | Not readable |
| #1F5151 text on white | 8.92:1 | AAA | Lc 90.3 | Preferred for body text |
| #1F5151 text on black | 2.35:1 | Fails | Lc -12.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 900.
-
Step 50
50
#F2F7F6
oklch(97.2% 0.005 183)
-
Step 100
100
#E2ECEC
oklch(93.6% 0.011 197)
-
Step 200
200
#C9DEDE
oklch(88.5% 0.022 196.8)
-
Step 300
300
#A4C9C9
oklch(80.9% 0.039 196.4)
-
Step 400
400
#70ADAD
oklch(70.6% 0.063 195.8)
-
Step 500
500
#449999
oklch(63.1% 0.082 195.3)
-
Step 600
600
#1A8384
oklch(55.6% 0.089 195.9)
-
Step 700
700
#066F6F
oklch(49.1% 0.082 194.8)
-
Step 800
800
#0F5A5B
oklch(42.6% 0.068 196.3)
-
Step 900
900 (this color)
#1F5151
oklch(40.1% 0.053 195.2)
-
Step 950
950
#102C2C
oklch(27.2% 0.034 195.3)
#1F5151 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) | #4C4D51 | 0.056 |
| Deuteranopia (no green cones) | #444751 | 0.052 |
| Tritanopia (no blue cones) | #005451 | 0.017 |
| Achromatopsia (no color) | #4A4A4A | 0.054 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #1F5151
#1F5151
oklch(40.1% 0.053 195.2)
- #623C3F
#623C3F
oklch(40.2% 0.054 14.6)
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 #1F5151, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Slate Gray #2F4F4F ΔE 0.016
- Deep Teal #00555A ΔE 0.019
- Dark Teal #014D4E ΔE 0.023
- Dark Blue Green #005249 ΔE 0.023
- Charcoal #264653 ΔE 0.038
- Dark Grey Blue #29465B ΔE 0.045
- Petrol #005F6A ΔE 0.051
- Charcoal Grey #3C4142 ΔE 0.056
Use #1F5151 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.