#334774

Closest named color: Light Navy (#155084). oklch(40.4% 0.08 264.9), rgb(51, 71, 116).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (40%)
Chromamoderately saturated (0.080)
Temperaturecool
Nearest nameLight Navy (#155084)
Black text2.29:1
White text9.15:1

Values

HEX#334774
RGBrgb(51, 71, 116)
HSLhsl(222, 39%, 33%)
OKLCHoklch(40.4% 0.08 264.9)

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 #334774 9.15:1 AAA Lc -95.3 Preferred for body text
Black text on #334774 2.29:1 Fails Lc 13.0 Not readable
#334774 text on white 9.15:1 AAA Lc 91.0 Preferred for body text
#334774 text on black 2.29:1 Fails Lc -11.4 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

    #E5EAF3

    oklch(93.6% 0.013 262.4)

  3. Step 200

    200

    #D1D9EB

    oklch(88.5% 0.026 266.6)

  4. Step 300

    300

    #B2C1E0

    oklch(81% 0.047 264.9)

  5. Step 400

    400

    #8AA0D0

    oklch(70.7% 0.075 265.4)

  6. Step 500

    500

    #6D88C4

    oklch(63.1% 0.096 265.2)

  7. Step 600

    600

    #5571B0

    oklch(55.5% 0.104 265)

  8. Step 700

    700

    #455F98

    oklch(49.2% 0.097 264.5)

  9. Step 800

    800 (this color)

    #334774

    oklch(40.4% 0.08 264.9)

  10. Step 900

    900

    #314163

    oklch(37.8% 0.062 264.4)

  11. Step 950

    950

    #1D263A

    oklch(27% 0.04 265.3)

Export this scale for Tailwind in the Tailwind colors tool

#334774 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)#354B760.013
Deuteranopia (no green cones)#2D45730.010
Tritanopia (no blue cones)#1151580.072
Achromatopsia (no color)#4848480.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #334774

    #334774

    oklch(40.4% 0.08 264.9)

  • #5C4405

    #5C4405

    oklch(40.2% 0.08 84.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #334774

    #334774

    oklch(40.4% 0.08 264.9)

  • #0C4F6D

    #0C4F6D

    oklch(40.4% 0.08 234.3)

  • #4C3F6F

    #4C3F6F

    oklch(40.4% 0.08 295)

Open the analogous palette in the generator

Split complementary

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

  • #334774

    #334774

    oklch(40.4% 0.08 264.9)

  • #693C19

    #693C19

    oklch(40.4% 0.08 55.7)

  • #484D12

    #484D12

    oklch(40.3% 0.08 114.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #334774

    #334774

    oklch(40.4% 0.08 264.9)

  • #6E3632

    #6E3632

    oklch(40.5% 0.08 25.5)

  • #2A542C

    #2A542C

    oklch(40.4% 0.081 144.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #334774

    #334774

    oklch(40.4% 0.08 264.9)

  • #6A354B

    #6A354B

    oklch(40.4% 0.08 355)

  • #5C4405

    #5C4405

    oklch(40.2% 0.08 84.7)

  • #005646

    #005646

    oklch(40.4% 0.077 174.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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