#334E8E

Closest named color: Dusk Blue (#26538D). oklch(43.7% 0.111 265), rgb(51, 78, 142).

Aa

White text reads best on this color (8.01:1).

About this color

#334E8E is a dark, moderately saturated blue. In OKLCH its lightness is 44%, its chroma 0.111 and its hue 265°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk Blue (#26538D), ΔE 0.018 away. White text reads best on it, at 8.01:1.

Hue familyBlues
Lightnessdark (44%)
Chromamoderately saturated (0.111)
Temperaturecool
Nearest nameDusk Blue (#26538D)
Black text2.62:1
White text8.01:1

Values

HEX#334E8E
RGBrgb(51, 78, 142)
HSLhsl(222, 47%, 38%)
OKLCHoklch(43.7% 0.111 265)

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.

PairWCAG 2ResultAPCAAPCA guidance
White text on #334E8E 8.01:1 AAA Lc -92.2 Preferred for body text
Black text on #334E8E 2.62:1 Fails Lc 16.5 Dividers and decoration only
#334E8E text on white 8.01:1 AAA Lc 87.5 Fine for body text
#334E8E text on black 2.62:1 Fails Lc -14.6 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.

  1. Step 50

    50

    #F3F5FB

    oklch(97% 0.008 271.3)

  2. Step 100

    100

    #E4EAF7

    oklch(93.6% 0.019 266)

  3. Step 200

    200

    #CED9F2

    oklch(88.5% 0.036 266.7)

  4. Step 300

    300

    #ACC1EB

    oklch(80.9% 0.064 264.1)

  5. Step 400

    400

    #819FE2

    oklch(70.7% 0.104 265.4)

  6. Step 500

    500

    #6286D9

    oklch(63.1% 0.132 265.1)

  7. Step 600

    600

    #496EC7

    oklch(55.6% 0.144 265.1)

  8. Step 700

    700

    #3B5CAC

    oklch(49.2% 0.133 265)

  9. Step 800

    800 (this color)

    #334E8E

    oklch(43.7% 0.111 265)

  10. Step 900

    900

    #2B3F6F

    oklch(37.6% 0.086 265.4)

  11. Step 950

    950

    #192541

    oklch(26.9% 0.055 265.3)

Export this scale for Tailwind in the Tailwind colors tool

#334E8E 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.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#3055900.020
Deuteranopia (no green cones)#224D8D0.018
Tritanopia (no blue cones)#005D670.094
Achromatopsia (no color)#5050500.111

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #334E8E

    #334E8E

    oklch(43.7% 0.111 265)

  • #684D00

    #684D00

    oklch(43.7% 0.09 85.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #334E8E

    #334E8E

    oklch(43.7% 0.111 265)

  • #00597D

    #00597D

    oklch(43.8% 0.092 234.7)

  • #574387

    #574387

    oklch(43.7% 0.11 295)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #334E8E

    #334E8E

    oklch(43.7% 0.111 265)

  • #7D3E00

    #7D3E00

    oklch(43.6% 0.108 55.2)

  • #505700

    #505700

    oklch(43.6% 0.099 115)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #334E8E

    #334E8E

    oklch(43.7% 0.111 265)

  • #843431

    #843431

    oklch(43.6% 0.111 24.9)

  • #216127

    #216127

    oklch(43.7% 0.111 145)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #334E8E

    #334E8E

    oklch(43.7% 0.111 265)

  • #7E3355

    #7E3355

    oklch(43.5% 0.111 354.4)

  • #684D00

    #684D00

    oklch(43.7% 0.09 85.3)

  • #00604F

    #00604F

    oklch(43.7% 0.082 175.1)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #334E8E, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #334E8E 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.