#334877

Closest named color: Light Navy (#155084). oklch(40.8% 0.084 264.7), rgb(51, 72, 119).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (41%)
Chromamoderately saturated (0.084)
Temperaturecool
Nearest nameLight Navy (#155084)
Black text2.33:1
White text8.99:1

Values

HEX#334877
RGBrgb(51, 72, 119)
HSLhsl(221, 40%, 33%)
OKLCHoklch(40.8% 0.084 264.7)

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 #334877 8.99:1 AAA Lc -94.9 Preferred for body text
Black text on #334877 2.33:1 Fails Lc 13.4 Not readable
#334877 text on white 8.99:1 AAA Lc 90.5 Preferred for body text
#334877 text on black 2.33:1 Fails Lc -11.8 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

    #D0D9EC

    oklch(88.4% 0.028 265.4)

  4. Step 300

    300

    #B1C1E1

    oklch(80.9% 0.049 264.3)

  5. Step 400

    400

    #89A0D2

    oklch(70.7% 0.078 265.3)

  6. Step 500

    500

    #6B88C6

    oklch(63% 0.1 264.6)

  7. Step 600

    600

    #5371B3

    oklch(55.6% 0.109 264.6)

  8. Step 700

    700

    #445E9A

    oklch(49% 0.102 265.2)

  9. Step 800

    800 (this color)

    #334877

    oklch(40.8% 0.084 264.7)

  10. Step 900

    900

    #304164

    oklch(37.8% 0.064 263.8)

  11. Step 950

    950

    #1C263B

    oklch(27% 0.042 264.3)

Export this scale for Tailwind in the Tailwind colors tool

#334877 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)#354C790.013
Deuteranopia (no green cones)#2D46760.010
Tritanopia (no blue cones)#0C52590.075
Achromatopsia (no color)#4949490.084

Harmonies

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

Complementary

The opposite hue (180°).

  • #334877

    #334877

    oklch(40.8% 0.084 264.7)

  • #5F4500

    #5F4500

    oklch(40.8% 0.084 84)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #334877

    #334877

    oklch(40.8% 0.084 264.7)

  • #065070

    #065070

    oklch(40.7% 0.084 234.8)

  • #4D4072

    #4D4072

    oklch(40.8% 0.083 294.4)

Open the analogous palette in the generator

Split complementary

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

  • #334877

    #334877

    oklch(40.8% 0.084 264.7)

  • #6C3C17

    #6C3C17

    oklch(40.8% 0.084 54.9)

  • #494F0F

    #494F0F

    oklch(40.9% 0.084 114.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #334877

    #334877

    oklch(40.8% 0.084 264.7)

  • #703632

    #703632

    oklch(40.8% 0.083 25.4)

  • #2A552C

    #2A552C

    oklch(40.7% 0.082 144.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #334877

    #334877

    oklch(40.8% 0.084 264.7)

  • #6C354C

    #6C354C

    oklch(40.8% 0.083 355)

  • #5F4500

    #5F4500

    oklch(40.8% 0.084 84)

  • #005747

    #005747

    oklch(40.8% 0.077 174.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #334877 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.