#334377
Closest named color: Twilight Blue (#0A437A). oklch(39.6% 0.09 269.1), rgb(51, 67, 119).
Aa
White text reads best on this color (9.50:1).
About this color
#334377 is a dark, moderately saturated blue. In OKLCH its lightness is 40%, its chroma 0.090 and its hue 269°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.037 away. White text reads best on it, at 9.50:1.
| Hue family | Blues |
| Lightness | dark (40%) |
| Chroma | moderately saturated (0.090) |
| Temperature | cool |
| Nearest name | Twilight Blue (#0A437A) |
| Black text | 2.21:1 |
| White text | 9.50:1 |
Values
| HEX | #334377 |
| RGB | rgb(51, 67, 119) |
| HSL | hsl(226, 40%, 33%) |
| OKLCH | oklch(39.6% 0.09 269.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 #334377 | 9.50:1 | AAA | Lc -96.1 | Preferred for body text |
| Black text on #334377 | 2.21:1 | Fails | Lc 12.1 | Not readable |
| #334377 text on white | 9.50:1 | AAA | Lc 91.8 | Preferred for body text |
| #334377 text on black | 2.21:1 | Fails | Lc -10.5 | 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
#F3F5FC
oklch(97.1% 0.01 273.4)
-
Step 100
100
#E4EAF7
oklch(93.6% 0.019 266)
-
Step 200
200
#CFD9F3
oklch(88.6% 0.037 268.9)
-
Step 300
300
#AFBFED
oklch(80.8% 0.068 269.9)
-
Step 400
400
#859DE5
oklch(70.6% 0.109 269.4)
-
Step 500
500
#6883DD
oklch(63% 0.139 269.5)
-
Step 600
600
#506BCA
oklch(55.5% 0.15 269.1)
-
Step 700
700
#4159AF
oklch(49.1% 0.14 269)
-
Step 800
800
#36498E
oklch(42.7% 0.116 269.4)
-
Step 900
900 (this color)
#334377
oklch(39.6% 0.09 269.1)
-
Step 950
950
#1B2442
oklch(26.9% 0.057 269.6)
#334377 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) | #2D4979 | 0.018 |
| Deuteranopia (no green cones) | #254376 | 0.017 |
| Tritanopia (no blue cones) | #0E4E57 | 0.080 |
| Achromatopsia (no color) | #464646 | 0.090 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #334377
#334377
oklch(39.6% 0.09 269.1)
- #584400
#584400
oklch(39.7% 0.081 89.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 #334377, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Twilight Blue #0A437A ΔE 0.037
- Cobalt #1E488F ΔE 0.044
- Light Navy #155084 ΔE 0.044
- Dark Slate Blue #483D8B ΔE 0.050
- Dusk Blue #26538D ΔE 0.053
- Dark Grey Blue #29465B ΔE 0.054
- Deep Sea Blue #015482 ΔE 0.056
- Blueberry #464196 ΔE 0.060
Use #334377 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.