#334B7C
Closest named color: Light Navy (#155084). oklch(41.8% 0.087 263.4), rgb(51, 75, 124).
Aa
White text reads best on this color (8.61:1).
About this color
#334B7C is a dark, moderately saturated blue. In OKLCH its lightness is 42%, its chroma 0.087 and its hue 263°. Its hue sits on the cool side of the wheel. The nearest named color is Light Navy (#155084), ΔE 0.029 away. White text reads best on it, at 8.61:1.
| Hue family | Blues |
| Lightness | dark (42%) |
| Chroma | moderately saturated (0.087) |
| Temperature | cool |
| Nearest name | Light Navy (#155084) |
| Black text | 2.43:1 |
| White text | 8.61:1 |
Values
| HEX | #334B7C |
| RGB | rgb(51, 75, 124) |
| HSL | hsl(220, 42%, 34%) |
| OKLCH | oklch(41.8% 0.087 263.4) |
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 #334B7C | 8.61:1 | AAA | Lc -94.0 | Preferred for body text |
| Black text on #334B7C | 2.43:1 | Fails | Lc 14.5 | Not readable |
| #334B7C text on white | 8.61:1 | AAA | Lc 89.4 | Fine for body text |
| #334B7C text on black | 2.43:1 | Fails | Lc -12.8 | 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
#F3F5FA
oklch(97% 0.007 268.5)
-
Step 100
100
#E5EAF4
oklch(93.6% 0.015 264.5)
-
Step 200
200
#CFDAED
oklch(88.6% 0.029 261.5)
-
Step 300
300
#B0C1E2
oklch(80.9% 0.05 263.7)
-
Step 400
400
#86A1D4
oklch(70.8% 0.081 262.8)
-
Step 500
500
#6888C9
oklch(63% 0.105 263.7)
-
Step 600
600
#5071B6
oklch(55.6% 0.114 263.7)
-
Step 700
700
#415F9C
oklch(49.2% 0.104 263.3)
-
Step 800
800 (this color)
#334B7C
oklch(41.8% 0.087 263.4)
-
Step 900
900
#2E4166
oklch(37.7% 0.068 262.8)
-
Step 950
950
#1B263C
oklch(27% 0.044 263.4)
#334B7C 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) | #374F7E | 0.014 |
| Deuteranopia (no green cones) | #2D497B | 0.010 |
| Tritanopia (no blue cones) | #00565D | 0.079 |
| Achromatopsia (no color) | #4C4C4C | 0.087 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #334B7C
#334B7C
oklch(41.8% 0.087 263.4)
- #634700
#634700
oklch(41.7% 0.086 82.7)
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 #334B7C, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Navy #155084 ΔE 0.029
- Dusk Blue #26538D ΔE 0.033
- Deep Sea Blue #015482 ΔE 0.038
- Cobalt #1E488F ΔE 0.040
- Light Navy Blue #2E5A88 ΔE 0.045
- Twilight Blue #0A437A ΔE 0.046
- Dusk #4E5481 ΔE 0.049
- Twilight #4E518B ΔE 0.050
Use #334B7C 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.