#343D4B

Closest named color: Onyx (#343A40). oklch(35.8% 0.027 259.1), rgb(52, 61, 75).

Aa

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

About this color

#343D4B is a dark close to neutral grey. In OKLCH its lightness is 36%, its chroma 0.027. It has too little chroma to lean warm or cool. The nearest named color is Onyx (#343A40), ΔE 0.019 away. White text reads best on it, at 10.96:1.

Hue familyNeutrals
Lightnessdark (36%)
Chromaclose to neutral grey (0.027)
Temperatureneutral
Nearest nameOnyx (#343A40)
Black text1.91:1
White text10.96:1

Values

HEX#343D4B
RGBrgb(52, 61, 75)
HSLhsl(217, 18%, 25%)
OKLCHoklch(35.8% 0.027 259.1)

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 #343D4B 10.96:1 AAA Lc -99.2 Preferred for body text
Black text on #343D4B 1.91:1 Fails Lc 8.5 Not readable
#343D4B text on white 10.96:1 AAA Lc 95.4 Preferred for body text
#343D4B text on black 1.91:1 Fails Lc 0.0 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

    #D5D9E1

    oklch(88.5% 0.012 264.5)

  4. Step 300

    300

    #B9C1CE

    oklch(80.9% 0.02 260.2)

  5. Step 400

    400

    #95A1B5

    oklch(70.6% 0.032 260.7)

  6. Step 500

    500

    #7B8AA3

    oklch(63% 0.042 260.6)

  7. Step 600

    600

    #64748E

    oklch(55.6% 0.045 260.1)

  8. Step 700

    700

    #526279

    oklch(49.2% 0.042 257.4)

  9. Step 800

    800

    #445062

    oklch(42.8% 0.034 258.4)

  10. Step 900

    900 (this color)

    #343D4B

    oklch(35.8% 0.027 259.1)

  11. Step 950

    950

    #21272F

    oklch(27% 0.017 255.7)

Export this scale for Tailwind in the Tailwind colors tool

#343D4B 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)#383E4C0.007
Deuteranopia (no green cones)#363B4B0.007
Tritanopia (no blue cones)#2E40420.023
Achromatopsia (no color)#3C3C3C0.027

Harmonies

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

Complementary

The opposite hue (180°).

  • #343D4B

    #343D4B

    oklch(35.8% 0.027 259.1)

  • #443B2C

    #443B2C

    oklch(35.7% 0.028 80.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #343D4B

    #343D4B

    oklch(35.8% 0.027 259.1)

  • #2E3F48

    #2E3F48

    oklch(35.7% 0.027 231.5)

  • #3C3A4A

    #3C3A4A

    oklch(35.7% 0.028 290.7)

Open the analogous palette in the generator

Split complementary

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

  • #343D4B

    #343D4B

    oklch(35.8% 0.027 259.1)

  • #493830

    #493830

    oklch(35.7% 0.028 46.5)

  • #3D3E2D

    #3D3E2D

    oklch(35.8% 0.028 110.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #343D4B

    #343D4B

    oklch(35.8% 0.027 259.1)

  • #4A3737

    #4A3737

    oklch(35.8% 0.027 18.5)

  • #354032

    #354032

    oklch(35.7% 0.028 139)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #343D4B

    #343D4B

    oklch(35.8% 0.027 259.1)

  • #48373F

    #48373F

    oklch(35.8% 0.027 348.6)

  • #443B2C

    #443B2C

    oklch(35.7% 0.028 80.3)

  • #2E413A

    #2E413A

    oklch(35.7% 0.027 170)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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