#334C59
Closest named color: Dark Slate Gray (#2F4F4F). oklch(40.2% 0.038 231.5), rgb(51, 76, 89).
Aa
White text reads best on this color (9.05:1).
About this color
#334C59 is a dark, muted blue. In OKLCH its lightness is 40%, its chroma 0.038 and its hue 232°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.023 away. White text reads best on it, at 9.05:1.
| Hue family | Blues |
| Lightness | dark (40%) |
| Chroma | muted (0.038) |
| Temperature | cool |
| Nearest name | Dark Slate Gray (#2F4F4F) |
| Black text | 2.31:1 |
| White text | 9.05:1 |
Values
| HEX | #334C59 |
| RGB | rgb(51, 76, 89) |
| HSL | hsl(201, 27%, 27%) |
| OKLCH | oklch(40.2% 0.038 231.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 #334C59 | 9.05:1 | AAA | Lc -95.2 | Preferred for body text |
| Black text on #334C59 | 2.31:1 | Fails | Lc 13.2 | Not readable |
| #334C59 text on white | 9.05:1 | AAA | Lc 90.8 | Preferred for body text |
| #334C59 text on black | 2.31:1 | Fails | Lc -11.5 | 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
#F3F6F7
oklch(97.1% 0.003 219.5)
-
Step 100
100
#E5EBEE
oklch(93.6% 0.008 228.9)
-
Step 200
200
#CFDBE2
oklch(88.4% 0.016 233)
-
Step 300
300
#AFC4D0
oklch(80.8% 0.029 232.8)
-
Step 400
400
#85A6B8
oklch(70.7% 0.045 232.1)
-
Step 500
500
#6590A6
oklch(63% 0.058 231.1)
-
Step 600
600
#4C7A92
oklch(55.6% 0.063 232.2)
-
Step 700
700
#3C677C
oklch(49.1% 0.058 230.8)
-
Step 800
800
#325465
oklch(42.7% 0.049 231.2)
-
Step 900
900 (this color)
#334C59
oklch(40.2% 0.038 231.5)
-
Step 950
950
#1A2930
oklch(27.1% 0.024 228.7)
#334C59 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) | #464B5A | 0.027 |
| Deuteranopia (no green cones) | #404759 | 0.023 |
| Tritanopia (no blue cones) | #255050 | 0.028 |
| Achromatopsia (no color) | #494949 | 0.038 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #334C59
#334C59
oklch(40.2% 0.038 231.5)
- #594336
#594336
oklch(40.3% 0.037 51.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 #334C59, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Slate Gray #2F4F4F ΔE 0.023
- Dark Grey Blue #29465B ΔE 0.025
- Charcoal #264653 ΔE 0.027
- Deep Teal #00555A ΔE 0.042
- Charcoal Grey #3C4142 ΔE 0.044
- Dark Teal #014D4E ΔE 0.045
- Dark Blue Green #005249 ΔE 0.055
- Petrol #005F6A ΔE 0.062
Use #334C59 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.