#334A7D

Closest named color: Light Navy (#155084). oklch(41.6% 0.09 264.5), rgb(51, 74, 125).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (42%)
Chromamoderately saturated (0.090)
Temperaturecool
Nearest nameLight Navy (#155084)
Black text2.41:1
White text8.69:1

Values

HEX#334A7D
RGBrgb(51, 74, 125)
HSLhsl(221, 42%, 35%)
OKLCHoklch(41.6% 0.09 264.5)

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

    #F3F5FA

    oklch(97% 0.007 268.5)

  2. Step 100

    100

    #E5EAF4

    oklch(93.6% 0.015 264.5)

  3. Step 200

    200

    #D0D9ED

    oklch(88.5% 0.029 266.4)

  4. Step 300

    300

    #B0C1E4

    oklch(81% 0.053 264.7)

  5. Step 400

    400

    #86A0D6

    oklch(70.6% 0.085 264.4)

  6. Step 500

    500

    #6988CB

    oklch(63.2% 0.108 264.6)

  7. Step 600

    600

    #5071B8

    oklch(55.7% 0.117 264.1)

  8. Step 700

    700

    #415E9E

    oklch(49.1% 0.109 264.4)

  9. Step 800

    800 (this color)

    #334A7D

    oklch(41.6% 0.09 264.5)

  10. Step 900

    900

    #2F4067

    oklch(37.6% 0.071 265.3)

  11. Step 950

    950

    #1B263C

    oklch(27% 0.044 263.4)

Export this scale for Tailwind in the Tailwind colors tool

#334A7D 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)#354F7F0.015
Deuteranopia (no green cones)#2B487C0.012
Tritanopia (no blue cones)#00555D0.081
Achromatopsia (no color)#4B4B4B0.090

Harmonies

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

Complementary

The opposite hue (180°).

  • #334A7D

    #334A7D

    oklch(41.6% 0.09 264.5)

  • #624700

    #624700

    oklch(41.6% 0.085 83.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #334A7D

    #334A7D

    oklch(41.6% 0.09 264.5)

  • #005374

    #005374

    oklch(41.7% 0.087 233.9)

  • #504178

    #504178

    oklch(41.7% 0.09 294.7)

Open the analogous palette in the generator

Split complementary

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

  • #334A7D

    #334A7D

    oklch(41.6% 0.09 264.5)

  • #713D14

    #713D14

    oklch(41.7% 0.09 54.7)

  • #4B5107

    #4B5107

    oklch(41.6% 0.09 114.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #334A7D

    #334A7D

    oklch(41.6% 0.09 264.5)

  • #753633

    #753633

    oklch(41.6% 0.089 24.5)

  • #29592B

    #29592B

    oklch(41.8% 0.091 144.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #334A7D

    #334A7D

    oklch(41.6% 0.09 264.5)

  • #71354F

    #71354F

    oklch(41.6% 0.09 354.5)

  • #624700

    #624700

    oklch(41.6% 0.085 83.7)

  • #005A49

    #005A49

    oklch(41.7% 0.079 174.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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