#334C71

Closest named color: Light Navy (#155084). oklch(41.4% 0.07 258), rgb(51, 76, 113).

Aa

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

About this color

#334C71 is a dark, muted blue. In OKLCH its lightness is 41%, its chroma 0.070 and its hue 258°. Its hue sits on the cool side of the wheel. The nearest named color is Light Navy (#155084), ΔE 0.038 away. White text reads best on it, at 8.70:1.

Hue familyBlues
Lightnessdark (41%)
Chromamuted (0.070)
Temperaturecool
Nearest nameLight Navy (#155084)
Black text2.41:1
White text8.70:1

Values

HEX#334C71
RGBrgb(51, 76, 113)
HSLhsl(216, 38%, 32%)
OKLCHoklch(41.4% 0.07 258)

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 #334C71 8.70:1 AAA Lc -94.2 Preferred for body text
Black text on #334C71 2.41:1 Fails Lc 14.2 Not readable
#334C71 text on white 8.70:1 AAA Lc 89.7 Fine for body text
#334C71 text on black 2.41:1 Fails Lc -12.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

    #F3F6F9

    oklch(97.2% 0.005 247.9)

  2. Step 100

    100

    #E5EAF2

    oklch(93.6% 0.012 259.8)

  3. Step 200

    200

    #D0DAE8

    oklch(88.5% 0.022 256.7)

  4. Step 300

    300

    #B1C2DB

    oklch(80.9% 0.04 257.9)

  5. Step 400

    400

    #88A2CA

    oklch(70.7% 0.066 258.9)

  6. Step 500

    500

    #6A8BBC

    oklch(63.1% 0.083 258.1)

  7. Step 600

    600

    #5174A8

    oklch(55.5% 0.091 258.1)

  8. Step 700

    700

    #426190

    oklch(49% 0.084 258.5)

  9. Step 800

    800 (this color)

    #334C71

    oklch(41.4% 0.07 258)

  10. Step 900

    900

    #2F425E

    oklch(37.6% 0.054 257.9)

  11. Step 950

    950

    #1C2737

    oklch(27% 0.034 257.7)

Export this scale for Tailwind in the Tailwind colors tool

#334C71 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)#3D4E730.015
Deuteranopia (no green cones)#3648700.012
Tritanopia (no blue cones)#1354590.062
Achromatopsia (no color)#4B4B4B0.070

Harmonies

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

Complementary

The opposite hue (180°).

  • #334C71

    #334C71

    oklch(41.4% 0.07 258)

  • #60461A

    #60461A

    oklch(41.3% 0.069 77.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #334C71

    #334C71

    oklch(41.4% 0.07 258)

  • #185269

    #185269

    oklch(41.3% 0.07 228.7)

  • #4A456F

    #4A456F

    oklch(41.4% 0.069 288.4)

Open the analogous palette in the generator

Split complementary

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

  • #334C71

    #334C71

    oklch(41.4% 0.07 258)

  • #6A3F28

    #6A3F28

    oklch(41.4% 0.07 48.2)

  • #4F4E1D

    #4F4E1D

    oklch(41.4% 0.069 108)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #334C71

    #334C71

    oklch(41.4% 0.07 258)

  • #6C3B3D

    #6C3B3D

    oklch(41.4% 0.069 17.9)

  • #38542E

    #38542E

    oklch(41.3% 0.069 137.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #334C71

    #334C71

    oklch(41.4% 0.07 258)

  • #673B52

    #673B52

    oklch(41.4% 0.07 347.9)

  • #60461A

    #60461A

    oklch(41.3% 0.069 77.7)

  • #1C5744

    #1C5744

    oklch(41.3% 0.069 168.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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