#335F6B
Closest named color: Petrol (#005F6A). oklch(45.9% 0.052 217.5), rgb(51, 95, 107).
Aa
White text reads best on this color (7.02:1).
About this color
#335F6B is a medium-dark, muted teal or cyan. In OKLCH its lightness is 46%, its chroma 0.052 and its hue 217°. Its hue sits on the cool side of the wheel. The nearest named color is Petrol (#005F6A), ΔE 0.030 away. White text reads best on it, at 7.02:1.
| Hue family | Teals and cyans |
| Lightness | medium-dark (46%) |
| Chroma | muted (0.052) |
| Temperature | cool |
| Nearest name | Petrol (#005F6A) |
| Black text | 2.98:1 |
| White text | 7.02:1 |
Values
| HEX | #335F6B |
| RGB | rgb(51, 95, 107) |
| HSL | hsl(193, 35%, 31%) |
| OKLCH | oklch(45.9% 0.052 217.5) |
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 #335F6B | 7.02:1 | AAA | Lc -89.2 | Fine for body text |
| Black text on #335F6B | 2.98:1 | Fails | Lc 19.8 | Dividers and decoration only |
| #335F6B text on white | 7.02:1 | AAA | Lc 84.2 | Fine for body text |
| #335F6B text on black | 2.98:1 | Fails | Lc -17.8 | 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
#F3F6F7
oklch(97.1% 0.003 219.5)
-
Step 100
100
#E4EBEE
oklch(93.6% 0.009 225.1)
-
Step 200
200
#CDDCE1
oklch(88.5% 0.018 219.7)
-
Step 300
300
#ACC6CE
oklch(81% 0.03 218.3)
-
Step 400
400
#7EA9B5
oklch(70.8% 0.049 216.8)
-
Step 500
500
#5C93A2
oklch(63.1% 0.062 217)
-
Step 600
600
#407D8E
oklch(55.6% 0.068 218.2)
-
Step 700
700
#316A78
oklch(49.2% 0.063 216.1)
-
Step 800
800 (this color)
#335F6B
oklch(45.9% 0.052 217.5)
-
Step 900
900
#274750
oklch(37.7% 0.041 217.9)
-
Step 950
950
#172A2F
oklch(27.1% 0.026 216.3)
#335F6B 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) | #575D6C | 0.046 |
| Deuteranopia (no green cones) | #4E566B | 0.041 |
| Tritanopia (no blue cones) | #136363 | 0.031 |
| Achromatopsia (no color) | #595959 | 0.053 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #335F6B
#335F6B
oklch(45.9% 0.052 217.5)
- #724E43
#724E43
oklch(46% 0.052 37.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 #335F6B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Petrol #005F6A ΔE 0.030
- YInMn Blue #415A77 ΔE 0.033
- Dark Aqua #05696B ΔE 0.038
- Slate #516572 ΔE 0.044
- Dark Green Blue #1F6357 ΔE 0.044
- Dusty Grape #545775 ΔE 0.053
- Light Navy Blue #2E5A88 ΔE 0.055
- Denim #3B638C ΔE 0.055
Use #335F6B 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.