#343E4E

Closest named color: Onyx (#343A40). oklch(36.2% 0.031 259.7), rgb(52, 62, 78).

Aa

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

About this color

#343E4E is a dark, muted blue. In OKLCH its lightness is 36%, its chroma 0.031 and its hue 260°. Its hue sits on the cool side of the wheel. The nearest named color is Onyx (#343A40), ΔE 0.024 away. White text reads best on it, at 10.79:1.

Hue familyBlues
Lightnessdark (36%)
Chromamuted (0.031)
Temperaturecool
Nearest nameOnyx (#343A40)
Black text1.94:1
White text10.79:1

Values

HEX#343E4E
RGBrgb(52, 62, 78)
HSLhsl(217, 20%, 25%)
OKLCHoklch(36.2% 0.031 259.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 #343E4E 10.79:1 AAA Lc -98.9 Preferred for body text
Black text on #343E4E 1.94:1 Fails Lc 8.9 Not readable
#343E4E text on white 10.79:1 AAA Lc 95.0 Preferred for body text
#343E4E text on black 1.94:1 Fails Lc -7.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

    #F4F5F7

    oklch(97% 0.003 264.5)

  2. Step 100

    100

    #E7EAEE

    oklch(93.6% 0.006 255.5)

  3. Step 200

    200

    #D4D9E2

    oklch(88.4% 0.013 262.4)

  4. Step 300

    300

    #B8C1D0

    oklch(80.9% 0.023 260.7)

  5. Step 400

    400

    #93A2B8

    oklch(70.8% 0.036 257.9)

  6. Step 500

    500

    #798AA7

    oklch(63% 0.048 261.1)

  7. Step 600

    600

    #627492

    oklch(55.6% 0.052 260.5)

  8. Step 700

    700

    #51617C

    oklch(49% 0.048 260.8)

  9. Step 800

    800

    #425065

    oklch(42.8% 0.039 258.3)

  10. Step 900

    900 (this color)

    #343E4E

    oklch(36.2% 0.031 259.7)

  11. Step 950

    950

    #212730

    oklch(27.1% 0.019 258.4)

Export this scale for Tailwind in the Tailwind colors tool

#343E4E 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)#393F4F0.009
Deuteranopia (no green cones)#363C4E0.007
Tritanopia (no blue cones)#2D41430.027
Achromatopsia (no color)#3D3D3D0.031

Harmonies

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

Complementary

The opposite hue (180°).

  • #343E4E

    #343E4E

    oklch(36.2% 0.031 259.7)

  • #463C2B

    #463C2B

    oklch(36.2% 0.031 80.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #343E4E

    #343E4E

    oklch(36.2% 0.031 259.7)

  • #2C414B

    #2C414B

    oklch(36.2% 0.032 229.1)

  • #3D3B4D

    #3D3B4D

    oklch(36.2% 0.031 289.9)

Open the analogous palette in the generator

Split complementary

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

  • #343E4E

    #343E4E

    oklch(36.2% 0.031 259.7)

  • #4B392F

    #4B392F

    oklch(36.1% 0.031 50.4)

  • #3E3F2C

    #3E3F2C

    oklch(36.1% 0.031 110.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #343E4E

    #343E4E

    oklch(36.2% 0.031 259.7)

  • #4D3737

    #4D3737

    oklch(36.2% 0.032 18.7)

  • #354232

    #354232

    oklch(36.2% 0.032 139.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #343E4E

    #343E4E

    oklch(36.2% 0.031 259.7)

  • #4A3740

    #4A3740

    oklch(36.1% 0.031 348.7)

  • #463C2B

    #463C2B

    oklch(36.2% 0.031 80.7)

  • #2D433B

    #2D433B

    oklch(36.2% 0.031 170)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #343E4E 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.