#334F6C
Closest named color: Dark Grey Blue (#29465B). oklch(41.9% 0.059 250.2), rgb(51, 79, 108).
Aa
White text reads best on this color (8.48:1).
About this color
#334F6C is a dark, muted blue. In OKLCH its lightness is 42%, its chroma 0.059 and its hue 250°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.040 away. White text reads best on it, at 8.48:1.
| Hue family | Blues |
| Lightness | dark (42%) |
| Chroma | muted (0.059) |
| Temperature | cool |
| Nearest name | Dark Grey Blue (#29465B) |
| Black text | 2.47:1 |
| White text | 8.48:1 |
Values
| HEX | #334F6C |
| RGB | rgb(51, 79, 108) |
| HSL | hsl(211, 36%, 31%) |
| OKLCH | oklch(41.9% 0.059 250.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 #334F6C | 8.48:1 | AAA | Lc -93.7 | Preferred for body text |
| Black text on #334F6C | 2.47:1 | Fails | Lc 14.9 | Not readable |
| #334F6C text on white | 8.48:1 | AAA | Lc 89.1 | Fine for body text |
| #334F6C 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
#F3F6F8
oklch(97.1% 0.004 236.5)
-
Step 100
100
#E5EAF0
oklch(93.5% 0.01 252.8)
-
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
#698DB3
oklch(63.1% 0.07 250.3)
-
Step 600
600
#50779F
oklch(55.7% 0.077 249.9)
-
Step 700
700
#406488
oklch(49.2% 0.071 249.5)
-
Step 800
800 (this color)
#334F6C
oklch(41.9% 0.059 250.2)
-
Step 900
900
#2E4359
oklch(37.5% 0.046 250.3)
-
Step 950
950
#1B2834
oklch(27.1% 0.029 246.9)
#334F6C 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) | #43506D | 0.022 |
| Deuteranopia (no green cones) | #3C4A6B | 0.018 |
| Tritanopia (no blue cones) | #175659 | 0.052 |
| Achromatopsia (no color) | #4D4D4D | 0.059 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #334F6C
#334F6C
oklch(41.9% 0.059 250.2)
- #614727
#614727
oklch(41.9% 0.059 70.8)
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 #334F6C, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Grey Blue #29465B ΔE 0.040
- YInMn Blue #415A77 ΔE 0.042
- Deep Sea Blue #015482 ΔE 0.045
- Light Navy #155084 ΔE 0.045
- Light Navy Blue #2E5A88 ΔE 0.050
- Charcoal #264653 ΔE 0.051
- Dark Slate Gray #2F4F4F ΔE 0.051
- Dusk #4E5481 ΔE 0.054
Use #334F6C 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.