#334F76

Closest named color: Light Navy (#155084). oklch(42.4% 0.074 256.8), rgb(51, 79, 118).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (42%)
Chromamoderately saturated (0.074)
Temperaturecool
Nearest nameLight Navy (#155084)
Black text2.52:1
White text8.33:1

Values

HEX#334F76
RGBrgb(51, 79, 118)
HSLhsl(215, 40%, 33%)
OKLCHoklch(42.4% 0.074 256.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 #334F76 8.33:1 AAA Lc -93.2 Preferred for body text
Black text on #334F76 2.52:1 Fails Lc 15.4 Dividers and decoration only
#334F76 text on white 8.33:1 AAA Lc 88.6 Fine for body text
#334F76 text on black 2.52:1 Fails Lc -13.6 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

    #CFDAE9

    oklch(88.5% 0.024 256.1)

  4. Step 300

    300

    #AFC2DD

    oklch(80.8% 0.044 257.1)

  5. Step 400

    400

    #85A3CC

    oklch(70.8% 0.069 256.3)

  6. Step 500

    500

    #678BBE

    oklch(63.1% 0.087 257.1)

  7. Step 600

    600

    #4E75AB

    oklch(55.7% 0.095 256.7)

  8. Step 700

    700

    #3E6293

    oklch(49.2% 0.089 256.4)

  9. Step 800

    800 (this color)

    #334F76

    oklch(42.4% 0.074 256.8)

  10. Step 900

    900

    #2D4260

    oklch(37.6% 0.058 257.3)

  11. Step 950

    950

    #1B2738

    oklch(27% 0.036 257.1)

Export this scale for Tailwind in the Tailwind colors tool

#334F76 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)#3F51780.018
Deuteranopia (no green cones)#374B750.012
Tritanopia (no blue cones)#0A585D0.066
Achromatopsia (no color)#4E4E4E0.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #334F76

    #334F76

    oklch(42.4% 0.074 256.8)

  • #654819

    #654819

    oklch(42.4% 0.074 76.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #334F76

    #334F76

    oklch(42.4% 0.074 256.8)

  • #14566D

    #14566D

    oklch(42.4% 0.073 226.5)

  • #4B4774

    #4B4774

    oklch(42.2% 0.074 286.9)

Open the analogous palette in the generator

Split complementary

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

  • #334F76

    #334F76

    oklch(42.4% 0.074 256.8)

  • #6F4129

    #6F4129

    oklch(42.5% 0.074 47.6)

  • #53511B

    #53511B

    oklch(42.5% 0.074 107.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #334F76

    #334F76

    oklch(42.4% 0.074 256.8)

  • #713C40

    #713C40

    oklch(42.3% 0.074 15.9)

  • #3A572E

    #3A572E

    oklch(42.3% 0.073 137.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #334F76

    #334F76

    oklch(42.4% 0.074 256.8)

  • #6B3D56

    #6B3D56

    oklch(42.4% 0.073 346.9)

  • #654819

    #654819

    oklch(42.4% 0.074 76.1)

  • #1B5B45

    #1B5B45

    oklch(42.4% 0.074 166.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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