#343E4B

Closest named color: Onyx (#343A40). oklch(36% 0.026 255.1), rgb(52, 62, 75).

Aa

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

About this color

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

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

Values

HEX#343E4B
RGBrgb(52, 62, 75)
HSLhsl(214, 18%, 25%)
OKLCHoklch(36% 0.026 255.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 #343E4B 10.84:1 AAA Lc -99.0 Preferred for body text
Black text on #343E4B 1.93:1 Fails Lc 8.8 Not readable
#343E4B text on white 10.84:1 AAA Lc 95.1 Preferred for body text
#343E4B text on black 1.93:1 Fails Lc -7.5 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

    #D4DAE0

    oklch(88.6% 0.011 247.9)

  4. Step 300

    300

    #B8C1CD

    oklch(80.8% 0.02 255.6)

  5. Step 400

    400

    #94A2B4

    oklch(70.7% 0.031 254.7)

  6. Step 500

    500

    #798BA2

    oklch(63.1% 0.041 254.7)

  7. Step 600

    600

    #62758D

    oklch(55.6% 0.044 254.4)

  8. Step 700

    700

    #516278

    oklch(49.1% 0.041 255)

  9. Step 800

    800

    #435062

    oklch(42.7% 0.034 256.6)

  10. Step 900

    900 (this color)

    #343E4B

    oklch(36% 0.026 255.1)

  11. Step 950

    950

    #21272F

    oklch(27% 0.017 255.7)

Export this scale for Tailwind in the Tailwind colors tool

#343E4B 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)#393E4C0.008
Deuteranopia (no green cones)#373C4B0.008
Tritanopia (no blue cones)#2E41420.023
Achromatopsia (no color)#3D3D3D0.026

Harmonies

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

Complementary

The opposite hue (180°).

  • #343E4B

    #343E4B

    oklch(36% 0.026 255.1)

  • #453B2E

    #453B2E

    oklch(35.9% 0.026 74.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #343E4B

    #343E4B

    oklch(36% 0.026 255.1)

  • #2E4048

    #2E4048

    oklch(35.9% 0.027 227.1)

  • #3B3B4B

    #3B3B4B

    oklch(35.9% 0.028 284.9)

Open the analogous palette in the generator

Split complementary

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

  • #343E4B

    #343E4B

    oklch(36% 0.026 255.1)

  • #493932

    #493932

    oklch(36% 0.026 44.9)

  • #3F3E2E

    #3F3E2E

    oklch(36% 0.026 104.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #343E4B

    #343E4B

    oklch(36% 0.026 255.1)

  • #4A3839

    #4A3839

    oklch(36.1% 0.026 14.7)

  • #374033

    #374033

    oklch(35.9% 0.025 136)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #343E4B

    #343E4B

    oklch(36% 0.026 255.1)

  • #483840

    #483840

    oklch(36.1% 0.026 346.9)

  • #453B2E

    #453B2E

    oklch(35.9% 0.026 74.1)

  • #30423A

    #30423A

    oklch(36.1% 0.027 165.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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