#254F52
Closest named color: Dark Slate Gray (#2F4F4F). oklch(39.9% 0.047 201.6), rgb(37, 79, 82).
Aa
White text reads best on this color (9.05:1).
About this color
#254F52 is a dark, muted teal or cyan. In OKLCH its lightness is 40%, its chroma 0.047 and its hue 202°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.011 away. White text reads best on it, at 9.05:1.
| Hue family | Teals and cyans |
| Lightness | dark (40%) |
| Chroma | muted (0.047) |
| Temperature | cool |
| Nearest name | Dark Slate Gray (#2F4F4F) |
| Black text | 2.31:1 |
| White text | 9.05:1 |
Values
| HEX | #254F52 |
| RGB | rgb(37, 79, 82) |
| HSL | hsl(184, 38%, 23%) |
| OKLCH | oklch(39.9% 0.047 201.6) |
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 #254F52 | 9.05:1 | AAA | Lc -95.1 | Preferred for body text |
| Black text on #254F52 | 2.31:1 | Fails | Lc 13.3 | Not readable |
| #254F52 text on white | 9.05:1 | AAA | Lc 90.7 | Preferred for body text |
| #254F52 text on black | 2.31:1 | Fails | Lc -11.6 | 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
#F2F6F7
oklch(97% 0.004 214.3)
-
Step 100
100
#E2ECED
oklch(93.6% 0.011 204.1)
-
Step 200
200
#CBDDDE
oklch(88.4% 0.019 200.8)
-
Step 300
300
#A7C8CA
oklch(80.9% 0.035 201)
-
Step 400
400
#76ACAF
oklch(70.8% 0.057 200.3)
-
Step 500
500
#4F979C
oklch(63.2% 0.072 201.4)
-
Step 600
600
#2E8187
oklch(55.6% 0.079 201.9)
-
Step 700
700
#206D72
oklch(49.1% 0.073 201.4)
-
Step 800
800
#1D595D
oklch(42.8% 0.061 201.4)
-
Step 900
900 (this color)
#254F52
oklch(39.9% 0.047 201.6)
-
Step 950
950
#132B2D
oklch(27.1% 0.03 202.6)
#254F52 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) | #4A4C52 | 0.048 |
| Deuteranopia (no green cones) | #424652 | 0.044 |
| Tritanopia (no blue cones) | #075250 | 0.021 |
| Achromatopsia (no color) | #494949 | 0.047 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #254F52
#254F52
oklch(39.9% 0.047 201.6)
- #5E3D3C
#5E3D3C
oklch(39.8% 0.047 21.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 #254F52, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Slate Gray #2F4F4F ΔE 0.011
- Deep Teal #00555A ΔE 0.025
- Dark Teal #014D4E ΔE 0.025
- Charcoal #264653 ΔE 0.031
- Dark Blue Green #005249 ΔE 0.031
- Dark Grey Blue #29465B ΔE 0.038
- Charcoal Grey #3C4142 ΔE 0.049
- Petrol #005F6A ΔE 0.055
Use #254F52 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.