#334F6F

Closest named color: YInMn Blue (#415A77). oklch(42% 0.064 252.6), rgb(51, 79, 111).

Aa

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

About this color

#334F6F is a dark, muted blue. In OKLCH its lightness is 42%, its chroma 0.064 and its hue 253°. Its hue sits on the cool side of the wheel. The nearest named color is YInMn Blue (#415A77), ΔE 0.040 away. White text reads best on it, at 8.43:1.

Hue familyBlues
Lightnessdark (42%)
Chromamuted (0.064)
Temperaturecool
Nearest nameYInMn Blue (#415A77)
Black text2.48:1
White text8.43:1

Values

HEX#334F6F
RGBrgb(51, 79, 111)
HSLhsl(212, 37%, 32%)
OKLCHoklch(42% 0.064 252.6)

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 #334F6F 8.43:1 AAA Lc -93.5 Preferred for body text
Black text on #334F6F 2.48:1 Fails Lc 15.0 Dividers and decoration only
#334F6F text on white 8.43:1 AAA Lc 89.0 Fine for body text
#334F6F text on black 2.48:1 Fails Lc -13.2 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

    #B0C3D9

    oklch(81% 0.037 252.1)

  5. Step 400

    400

    #86A3C5

    oklch(70.6% 0.06 252.7)

  6. Step 500

    500

    #688CB7

    oklch(63% 0.077 253.3)

  7. Step 600

    600

    #4F76A3

    oklch(55.6% 0.083 252.8)

  8. Step 700

    700

    #40638B

    oklch(49.1% 0.076 252.6)

  9. Step 800

    800 (this color)

    #334F6F

    oklch(42% 0.064 252.6)

  10. Step 900

    900

    #2E435B

    oklch(37.6% 0.049 252.4)

  11. Step 950

    950

    #1B2736

    oklch(26.9% 0.033 254.4)

Export this scale for Tailwind in the Tailwind colors tool

#334F6F 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)#4250700.020
Deuteranopia (no green cones)#3B4A6E0.017
Tritanopia (no blue cones)#14565A0.055
Achromatopsia (no color)#4D4D4D0.064

Harmonies

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

Complementary

The opposite hue (180°).

  • #334F6F

    #334F6F

    oklch(42% 0.064 252.6)

  • #624723

    #624723

    oklch(41.9% 0.063 72.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #334F6F

    #334F6F

    oklch(42% 0.064 252.6)

  • #1E5566

    #1E5566

    oklch(42.1% 0.063 221.9)

  • #48496F

    #48496F

    oklch(42.1% 0.063 282.2)

Open the analogous palette in the generator

Split complementary

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

  • #334F6F

    #334F6F

    oklch(42% 0.064 252.6)

  • #6A4131

    #6A4131

    oklch(41.9% 0.063 42)

  • #544E22

    #544E22

    oklch(41.9% 0.063 101.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #334F6F

    #334F6F

    oklch(42% 0.064 252.6)

  • #6B3E43

    #6B3E43

    oklch(42% 0.063 13)

  • #405530

    #405530

    oklch(42.2% 0.064 132.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #334F6F

    #334F6F

    oklch(42% 0.064 252.6)

  • #653F56

    #653F56

    oklch(42% 0.063 343.1)

  • #624723

    #624723

    oklch(41.9% 0.063 72.5)

  • #295843

    #295843

    oklch(42.1% 0.063 162.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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