#334A78

Closest named color: Light Navy (#155084). oklch(41.3% 0.083 263.1), rgb(51, 74, 120).

Aa

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

About this color

#334A78 is a dark, moderately saturated blue. In OKLCH its lightness is 41%, its chroma 0.083 and its hue 263°. Its hue sits on the cool side of the wheel. The nearest named color is Light Navy (#155084), ΔE 0.032 away. White text reads best on it, at 8.78:1.

Hue familyBlues
Lightnessdark (41%)
Chromamoderately saturated (0.083)
Temperaturecool
Nearest nameLight Navy (#155084)
Black text2.39:1
White text8.78:1

Values

HEX#334A78
RGBrgb(51, 74, 120)
HSLhsl(220, 40%, 34%)
OKLCHoklch(41.3% 0.083 263.1)

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 #334A78 8.78:1 AAA Lc -94.4 Preferred for body text
Black text on #334A78 2.39:1 Fails Lc 14.0 Not readable
#334A78 text on white 8.78:1 AAA Lc 89.9 Fine for body text
#334A78 text on black 2.39:1 Fails Lc -12.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.

  1. Step 50

    50

    #F3F5FA

    oklch(97% 0.007 268.5)

  2. Step 100

    100

    #E5EAF4

    oklch(93.6% 0.015 264.5)

  3. Step 200

    200

    #D0DAEB

    oklch(88.6% 0.026 261.1)

  4. Step 300

    300

    #B0C1E1

    oklch(80.9% 0.049 263.1)

  5. Step 400

    400

    #87A1D1

    oklch(70.7% 0.077 262.4)

  6. Step 500

    500

    #6A89C5

    oklch(63.1% 0.098 263)

  7. Step 600

    600

    #5272B2

    oklch(55.7% 0.107 263.2)

  8. Step 700

    700

    #425F99

    oklch(49.1% 0.1 263.1)

  9. Step 800

    800 (this color)

    #334A78

    oklch(41.3% 0.083 263.1)

  10. Step 900

    900

    #2F4164

    oklch(37.7% 0.065 262.9)

  11. Step 950

    950

    #1C263A

    oklch(26.9% 0.04 263.6)

Export this scale for Tailwind in the Tailwind colors tool

#334A78 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)#374E7A0.014
Deuteranopia (no green cones)#2F48770.008
Tritanopia (no blue cones)#09545B0.074
Achromatopsia (no color)#4B4B4B0.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #334A78

    #334A78

    oklch(41.3% 0.083 263.1)

  • #614605

    #614605

    oklch(41.3% 0.082 82.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #334A78

    #334A78

    oklch(41.3% 0.083 263.1)

  • #075271

    #075271

    oklch(41.3% 0.083 233.5)

  • #4D4274

    #4D4274

    oklch(41.4% 0.082 292.5)

Open the analogous palette in the generator

Split complementary

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

  • #334A78

    #334A78

    oklch(41.3% 0.083 263.1)

  • #6D3D1B

    #6D3D1B

    oklch(41.2% 0.082 53.4)

  • #4C5011

    #4C5011

    oklch(41.5% 0.083 113.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #334A78

    #334A78

    oklch(41.3% 0.083 263.1)

  • #713736

    #713736

    oklch(41.2% 0.082 22.3)

  • #2E562C

    #2E562C

    oklch(41.2% 0.082 143)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #334A78

    #334A78

    oklch(41.3% 0.083 263.1)

  • #6D374F

    #6D374F

    oklch(41.4% 0.082 353.3)

  • #614605

    #614605

    oklch(41.3% 0.082 82.5)

  • #005947

    #005947

    oklch(41.4% 0.08 172.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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