#335F62
Closest named color: Petrol (#005F6A). oklch(45.5% 0.049 201.3), rgb(51, 95, 98).
Aa
White text reads best on this color (7.10:1).
About this color
#335F62 is a medium-dark, muted teal or cyan. In OKLCH its lightness is 46%, its chroma 0.049 and its hue 201°. Its hue sits on the cool side of the wheel. The nearest named color is Petrol (#005F6A), ΔE 0.031 away. White text reads best on it, at 7.10:1.
| Hue family | Teals and cyans |
| Lightness | medium-dark (46%) |
| Chroma | muted (0.049) |
| Temperature | cool |
| Nearest name | Petrol (#005F6A) |
| Black text | 2.95:1 |
| White text | 7.10:1 |
Values
| HEX | #335F62 |
| RGB | rgb(51, 95, 98) |
| HSL | hsl(184, 32%, 29%) |
| OKLCH | oklch(45.5% 0.049 201.3) |
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 #335F62 | 7.10:1 | AAA | Lc -89.5 | Fine for body text |
| Black text on #335F62 | 2.95:1 | Fails | Lc 19.5 | Dividers and decoration only |
| #335F62 text on white | 7.10:1 | AAA | Lc 84.5 | Fine for body text |
| #335F62 text on black | 2.95:1 | Fails | Lc -17.4 | Dividers and decoration only |
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
#E4ECEC
oklch(93.7% 0.009 197)
-
Step 200
200
#CEDCDD
oklch(88.4% 0.015 202)
-
Step 300
300
#ACC7C8
oklch(81% 0.029 199.3)
-
Step 400
400
#7FAAAC
oklch(70.8% 0.046 199.7)
-
Step 500
500
#5D9498
oklch(63% 0.058 201.7)
-
Step 600
600
#417F83
oklch(55.7% 0.064 201)
-
Step 700
700
#336B6F
oklch(49.2% 0.059 201.6)
-
Step 800
800 (this color)
#335F62
oklch(45.5% 0.049 201.3)
-
Step 900
900
#28484A
oklch(37.8% 0.038 200.8)
-
Step 950
950
#182A2B
oklch(27% 0.024 200.3)
#335F62 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) | #595C62 | 0.049 |
| Deuteranopia (no green cones) | #515662 | 0.045 |
| Tritanopia (no blue cones) | #1B6260 | 0.021 |
| Achromatopsia (no color) | #585858 | 0.049 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #335F62
#335F62
oklch(45.5% 0.049 201.3)
- #704C4B
#704C4B
oklch(45.6% 0.049 20.9)
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 #335F62, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Petrol #005F6A ΔE 0.031
- Dark Green Blue #1F6357 ΔE 0.031
- Dark Aqua #05696B ΔE 0.035
- YInMn Blue #415A77 ΔE 0.046
- Slate #516572 ΔE 0.050
- Deep Teal #00555A ΔE 0.050
- Dark Slate Gray #2F4F4F ΔE 0.054
- Dark Aquamarine #017371 ΔE 0.061
Use #335F62 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.