#334A62
Closest named color: Dark Grey Blue (#29465B). oklch(40.1% 0.05 250.2), rgb(51, 74, 98).
Aa
White text reads best on this color (9.14:1).
About this color
#334A62 is a dark, muted blue. In OKLCH its lightness is 40%, its chroma 0.050 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.021 away. White text reads best on it, at 9.14:1.
| Hue family | Blues |
| Lightness | dark (40%) |
| Chroma | muted (0.050) |
| Temperature | cool |
| Nearest name | Dark Grey Blue (#29465B) |
| Black text | 2.29:1 |
| White text | 9.14:1 |
Values
| HEX | #334A62 |
| RGB | rgb(51, 74, 98) |
| HSL | hsl(211, 32%, 29%) |
| OKLCH | oklch(40.1% 0.05 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 #334A62 | 9.14:1 | AAA | Lc -95.4 | Preferred for body text |
| Black text on #334A62 | 2.29:1 | Fails | Lc 13.0 | Not readable |
| #334A62 text on white | 9.14:1 | AAA | Lc 91.0 | Preferred for body text |
| #334A62 text on black | 2.29:1 | Fails | Lc -11.3 | 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 900.
-
Step 50
50
#F3F6F9
oklch(97.2% 0.005 247.9)
-
Step 100
100
#E5EBF1
oklch(93.7% 0.01 247.9)
-
Step 200
200
#CFDBE7
oklch(88.6% 0.021 248.1)
-
Step 300
300
#AFC3D8
oklch(80.9% 0.037 249.6)
-
Step 400
400
#85A4C5
oklch(70.7% 0.059 250.3)
-
Step 500
500
#668DB6
oklch(63.1% 0.076 250.3)
-
Step 600
600
#4C77A2
oklch(55.6% 0.083 249.5)
-
Step 700
700
#3D648B
oklch(49.2% 0.077 249.6)
-
Step 800
800
#335171
oklch(42.6% 0.064 251)
-
Step 900
900 (this color)
#334A62
oklch(40.1% 0.05 250.2)
-
Step 950
950
#1B2835
oklch(27.1% 0.03 249)
#334A62 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) | #414B63 | 0.020 |
| Deuteranopia (no green cones) | #3B4662 | 0.016 |
| Tritanopia (no blue cones) | #204F52 | 0.042 |
| Achromatopsia (no color) | #484848 | 0.050 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #334A62
#334A62
oklch(40.1% 0.05 250.2)
- #594329
#594329
oklch(40% 0.05 70.3)
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 #334A62, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Grey Blue #29465B ΔE 0.021
- Charcoal #264653 ΔE 0.033
- Dark Slate Gray #2F4F4F ΔE 0.041
- Deep Teal #00555A ΔE 0.053
- Charcoal Grey #3C4142 ΔE 0.054
- Dark Teal #014D4E ΔE 0.057
- Light Navy #155084 ΔE 0.059
- YInMn Blue #415A77 ΔE 0.059
Use #334A62 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.