#334D91

Closest named color: Dusk Blue (#26538D). oklch(43.6% 0.116 266), rgb(51, 77, 145).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (44%)
Chromamoderately saturated (0.116)
Temperaturecool
Nearest nameDusk Blue (#26538D)
Black text2.61:1
White text8.04:1

Values

HEX#334D91
RGBrgb(51, 77, 145)
HSLhsl(223, 48%, 38%)
OKLCHoklch(43.6% 0.116 266)

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 #334D91 8.04:1 AAA Lc -92.3 Preferred for body text
Black text on #334D91 2.61:1 Fails Lc 16.4 Dividers and decoration only
#334D91 text on white 8.04:1 AAA Lc 87.6 Fine for body text
#334D91 text on black 2.61:1 Fails Lc -14.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 800.

  1. Step 50

    50

    #F2F5FC

    oklch(97% 0.01 267.4)

  2. Step 100

    100

    #E4EAF8

    oklch(93.7% 0.02 267.3)

  3. Step 200

    200

    #CDD9F3

    oklch(88.4% 0.038 265.8)

  4. Step 300

    300

    #ACC0EE

    oklch(80.9% 0.069 266.5)

  5. Step 400

    400

    #819FE5

    oklch(70.8% 0.108 266)

  6. Step 500

    500

    #6285DD

    oklch(63.1% 0.139 266.2)

  7. Step 600

    600

    #496DCB

    oklch(55.6% 0.151 265.9)

  8. Step 700

    700

    #3B5AAF

    oklch(49% 0.14 266.3)

  9. Step 800

    800 (this color)

    #334D91

    oklch(43.6% 0.116 266)

  10. Step 900

    900

    #2B3F71

    oklch(37.8% 0.089 265.9)

  11. Step 950

    950

    #192542

    oklch(27% 0.057 265.8)

Export this scale for Tailwind in the Tailwind colors tool

#334D91 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)#2C55940.022
Deuteranopia (no green cones)#1C4C900.023
Tritanopia (no blue cones)#005D680.099
Achromatopsia (no color)#5050500.116

Harmonies

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

Complementary

The opposite hue (180°).

  • #334D91

    #334D91

    oklch(43.6% 0.116 266)

  • #674D00

    #674D00

    oklch(43.6% 0.089 86.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #334D91

    #334D91

    oklch(43.6% 0.116 266)

  • #00587E

    #00587E

    oklch(43.6% 0.094 236.4)

  • #584189

    #584189

    oklch(43.6% 0.116 296)

Open the analogous palette in the generator

Split complementary

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

  • #334D91

    #334D91

    oklch(43.6% 0.116 266)

  • #7C3F00

    #7C3F00

    oklch(43.6% 0.106 56.5)

  • #4F5800

    #4F5800

    oklch(43.7% 0.1 116.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #334D91

    #334D91

    oklch(43.6% 0.116 266)

  • #86322E

    #86322E

    oklch(43.6% 0.116 25.8)

  • #196226

    #196226

    oklch(43.8% 0.117 146.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #334D91

    #334D91

    oklch(43.6% 0.116 266)

  • #813154

    #813154

    oklch(43.7% 0.117 355.8)

  • #674D00

    #674D00

    oklch(43.6% 0.089 86.2)

  • #006050

    #006050

    oklch(43.7% 0.082 176.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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