#334E6D
Closest named color: Dark Grey Blue (#29465B). oklch(41.7% 0.062 252.6), rgb(51, 78, 109).
Aa
White text reads best on this color (8.56:1).
About this color
#334E6D is a dark, muted blue. In OKLCH its lightness is 42%, its chroma 0.062 and its hue 253°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.039 away. White text reads best on it, at 8.56:1.
| Hue family | Blues |
| Lightness | dark (42%) |
| Chroma | muted (0.062) |
| Temperature | cool |
| Nearest name | Dark Grey Blue (#29465B) |
| Black text | 2.45:1 |
| White text | 8.56:1 |
Values
| HEX | #334E6D |
| RGB | rgb(51, 78, 109) |
| HSL | hsl(212, 36%, 31%) |
| OKLCH | oklch(41.7% 0.062 252.6) |
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 #334E6D | 8.56:1 | AAA | Lc -93.9 | Preferred for body text |
| Black text on #334E6D | 2.45:1 | Fails | Lc 14.6 | Not readable |
| #334E6D text on white | 8.56:1 | AAA | Lc 89.4 | Fine for body text |
| #334E6D text on black | 2.45:1 | Fails | Lc -12.9 | 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
#D0DAE6
oklch(88.4% 0.02 252.9)
-
Step 300
300
#B1C3D8
oklch(81% 0.036 252.3)
-
Step 400
400
#87A3C4
oklch(70.6% 0.058 252.8)
-
Step 500
500
#698CB5
oklch(63% 0.074 252.9)
-
Step 600
600
#5076A1
oklch(55.6% 0.08 252.3)
-
Step 700
700
#41638A
oklch(49.1% 0.074 252.7)
-
Step 800
800 (this color)
#334E6D
oklch(41.7% 0.062 252.6)
-
Step 900
900
#2F435B
oklch(37.7% 0.049 253.5)
-
Step 950
950
#1C2735
oklch(26.9% 0.03 254.7)
#334E6D 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) | #424F6E | 0.021 |
| Deuteranopia (no green cones) | #3A4A6C | 0.014 |
| Tritanopia (no blue cones) | #175559 | 0.053 |
| Achromatopsia (no color) | #4C4C4C | 0.062 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #334E6D
#334E6D
oklch(41.7% 0.062 252.6)
- #614724
#614724
oklch(41.8% 0.062 72.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 #334E6D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Grey Blue #29465B ΔE 0.039
- Light Navy #155084 ΔE 0.043
- YInMn Blue #415A77 ΔE 0.044
- Deep Sea Blue #015482 ΔE 0.044
- Light Navy Blue #2E5A88 ΔE 0.051
- Charcoal #264653 ΔE 0.051
- Dusk Blue #26538D ΔE 0.053
- Dark Slate Gray #2F4F4F ΔE 0.054
Use #334E6D 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.