#334F6D
Closest named color: Dark Grey Blue (#29465B). oklch(41.9% 0.061 251.1), rgb(51, 79, 109).
Aa
White text reads best on this color (8.46:1).
About this color
#334F6D is a dark, muted blue. In OKLCH its lightness is 42%, its chroma 0.061 and its hue 251°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.041 away. White text reads best on it, at 8.46:1.
| Hue family | Blues |
| Lightness | dark (42%) |
| Chroma | muted (0.061) |
| Temperature | cool |
| Nearest name | Dark Grey Blue (#29465B) |
| Black text | 2.47:1 |
| White text | 8.46:1 |
Values
| HEX | #334F6D |
| RGB | rgb(51, 79, 109) |
| HSL | hsl(211, 36%, 31%) |
| OKLCH | oklch(41.9% 0.061 251.1) |
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 #334F6D | 8.46:1 | AAA | Lc -93.6 | Preferred for body text |
| Black text on #334F6D | 2.47:1 | Fails | Lc 14.9 | Not readable |
| #334F6D text on white | 8.46:1 | AAA | Lc 89.1 | Fine for body text |
| #334F6D text on black | 2.47:1 | Fails | Lc -13.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
#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
#B0C3D7
oklch(80.9% 0.035 249.6)
-
Step 400
400
#87A4C3
oklch(70.8% 0.056 250.3)
-
Step 500
500
#688DB4
oklch(63.1% 0.072 250.3)
-
Step 600
600
#4F76A0
oklch(55.5% 0.079 251.1)
-
Step 700
700
#406389
oklch(49% 0.074 251.4)
-
Step 800
800 (this color)
#334F6D
oklch(41.9% 0.061 251.1)
-
Step 900
900
#2E435A
oklch(37.6% 0.048 251.4)
-
Step 950
950
#1B2835
oklch(27.1% 0.03 249)
#334F6D 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) | #43506E | 0.022 |
| Deuteranopia (no green cones) | #3C4A6C | 0.018 |
| Tritanopia (no blue cones) | #165659 | 0.053 |
| Achromatopsia (no color) | #4D4D4D | 0.061 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #334F6D
#334F6D
oklch(41.9% 0.061 251.1)
- #624726
#624726
oklch(42% 0.061 70.4)
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 #334F6D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Grey Blue #29465B ΔE 0.041
- YInMn Blue #415A77 ΔE 0.041
- Deep Sea Blue #015482 ΔE 0.044
- Light Navy #155084 ΔE 0.044
- Light Navy Blue #2E5A88 ΔE 0.049
- Charcoal #264653 ΔE 0.052
- Dark Slate Gray #2F4F4F ΔE 0.053
- Dusk Blue #26538D ΔE 0.053
Use #334F6D 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.