#334C68
Closest named color: Dark Grey Blue (#29465B). oklch(40.9% 0.056 252), rgb(51, 76, 104).
Aa
White text reads best on this color (8.84:1).
About this color
#334C68 is a dark, muted blue. In OKLCH its lightness is 41%, its chroma 0.056 and its hue 252°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.030 away. White text reads best on it, at 8.84:1.
| Hue family | Blues |
| Lightness | dark (41%) |
| Chroma | muted (0.056) |
| Temperature | cool |
| Nearest name | Dark Grey Blue (#29465B) |
| Black text | 2.37:1 |
| White text | 8.84:1 |
Values
| HEX | #334C68 |
| RGB | rgb(51, 76, 104) |
| HSL | hsl(212, 34%, 30%) |
| OKLCH | oklch(40.9% 0.056 252) |
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 #334C68 | 8.84:1 | AAA | Lc -94.6 | Preferred for body text |
| Black text on #334C68 | 2.37:1 | Fails | Lc 13.8 | Not readable |
| #334C68 text on white | 8.84:1 | AAA | Lc 90.2 | Preferred for body text |
| #334C68 text on black | 2.37:1 | Fails | Lc -12.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
#D1DAE5
oklch(88.5% 0.018 253.4)
-
Step 300
300
#B2C3D6
oklch(81% 0.033 251.2)
-
Step 400
400
#89A3C1
oklch(70.6% 0.053 252.2)
-
Step 500
500
#6C8CB2
oklch(63% 0.068 253.1)
-
Step 600
600
#53769D
oklch(55.6% 0.073 251.8)
-
Step 700
700
#436387
oklch(49.1% 0.069 252.1)
-
Step 800
800 (this color)
#334C68
oklch(40.9% 0.056 252)
-
Step 900
900
#304359
oklch(37.7% 0.045 252.6)
-
Step 950
950
#1C2734
oklch(26.9% 0.029 253)
#334C68 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) | #414D69 | 0.020 |
| Deuteranopia (no green cones) | #3A4867 | 0.014 |
| Tritanopia (no blue cones) | #1B5256 | 0.048 |
| Achromatopsia (no color) | #4A4A4A | 0.056 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #334C68
#334C68
oklch(40.9% 0.056 252)
- #5D4526
#5D4526
oklch(40.9% 0.056 72.2)
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 #334C68, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Grey Blue #29465B ΔE 0.030
- Charcoal #264653 ΔE 0.042
- Dark Slate Gray #2F4F4F ΔE 0.048
- Light Navy #155084 ΔE 0.050
- YInMn Blue #415A77 ΔE 0.051
- Deep Sea Blue #015482 ΔE 0.051
- Deep Teal #00555A ΔE 0.055
- Twilight Blue #0A437A ΔE 0.059
Use #334C68 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.