#334251

Closest named color: Charcoal (#264653). oklch(37.2% 0.032 248.7), rgb(51, 66, 81).

Aa

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

About this color

#334251 is a dark, muted blue. In OKLCH its lightness is 37%, its chroma 0.032 and its hue 249°. Its hue sits on the cool side of the wheel. The nearest named color is Charcoal (#264653), ΔE 0.019 away. White text reads best on it, at 10.29:1.

Hue familyBlues
Lightnessdark (37%)
Chromamuted (0.032)
Temperaturecool
Nearest nameCharcoal (#264653)
Black text2.03:1
White text10.29:1

Values

HEX#334251
RGBrgb(51, 66, 81)
HSLhsl(210, 23%, 26%)
OKLCHoklch(37.2% 0.032 248.7)

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 #334251 10.29:1 AAA Lc -97.9 Preferred for body text
Black text on #334251 2.03:1 Fails Lc 10.0 Not readable
#334251 text on white 10.29:1 AAA Lc 93.9 Preferred for body text
#334251 text on black 2.03:1 Fails Lc -8.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 900.

  1. Step 50

    50

    #F4F6F7

    oklch(97.2% 0.003 228.8)

  2. Step 100

    100

    #E6EAEE

    oklch(93.5% 0.007 247.9)

  3. Step 200

    200

    #D2DAE2

    oklch(88.5% 0.014 248)

  4. Step 300

    300

    #B5C2D0

    oklch(80.8% 0.024 250.1)

  5. Step 400

    400

    #8EA3B8

    oklch(70.6% 0.039 248.4)

  6. Step 500

    500

    #728CA7

    oklch(63% 0.051 249.6)

  7. Step 600

    600

    #5B7692

    oklch(55.6% 0.054 249.7)

  8. Step 700

    700

    #4A637C

    oklch(49% 0.05 248.9)

  9. Step 800

    800

    #3D5165

    oklch(42.7% 0.042 248.8)

  10. Step 900

    900 (this color)

    #334251

    oklch(37.2% 0.032 248.7)

  11. Step 950

    950

    #1F2730

    oklch(26.9% 0.02 251.6)

Export this scale for Tailwind in the Tailwind colors tool

#334251 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)#3C42520.014
Deuteranopia (no green cones)#393F510.012
Tritanopia (no blue cones)#2A45470.026
Achromatopsia (no color)#4040400.032

Harmonies

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

Complementary

The opposite hue (180°).

  • #334251

    #334251

    oklch(37.2% 0.032 248.7)

  • #4C3D2E

    #4C3D2E

    oklch(37.2% 0.032 66.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #334251

    #334251

    oklch(37.2% 0.032 248.7)

  • #2C454C

    #2C454C

    oklch(37.3% 0.033 217.3)

  • #3C3F52

    #3C3F52

    oklch(37.3% 0.033 277.7)

Open the analogous palette in the generator

Split complementary

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

  • #334251

    #334251

    oklch(37.2% 0.032 248.7)

  • #503B34

    #503B34

    oklch(37.3% 0.032 39.2)

  • #45412D

    #45412D

    oklch(37.3% 0.033 98.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #334251

    #334251

    oklch(37.2% 0.032 248.7)

  • #50393D

    #50393D

    oklch(37.2% 0.033 7.3)

  • #3B4432

    #3B4432

    oklch(37.3% 0.032 129.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #334251

    #334251

    oklch(37.2% 0.032 248.7)

  • #4C3A46

    #4C3A46

    oklch(37.2% 0.032 338.9)

  • #4C3D2E

    #4C3D2E

    oklch(37.2% 0.032 66.6)

  • #32463A

    #32463A

    oklch(37.3% 0.033 158)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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