#334F6C

Closest named color: Dark Grey Blue (#29465B). oklch(41.9% 0.059 250.2), rgb(51, 79, 108).

Aa

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

About this color

#334F6C is a dark, muted blue. In OKLCH its lightness is 42%, its chroma 0.059 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.040 away. White text reads best on it, at 8.48:1.

Hue familyBlues
Lightnessdark (42%)
Chromamuted (0.059)
Temperaturecool
Nearest nameDark Grey Blue (#29465B)
Black text2.47:1
White text8.48:1

Values

HEX#334F6C
RGBrgb(51, 79, 108)
HSLhsl(211, 36%, 31%)
OKLCHoklch(41.9% 0.059 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 #334F6C 8.48:1 AAA Lc -93.7 Preferred for body text
Black text on #334F6C 2.47:1 Fails Lc 14.9 Not readable
#334F6C text on white 8.48:1 AAA Lc 89.1 Fine for body text
#334F6C text on black 2.47:1 Fails Lc -13.1 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

    #F3F6F8

    oklch(97.1% 0.004 236.5)

  2. Step 100

    100

    #E5EAF0

    oklch(93.5% 0.01 252.8)

  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

    #87A4C3

    oklch(70.8% 0.056 250.3)

  6. Step 500

    500

    #698DB3

    oklch(63.1% 0.07 250.3)

  7. Step 600

    600

    #50779F

    oklch(55.7% 0.077 249.9)

  8. Step 700

    700

    #406488

    oklch(49.2% 0.071 249.5)

  9. Step 800

    800 (this color)

    #334F6C

    oklch(41.9% 0.059 250.2)

  10. Step 900

    900

    #2E4359

    oklch(37.5% 0.046 250.3)

  11. Step 950

    950

    #1B2834

    oklch(27.1% 0.029 246.9)

Export this scale for Tailwind in the Tailwind colors tool

#334F6C 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)#43506D0.022
Deuteranopia (no green cones)#3C4A6B0.018
Tritanopia (no blue cones)#1756590.052
Achromatopsia (no color)#4D4D4D0.059

Harmonies

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

Complementary

The opposite hue (180°).

  • #334F6C

    #334F6C

    oklch(41.9% 0.059 250.2)

  • #614727

    #614727

    oklch(41.9% 0.059 70.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #334F6C

    #334F6C

    oklch(41.9% 0.059 250.2)

  • #215463

    #215463

    oklch(41.8% 0.059 220.3)

  • #46496D

    #46496D

    oklch(41.9% 0.06 279.8)

Open the analogous palette in the generator

Split complementary

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

  • #334F6C

    #334F6C

    oklch(41.9% 0.059 250.2)

  • #684133

    #684133

    oklch(41.7% 0.059 40.5)

  • #544D25

    #544D25

    oklch(41.7% 0.059 99.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #334F6C

    #334F6C

    oklch(41.9% 0.059 250.2)

  • #693F45

    #693F45

    oklch(41.9% 0.059 10.7)

  • #425330

    #425330

    oklch(41.8% 0.059 129.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #334F6C

    #334F6C

    oklch(41.9% 0.059 250.2)

  • #634057

    #634057

    oklch(42% 0.059 340.4)

  • #614727

    #614727

    oklch(41.9% 0.059 70.8)

  • #2D5742

    #2D5742

    oklch(41.9% 0.059 160.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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