#335256
Closest named color: Dark Slate Gray (#2F4F4F). oklch(41.6% 0.037 206.1), rgb(51, 82, 86).
Aa
White text reads best on this color (8.46:1).
About this color
#335256 is a dark, muted teal or cyan. In OKLCH its lightness is 42%, its chroma 0.037 and its hue 206°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.015 away. White text reads best on it, at 8.46:1.
| Hue family | Teals and cyans |
| Lightness | dark (42%) |
| Chroma | muted (0.037) |
| Temperature | cool |
| Nearest name | Dark Slate Gray (#2F4F4F) |
| Black text | 2.48:1 |
| White text | 8.46:1 |
Values
| HEX | #335256 |
| RGB | rgb(51, 82, 86) |
| HSL | hsl(187, 26%, 27%) |
| OKLCH | oklch(41.6% 0.037 206.1) |
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 #335256 | 8.46:1 | AAA | Lc -93.6 | Preferred for body text |
| Black text on #335256 | 2.48:1 | Fails | Lc 14.9 | Not readable |
| #335256 text on white | 8.46:1 | AAA | Lc 89.1 | Fine for body text |
| #335256 text on black | 2.48:1 | Fails | Lc -13.1 | 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 800.
-
Step 50
50
#F3F6F6
oklch(97.1% 0.003 197.1)
-
Step 100
100
#E5EBEC
oklch(93.6% 0.007 208.8)
-
Step 200
200
#D0DCDD
oklch(88.6% 0.013 202.9)
-
Step 300
300
#B1C5C7
oklch(80.9% 0.022 204)
-
Step 400
400
#88A7AB
oklch(70.6% 0.035 206)
-
Step 500
500
#6A9297
oklch(63.2% 0.045 205.7)
-
Step 600
600
#517C81
oklch(55.7% 0.048 205.1)
-
Step 700
700
#41686D
oklch(49% 0.045 206.1)
-
Step 800
800 (this color)
#335256
oklch(41.6% 0.037 206.1)
-
Step 900
900
#2F4649
oklch(37.6% 0.029 206.2)
-
Step 950
950
#1C292B
oklch(27% 0.018 207.9)
#335256 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) | #4D5056 | 0.036 |
| Deuteranopia (no green cones) | #474B56 | 0.033 |
| Tritanopia (no blue cones) | #255453 | 0.017 |
| Achromatopsia (no color) | #4D4D4D | 0.037 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #335256
#335256
oklch(41.6% 0.037 206.1)
- #5F4441
#5F4441
oklch(41.5% 0.038 26)
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 #335256, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Slate Gray #2F4F4F ΔE 0.015
- Deep Teal #00555A ΔE 0.033
- Charcoal #264653 ΔE 0.044
- Dark Teal #014D4E ΔE 0.045
- Dark Blue Green #005249 ΔE 0.045
- Dark Grey Blue #29465B ΔE 0.046
- Petrol #005F6A ΔE 0.048
- Charcoal Grey #3C4142 ΔE 0.054
Use #335256 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.