#334D6D
Closest named color: Dark Grey Blue (#29465B). oklch(41.4% 0.063 254.2), rgb(51, 77, 109).
Aa
White text reads best on this color (8.66:1).
About this color
#334D6D is a dark, muted blue. In OKLCH its lightness is 41%, its chroma 0.063 and its hue 254°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.038 away. White text reads best on it, at 8.66:1.
| Hue family | Blues |
| Lightness | dark (41%) |
| Chroma | muted (0.063) |
| Temperature | cool |
| Nearest name | Dark Grey Blue (#29465B) |
| Black text | 2.42:1 |
| White text | 8.66:1 |
Values
| HEX | #334D6D |
| RGB | rgb(51, 77, 109) |
| HSL | hsl(213, 36%, 31%) |
| OKLCH | oklch(41.4% 0.063 254.2) |
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 #334D6D | 8.66:1 | AAA | Lc -94.2 | Preferred for body text |
| Black text on #334D6D | 2.42:1 | Fails | Lc 14.3 | Not readable |
| #334D6D text on white | 8.66:1 | AAA | Lc 89.6 | Fine for body text |
| #334D6D text on black | 2.42:1 | Fails | Lc -12.6 | 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
#F3F6F9
oklch(97.2% 0.005 247.9)
-
Step 100
100
#E5EAF1
oklch(93.5% 0.011 256.7)
-
Step 200
200
#D0DAE7
oklch(88.5% 0.021 254.9)
-
Step 300
300
#B1C2D8
oklch(80.8% 0.036 254.9)
-
Step 400
400
#88A3C5
oklch(70.7% 0.058 254.4)
-
Step 500
500
#6A8CB6
oklch(63.1% 0.074 254.1)
-
Step 600
600
#5176A2
oklch(55.7% 0.081 253.4)
-
Step 700
700
#42638B
oklch(49.2% 0.075 253.9)
-
Step 800
800 (this color)
#334D6D
oklch(41.4% 0.063 254.2)
-
Step 900
900
#2F435B
oklch(37.7% 0.049 253.5)
-
Step 950
950
#1C2735
oklch(26.9% 0.03 254.7)
#334D6D 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) | #404F6E | 0.019 |
| Deuteranopia (no green cones) | #39496C | 0.013 |
| Tritanopia (no blue cones) | #175458 | 0.055 |
| Achromatopsia (no color) | #4B4B4B | 0.063 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #334D6D
#334D6D
oklch(41.4% 0.063 254.2)
- #604622
#604622
oklch(41.4% 0.063 73.5)
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 #334D6D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Grey Blue #29465B ΔE 0.038
- Light Navy #155084 ΔE 0.043
- Deep Sea Blue #015482 ΔE 0.045
- YInMn Blue #415A77 ΔE 0.046
- Charcoal #264653 ΔE 0.050
- Light Navy Blue #2E5A88 ΔE 0.052
- Dusk Blue #26538D ΔE 0.053
- Dark Slate Gray #2F4F4F ΔE 0.055
Use #334D6D 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.