#334850

Closest named color: Charcoal (#264653). oklch(38.7% 0.029 223.5), rgb(51, 72, 80).

Aa

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

About this color

#334850 is a dark close to neutral grey. In OKLCH its lightness is 39%, its chroma 0.029. It has too little chroma to lean warm or cool. The nearest named color is Charcoal (#264653), ΔE 0.019 away. White text reads best on it, at 9.61:1.

Hue familyNeutrals
Lightnessdark (39%)
Chromaclose to neutral grey (0.029)
Temperatureneutral
Nearest nameCharcoal (#264653)
Black text2.18:1
White text9.61:1

Values

HEX#334850
RGBrgb(51, 72, 80)
HSLhsl(197, 22%, 26%)
OKLCHoklch(38.7% 0.029 223.5)

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 #334850 9.61:1 AAA Lc -96.5 Preferred for body text
Black text on #334850 2.18:1 Fails Lc 11.7 Not readable
#334850 text on white 9.61:1 AAA Lc 92.3 Preferred for body text
#334850 text on black 2.18:1 Fails Lc -10.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 900.

  1. Step 50

    50

    #F3F6F7

    oklch(97.1% 0.003 219.5)

  2. Step 100

    100

    #E5EBED

    oklch(93.6% 0.007 219.6)

  3. Step 200

    200

    #D1DBDF

    oklch(88.5% 0.012 223.5)

  4. Step 300

    300

    #B2C4CB

    oklch(80.9% 0.022 223.1)

  5. Step 400

    400

    #89A6B1

    oklch(70.7% 0.036 222.8)

  6. Step 500

    500

    #6C909E

    oklch(63.1% 0.045 223.8)

  7. Step 600

    600

    #537A89

    oklch(55.6% 0.049 224)

  8. Step 700

    700

    #436774

    oklch(49.2% 0.046 222.7)

  9. Step 800

    800

    #38545E

    oklch(42.8% 0.037 222.3)

  10. Step 900

    900 (this color)

    #334850

    oklch(38.7% 0.029 223.5)

  11. Step 950

    950

    #1D292D

    oklch(27.2% 0.018 220.3)

Export this scale for Tailwind in the Tailwind colors tool

#334850 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)#4347500.023
Deuteranopia (no green cones)#3F43500.022
Tritanopia (no blue cones)#294B4A0.021
Achromatopsia (no color)#4545450.030

Harmonies

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

Complementary

The opposite hue (180°).

  • #334850

    #334850

    oklch(38.7% 0.029 223.5)

  • #523F38

    #523F38

    oklch(38.6% 0.029 41.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #334850

    #334850

    oklch(38.7% 0.029 223.5)

  • #324949

    #324949

    oklch(38.7% 0.028 196)

  • #394554

    #394554

    oklch(38.6% 0.03 254.2)

Open the analogous palette in the generator

Split complementary

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

  • #334850

    #334850

    oklch(38.7% 0.029 223.5)

  • #533E40

    #533E40

    oklch(38.7% 0.03 12.2)

  • #4E4233

    #4E4233

    oklch(38.7% 0.029 73)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #334850

    #334850

    oklch(38.7% 0.029 223.5)

  • #503E48

    #503E48

    oklch(38.7% 0.03 344.1)

  • #474533

    #474533

    oklch(38.7% 0.029 102.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #334850

    #334850

    oklch(38.7% 0.029 223.5)

  • #4A4050

    #4A4050

    oklch(38.8% 0.03 312.8)

  • #523F38

    #523F38

    oklch(38.6% 0.029 41.2)

  • #3E4838

    #3E4838

    oklch(38.8% 0.029 133.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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