#334B82

Closest named color: Light Navy (#155084). oklch(42.2% 0.096 264.8), rgb(51, 75, 130).

Aa

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

About this color

#334B82 is a dark, moderately saturated blue. In OKLCH its lightness is 42%, its chroma 0.096 and its hue 265°. Its hue sits on the cool side of the wheel. The nearest named color is Light Navy (#155084), ΔE 0.028 away. White text reads best on it, at 8.50:1.

Hue familyBlues
Lightnessdark (42%)
Chromamoderately saturated (0.096)
Temperaturecool
Nearest nameLight Navy (#155084)
Black text2.46:1
White text8.50:1

Values

HEX#334B82
RGBrgb(51, 75, 130)
HSLhsl(222, 44%, 35%)
OKLCHoklch(42.2% 0.096 264.8)

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 #334B82 8.50:1 AAA Lc -93.6 Preferred for body text
Black text on #334B82 2.46:1 Fails Lc 14.9 Not readable
#334B82 text on white 8.50:1 AAA Lc 89.1 Fine for body text
#334B82 text on black 2.46:1 Fails Lc -13.1 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

    #E4EAF5

    oklch(93.6% 0.016 262.8)

  3. Step 200

    200

    #CFD9EF

    oklch(88.4% 0.032 266.1)

  4. Step 300

    300

    #AFC1E6

    oklch(81% 0.056 264.7)

  5. Step 400

    400

    #85A0DA

    oklch(70.8% 0.091 264.9)

  6. Step 500

    500

    #6787CF

    oklch(63% 0.115 265.1)

  7. Step 600

    600

    #4E70BC

    oklch(55.6% 0.125 264.5)

  8. Step 700

    700

    #3F5DA2

    oklch(49% 0.116 264.8)

  9. Step 800

    800 (this color)

    #334B82

    oklch(42.2% 0.096 264.8)

  10. Step 900

    900

    #2E4069

    oklch(37.7% 0.074 265.1)

  11. Step 950

    950

    #1B263E

    oklch(27.1% 0.048 264.7)

Export this scale for Tailwind in the Tailwind colors tool

#334B82 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)#3351840.017
Deuteranopia (no green cones)#2949810.014
Tritanopia (no blue cones)#0057600.084
Achromatopsia (no color)#4D4D4D0.096

Harmonies

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

Complementary

The opposite hue (180°).

  • #334B82

    #334B82

    oklch(42.2% 0.096 264.8)

  • #634900

    #634900

    oklch(42.2% 0.086 85.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #334B82

    #334B82

    oklch(42.2% 0.096 264.8)

  • #005477

    #005477

    oklch(42.1% 0.09 235.2)

  • #52417C

    #52417C

    oklch(42.1% 0.097 295.2)

Open the analogous palette in the generator

Split complementary

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

  • #334B82

    #334B82

    oklch(42.2% 0.096 264.8)

  • #753D0D

    #753D0D

    oklch(42.3% 0.097 55)

  • #4D5300

    #4D5300

    oklch(42.2% 0.095 114.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #334B82

    #334B82

    oklch(42.2% 0.096 264.8)

  • #7A3532

    #7A3532

    oklch(42.2% 0.097 24.6)

  • #265B2A

    #265B2A

    oklch(42.2% 0.097 145)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #334B82

    #334B82

    oklch(42.2% 0.096 264.8)

  • #753450

    #753450

    oklch(42.1% 0.097 355)

  • #634900

    #634900

    oklch(42.2% 0.086 85.1)

  • #005B4B

    #005B4B

    oklch(42.1% 0.079 175.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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