#334D8E
Closest named color: Dusk Blue (#26538D). oklch(43.4% 0.112 265.6), rgb(51, 77, 142).
Aa
White text reads best on this color (8.09:1).
About this color
#334D8E is a dark, moderately saturated blue. In OKLCH its lightness is 43%, its chroma 0.112 and its hue 266°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk Blue (#26538D), ΔE 0.020 away. White text reads best on it, at 8.09:1.
| Hue family | Blues |
| Lightness | dark (43%) |
| Chroma | moderately saturated (0.112) |
| Temperature | cool |
| Nearest name | Dusk Blue (#26538D) |
| Black text | 2.59:1 |
| White text | 8.09:1 |
Values
| HEX | #334D8E |
| RGB | rgb(51, 77, 142) |
| HSL | hsl(223, 47%, 38%) |
| OKLCH | oklch(43.4% 0.112 265.6) |
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 #334D8E | 8.09:1 | AAA | Lc -92.5 | Preferred for body text |
| Black text on #334D8E | 2.59:1 | Fails | Lc 16.2 | Dividers and decoration only |
| #334D8E text on white | 8.09:1 | AAA | Lc 87.8 | Fine for body text |
| #334D8E text on black | 2.59:1 | Fails | Lc -14.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 800.
-
Step 50
50
#F3F5FC
oklch(97.1% 0.01 273.4)
-
Step 100
100
#E4EAF7
oklch(93.6% 0.019 266)
-
Step 200
200
#CED9F2
oklch(88.5% 0.036 266.7)
-
Step 300
300
#ADC0EC
oklch(80.8% 0.066 266.6)
-
Step 400
400
#819FE2
oklch(70.7% 0.104 265.4)
-
Step 500
500
#6286DA
oklch(63.1% 0.133 265.3)
-
Step 600
600
#4A6EC8
oklch(55.7% 0.145 265.5)
-
Step 700
700
#3B5BAD
oklch(49.1% 0.136 265.6)
-
Step 800
800 (this color)
#334D8E
oklch(43.4% 0.112 265.6)
-
Step 900
900
#2B3F70
oklch(37.7% 0.088 265.7)
-
Step 950
950
#192541
oklch(26.9% 0.055 265.3)
#334D8E 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) | #2E5490 | 0.020 |
| Deuteranopia (no green cones) | #204C8D | 0.020 |
| Tritanopia (no blue cones) | #005C66 | 0.096 |
| Achromatopsia (no color) | #505050 | 0.112 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #334D8E
#334D8E
oklch(43.4% 0.112 265.6)
- #674C00
#674C00
oklch(43.4% 0.089 85)
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 #334D8E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dusk Blue #26538D ΔE 0.020
- Cobalt #1E488F ΔE 0.028
- Light Navy #155084 ΔE 0.033
- Twilight #4E518B ΔE 0.040
- Light Navy Blue #2E5A88 ΔE 0.041
- Blueberry #464196 ΔE 0.042
- Denim Blue #3B5B92 ΔE 0.043
- Deep Sea Blue #015482 ΔE 0.044
Use #334D8E 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.