#334970

Closest named color: Dark Grey Blue (#29465B). oklch(40.6% 0.072 261.3), rgb(51, 73, 112).

Aa

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

About this color

#334970 is a dark, moderately saturated blue. In OKLCH its lightness is 41%, its chroma 0.072 and its hue 261°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.039 away. White text reads best on it, at 9.02:1.

Hue familyBlues
Lightnessdark (41%)
Chromamoderately saturated (0.072)
Temperaturecool
Nearest nameDark Grey Blue (#29465B)
Black text2.32:1
White text9.02:1

Values

HEX#334970
RGBrgb(51, 73, 112)
HSLhsl(218, 37%, 32%)
OKLCHoklch(40.6% 0.072 261.3)

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 #334970 9.02:1 AAA Lc -95.0 Preferred for body text
Black text on #334970 2.32:1 Fails Lc 13.3 Not readable
#334970 text on white 9.02:1 AAA Lc 90.6 Preferred for body text
#334970 text on black 2.32:1 Fails Lc -11.7 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

    #F3F5F9

    oklch(97% 0.006 264.5)

  2. Step 100

    100

    #E5EAF2

    oklch(93.6% 0.012 259.8)

  3. Step 200

    200

    #D1DAE9

    oklch(88.6% 0.023 260.7)

  4. Step 300

    300

    #B2C1DC

    oklch(80.8% 0.042 262.3)

  5. Step 400

    400

    #89A1CB

    oklch(70.6% 0.068 261.5)

  6. Step 500

    500

    #6C8ABE

    oklch(63.1% 0.086 261.1)

  7. Step 600

    600

    #5473AA

    oklch(55.6% 0.093 261.4)

  8. Step 700

    700

    #446092

    oklch(49% 0.087 261.4)

  9. Step 800

    800 (this color)

    #334970

    oklch(40.6% 0.072 261.3)

  10. Step 900

    900

    #31425F

    oklch(37.8% 0.055 260.8)

  11. Step 950

    950

    #1D2738

    oklch(27.2% 0.035 260.8)

Export this scale for Tailwind in the Tailwind colors tool

#334970 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)#3A4C720.014
Deuteranopia (no green cones)#33466F0.009
Tritanopia (no blue cones)#1552570.065
Achromatopsia (no color)#4949490.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #334970

    #334970

    oklch(40.6% 0.072 261.3)

  • #5D4514

    #5D4514

    oklch(40.7% 0.072 81.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #334970

    #334970

    oklch(40.6% 0.072 261.3)

  • #155069

    #155069

    oklch(40.6% 0.072 230.9)

  • #4A426D

    #4A426D

    oklch(40.7% 0.071 291.4)

Open the analogous palette in the generator

Split complementary

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

  • #334970

    #334970

    oklch(40.6% 0.072 261.3)

  • #683D23

    #683D23

    oklch(40.6% 0.072 50.7)

  • #4B4D1A

    #4B4D1A

    oklch(40.7% 0.072 111.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #334970

    #334970

    oklch(40.6% 0.072 261.3)

  • #6B3938

    #6B3938

    oklch(40.7% 0.071 21.9)

  • #32532E

    #32532E

    oklch(40.6% 0.071 141.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #334970

    #334970

    oklch(40.6% 0.072 261.3)

  • #66384E

    #66384E

    oklch(40.5% 0.072 350.7)

  • #5D4514

    #5D4514

    oklch(40.7% 0.072 81.6)

  • #125644

    #125644

    oklch(40.7% 0.072 170.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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