#334960

Closest named color: Dark Grey Blue (#29465B). oklch(39.7% 0.048 250.2), rgb(51, 73, 96).

Aa

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

About this color

#334960 is a dark, muted blue. In OKLCH its lightness is 40%, its chroma 0.048 and its hue 250°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.018 away. White text reads best on it, at 9.28:1.

Hue familyBlues
Lightnessdark (40%)
Chromamuted (0.048)
Temperaturecool
Nearest nameDark Grey Blue (#29465B)
Black text2.26:1
White text9.28:1

Values

HEX#334960
RGBrgb(51, 73, 96)
HSLhsl(211, 31%, 29%)
OKLCHoklch(39.7% 0.048 250.2)

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 #334960 9.28:1 AAA Lc -95.7 Preferred for body text
Black text on #334960 2.26:1 Fails Lc 12.6 Not readable
#334960 text on white 9.28:1 AAA Lc 91.4 Preferred for body text
#334960 text on black 2.26:1 Fails Lc -11.0 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 900.

  1. Step 50

    50

    #F3F6F9

    oklch(97.2% 0.005 247.9)

  2. Step 100

    100

    #E5EAF1

    oklch(93.5% 0.011 256.7)

  3. Step 200

    200

    #D0DAE6

    oklch(88.4% 0.02 252.9)

  4. Step 300

    300

    #B0C3D7

    oklch(80.9% 0.035 249.6)

  5. Step 400

    400

    #86A4C4

    oklch(70.8% 0.058 250.3)

  6. Step 500

    500

    #678DB5

    oklch(63.1% 0.074 250.3)

  7. Step 600

    600

    #4E77A0

    oklch(55.6% 0.079 249.4)

  8. Step 700

    700

    #3F6489

    oklch(49.2% 0.073 249.5)

  9. Step 800

    800

    #345170

    oklch(42.6% 0.062 251)

  10. Step 900

    900 (this color)

    #334960

    oklch(39.7% 0.048 250.2)

  11. Step 950

    950

    #1B2835

    oklch(27.1% 0.03 249)

Export this scale for Tailwind in the Tailwind colors tool

#334960 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)#404A610.019
Deuteranopia (no green cones)#3A45600.015
Tritanopia (no blue cones)#214E510.040
Achromatopsia (no color)#4747470.048

Harmonies

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

Complementary

The opposite hue (180°).

  • #334960

    #334960

    oklch(39.7% 0.048 250.2)

  • #58422A

    #58422A

    oklch(39.7% 0.048 68.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #334960

    #334960

    oklch(39.7% 0.048 250.2)

  • #274D59

    #274D59

    oklch(39.7% 0.048 220.7)

  • #424461

    #424461

    oklch(39.7% 0.049 280.9)

Open the analogous palette in the generator

Split complementary

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

  • #334960

    #334960

    oklch(39.7% 0.048 250.2)

  • #5D3E33

    #5D3E33

    oklch(39.6% 0.048 40.3)

  • #4D4829

    #4D4829

    oklch(39.8% 0.048 100.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #334960

    #334960

    oklch(39.7% 0.048 250.2)

  • #5E3C41

    #5E3C41

    oklch(39.7% 0.048 9.9)

  • #3E4C31

    #3E4C31

    oklch(39.6% 0.047 130.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #334960

    #334960

    oklch(39.7% 0.048 250.2)

  • #593D4F

    #593D4F

    oklch(39.8% 0.048 340.7)

  • #58422A

    #58422A

    oklch(39.7% 0.048 68.2)

  • #2F4F3E

    #2F4F3E

    oklch(39.7% 0.048 160)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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