#334A63
Closest named color: Dark Grey Blue (#29465B). oklch(40.1% 0.051 251.2), rgb(51, 74, 99).
Aa
White text reads best on this color (9.12:1).
About this color
#334A63 is a dark, muted blue. In OKLCH its lightness is 40%, its chroma 0.051 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.022 away. White text reads best on it, at 9.12:1.
| Hue family | Blues |
| Lightness | dark (40%) |
| Chroma | muted (0.051) |
| Temperature | cool |
| Nearest name | Dark Grey Blue (#29465B) |
| Black text | 2.30:1 |
| White text | 9.12:1 |
Values
| HEX | #334A63 |
| RGB | rgb(51, 74, 99) |
| HSL | hsl(211, 32%, 29%) |
| OKLCH | oklch(40.1% 0.051 251.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 #334A63 | 9.12:1 | AAA | Lc -95.3 | Preferred for body text |
| Black text on #334A63 | 2.30:1 | Fails | Lc 13.0 | Not readable |
| #334A63 text on white | 9.12:1 | AAA | Lc 91.0 | Preferred for body text |
| #334A63 text on black | 2.30:1 | Fails | Lc -11.4 | 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
#CFDAE7
oklch(88.4% 0.022 252.5)
-
Step 300
300
#AFC3D9
oklch(80.9% 0.038 250.8)
-
Step 400
400
#85A4C6
oklch(70.8% 0.061 251)
-
Step 500
500
#658DB8
oklch(63.1% 0.079 250.9)
-
Step 600
600
#4C76A4
oklch(55.5% 0.086 251.7)
-
Step 700
700
#3D638C
oklch(49% 0.079 251.4)
-
Step 800
800
#335172
oklch(42.7% 0.066 251.8)
-
Step 900
900 (this color)
#334A63
oklch(40.1% 0.051 251.2)
-
Step 950
950
#1A2836
oklch(27.1% 0.032 249.1)
#334A63 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) | #404B64 | 0.019 |
| Deuteranopia (no green cones) | #3A4662 | 0.014 |
| Tritanopia (no blue cones) | #1F5052 | 0.046 |
| Achromatopsia (no color) | #484848 | 0.051 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #334A63
#334A63
oklch(40.1% 0.051 251.2)
- #5A4328
#5A4328
oklch(40.1% 0.052 69.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 #334A63, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Grey Blue #29465B ΔE 0.022
- Charcoal #264653 ΔE 0.034
- Dark Slate Gray #2F4F4F ΔE 0.043
- Deep Teal #00555A ΔE 0.054
- Charcoal Grey #3C4142 ΔE 0.055
- Light Navy #155084 ΔE 0.057
- Dark Teal #014D4E ΔE 0.058
- Deep Sea Blue #015482 ΔE 0.058
Use #334A63 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.