#335462
Closest named color: Dark Slate Gray (#2F4F4F). oklch(42.6% 0.045 226.8), rgb(51, 84, 98).
Aa
White text reads best on this color (8.12:1).
About this color
#335462 is a dark, muted teal or cyan. In OKLCH its lightness is 43%, its chroma 0.045 and its hue 227°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.033 away. White text reads best on it, at 8.12:1.
| Hue family | Teals and cyans |
| Lightness | dark (43%) |
| Chroma | muted (0.045) |
| Temperature | cool |
| Nearest name | Dark Slate Gray (#2F4F4F) |
| Black text | 2.58:1 |
| White text | 8.12:1 |
Values
| HEX | #335462 |
| RGB | rgb(51, 84, 98) |
| HSL | hsl(198, 32%, 29%) |
| OKLCH | oklch(42.6% 0.045 226.8) |
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 #335462 | 8.12:1 | AAA | Lc -92.7 | Preferred for body text |
| Black text on #335462 | 2.58:1 | Fails | Lc 16.0 | Dividers and decoration only |
| #335462 text on white | 8.12:1 | AAA | Lc 88.0 | Fine for body text |
| #335462 text on black | 2.58:1 | Fails | Lc -14.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
#F3F6F7
oklch(97.1% 0.003 219.5)
-
Step 100
100
#E5EBEE
oklch(93.6% 0.008 228.9)
-
Step 200
200
#D0DBE1
oklch(88.5% 0.015 231.2)
-
Step 300
300
#B0C4CE
oklch(80.8% 0.026 229.2)
-
Step 400
400
#86A6B5
oklch(70.6% 0.041 228.1)
-
Step 500
500
#6691A3
oklch(63.2% 0.054 225.9)
-
Step 600
600
#4D7B8E
oklch(55.7% 0.058 226.2)
-
Step 700
700
#3E6779
oklch(49.1% 0.054 227.8)
-
Step 800
800 (this color)
#335462
oklch(42.6% 0.045 226.8)
-
Step 900
900
#2D4650
oklch(37.8% 0.035 225)
-
Step 950
950
#1B292F
oklch(27.1% 0.022 226.4)
#335462 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) | #4D5363 | 0.035 |
| Deuteranopia (no green cones) | #464D62 | 0.031 |
| Tritanopia (no blue cones) | #1E5858 | 0.032 |
| Achromatopsia (no color) | #505050 | 0.045 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #335462
#335462
oklch(42.6% 0.045 226.8)
- #64473A
#64473A
oklch(42.6% 0.045 45.1)
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 #335462, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Slate Gray #2F4F4F ΔE 0.033
- Deep Teal #00555A ΔE 0.039
- Petrol #005F6A ΔE 0.041
- YInMn Blue #415A77 ΔE 0.042
- Dark Grey Blue #29465B ΔE 0.047
- Charcoal #264653 ΔE 0.051
- Dark Teal #014D4E ΔE 0.057
- Dusty Grape #545775 ΔE 0.058
Use #335462 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.