#334675
Closest named color: Twilight Blue (#0A437A). oklch(40.2% 0.083 266.1), rgb(51, 70, 117).
Aa
White text reads best on this color (9.23:1).
About this color
#334675 is a dark, moderately saturated blue. In OKLCH its lightness is 40%, its chroma 0.083 and its hue 266°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.040 away. White text reads best on it, at 9.23:1.
| Hue family | Blues |
| Lightness | dark (40%) |
| Chroma | moderately saturated (0.083) |
| Temperature | cool |
| Nearest name | Twilight Blue (#0A437A) |
| Black text | 2.27:1 |
| White text | 9.23:1 |
Values
| HEX | #334675 |
| RGB | rgb(51, 70, 117) |
| HSL | hsl(223, 39%, 33%) |
| OKLCH | oklch(40.2% 0.083 266.1) |
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 #334675 | 9.23:1 | AAA | Lc -95.5 | Preferred for body text |
| Black text on #334675 | 2.27:1 | Fails | Lc 12.8 | Not readable |
| #334675 text on white | 9.23:1 | AAA | Lc 91.2 | Preferred for body text |
| #334675 text on black | 2.27:1 | Fails | Lc -11.2 | 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
#F3F5FB
oklch(97% 0.008 271.3)
-
Step 100
100
#E4EAF6
oklch(93.6% 0.017 264.5)
-
Step 200
200
#CED9F1
oklch(88.4% 0.035 266)
-
Step 300
300
#AEC0EA
oklch(80.8% 0.063 266.8)
-
Step 400
400
#839FDF
oklch(70.6% 0.099 265.8)
-
Step 500
500
#6586D6
oklch(63.1% 0.127 265.9)
-
Step 600
600
#4D6EC4
oklch(55.6% 0.139 266.2)
-
Step 700
700
#3E5CA9
oklch(49.2% 0.128 265.9)
-
Step 800
800
#334B89
oklch(42.6% 0.107 266.1)
-
Step 900
900 (this color)
#334675
oklch(40.2% 0.083 266.1)
-
Step 950
950
#1A2540
oklch(26.9% 0.053 266.2)
#334675 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) | #334B77 | 0.015 |
| Deuteranopia (no green cones) | #2B4574 | 0.011 |
| Tritanopia (no blue cones) | #105058 | 0.074 |
| Achromatopsia (no color) | #474747 | 0.083 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #334675
#334675
oklch(40.2% 0.083 266.1)
- #5C4400
#5C4400
oklch(40.2% 0.082 85.6)
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 #334675, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Twilight Blue #0A437A ΔE 0.040
- Light Navy #155084 ΔE 0.040
- Cobalt #1E488F ΔE 0.047
- Dark Grey Blue #29465B ΔE 0.048
- Dusk Blue #26538D ΔE 0.050
- Deep Sea Blue #015482 ΔE 0.050
- Dark Slate Blue #483D8B ΔE 0.056
- Light Navy Blue #2E5A88 ΔE 0.061
Use #334675 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.