#334D6D

Closest named color: Dark Grey Blue (#29465B). oklch(41.4% 0.063 254.2), rgb(51, 77, 109).

Aa

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

About this color

#334D6D is a dark, muted blue. In OKLCH its lightness is 41%, its chroma 0.063 and its hue 254°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.038 away. White text reads best on it, at 8.66:1.

Hue familyBlues
Lightnessdark (41%)
Chromamuted (0.063)
Temperaturecool
Nearest nameDark Grey Blue (#29465B)
Black text2.42:1
White text8.66:1

Values

HEX#334D6D
RGBrgb(51, 77, 109)
HSLhsl(213, 36%, 31%)
OKLCHoklch(41.4% 0.063 254.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 #334D6D 8.66:1 AAA Lc -94.2 Preferred for body text
Black text on #334D6D 2.42:1 Fails Lc 14.3 Not readable
#334D6D text on white 8.66:1 AAA Lc 89.6 Fine for body text
#334D6D text on black 2.42: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

    #F3F6F9

    oklch(97.2% 0.005 247.9)

  2. Step 100

    100

    #E5EAF1

    oklch(93.5% 0.011 256.7)

  3. Step 200

    200

    #D0DAE7

    oklch(88.5% 0.021 254.9)

  4. Step 300

    300

    #B1C2D8

    oklch(80.8% 0.036 254.9)

  5. Step 400

    400

    #88A3C5

    oklch(70.7% 0.058 254.4)

  6. Step 500

    500

    #6A8CB6

    oklch(63.1% 0.074 254.1)

  7. Step 600

    600

    #5176A2

    oklch(55.7% 0.081 253.4)

  8. Step 700

    700

    #42638B

    oklch(49.2% 0.075 253.9)

  9. Step 800

    800 (this color)

    #334D6D

    oklch(41.4% 0.063 254.2)

  10. Step 900

    900

    #2F435B

    oklch(37.7% 0.049 253.5)

  11. Step 950

    950

    #1C2735

    oklch(26.9% 0.03 254.7)

Export this scale for Tailwind in the Tailwind colors tool

#334D6D 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)#404F6E0.019
Deuteranopia (no green cones)#39496C0.013
Tritanopia (no blue cones)#1754580.055
Achromatopsia (no color)#4B4B4B0.063

Harmonies

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

Complementary

The opposite hue (180°).

  • #334D6D

    #334D6D

    oklch(41.4% 0.063 254.2)

  • #604622

    #604622

    oklch(41.4% 0.063 73.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #334D6D

    #334D6D

    oklch(41.4% 0.063 254.2)

  • #1E5365

    #1E5365

    oklch(41.5% 0.063 223.9)

  • #47476C

    #47476C

    oklch(41.4% 0.061 283.4)

Open the analogous palette in the generator

Split complementary

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

  • #334D6D

    #334D6D

    oklch(41.4% 0.063 254.2)

  • #68402F

    #68402F

    oklch(41.4% 0.062 43.7)

  • #514D22

    #514D22

    oklch(41.4% 0.062 104)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #334D6D

    #334D6D

    oklch(41.4% 0.063 254.2)

  • #693D41

    #693D41

    oklch(41.4% 0.062 14.3)

  • #3D532F

    #3D532F

    oklch(41.4% 0.063 134.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #334D6D

    #334D6D

    oklch(41.4% 0.063 254.2)

  • #643D54

    #643D54

    oklch(41.4% 0.064 344)

  • #604622

    #604622

    oklch(41.4% 0.063 73.5)

  • #265642

    #265642

    oklch(41.3% 0.063 164)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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