#34394B

Closest named color: Onyx (#343A40). oklch(34.8% 0.032 272.6), rgb(52, 57, 75).

Aa

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

About this color

#34394B is a dark, muted blue. In OKLCH its lightness is 35%, its chroma 0.032 and its hue 273°. Its hue sits on the cool side of the wheel. The nearest named color is Onyx (#343A40), ΔE 0.021 away. White text reads best on it, at 11.45:1.

Hue familyBlues
Lightnessdark (35%)
Chromamuted (0.032)
Temperaturecool
Nearest nameOnyx (#343A40)
Black text1.83:1
White text11.45:1

Values

HEX#34394B
RGBrgb(52, 57, 75)
HSLhsl(227, 18%, 25%)
OKLCHoklch(34.8% 0.032 272.6)

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 #34394B 11.45:1 AAA Lc -100.1 Preferred for body text
Black text on #34394B 1.83:1 Fails Lc 7.5 Not readable
#34394B text on white 11.45:1 AAA Lc 96.4 Preferred for body text
#34394B text on black 1.83: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

    #F5F5F8

    oklch(97.1% 0.004 286.3)

  2. Step 100

    100

    #E8EAEF

    oklch(93.7% 0.007 268.5)

  3. Step 200

    200

    #D6D9E2

    oklch(88.6% 0.013 271.3)

  4. Step 300

    300

    #BBC0D1

    oklch(80.9% 0.024 272.8)

  5. Step 400

    400

    #98A0B9

    oklch(70.8% 0.038 271.4)

  6. Step 500

    500

    #7F88A8

    oklch(63.1% 0.049 272.6)

  7. Step 600

    600

    #687293

    oklch(55.6% 0.053 271.5)

  8. Step 700

    700

    #575F7E

    oklch(49.1% 0.051 273.2)

  9. Step 800

    800

    #474E66

    oklch(42.7% 0.041 271.9)

  10. Step 900

    900 (this color)

    #34394B

    oklch(34.8% 0.032 272.6)

  11. Step 950

    950

    #232631

    oklch(27% 0.021 273)

Export this scale for Tailwind in the Tailwind colors tool

#34394B 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)#343B4C0.006
Deuteranopia (no green cones)#32394B0.003
Tritanopia (no blue cones)#2E3C3F0.028
Achromatopsia (no color)#3A3A3A0.032

Harmonies

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

Complementary

The opposite hue (180°).

  • #34394B

    #34394B

    oklch(34.8% 0.032 272.6)

  • #403A26

    #403A26

    oklch(34.9% 0.033 93.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #34394B

    #34394B

    oklch(34.8% 0.032 272.6)

  • #2B3C49

    #2B3C49

    oklch(34.7% 0.032 241.7)

  • #3D3648

    #3D3648

    oklch(34.8% 0.032 302.5)

Open the analogous palette in the generator

Split complementary

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

  • #34394B

    #34394B

    oklch(34.8% 0.032 272.6)

  • #463628

    #463628

    oklch(34.6% 0.033 62.6)

  • #373D2A

    #373D2A

    oklch(34.8% 0.033 122.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #34394B

    #34394B

    oklch(34.8% 0.032 272.6)

  • #49342F

    #49342F

    oklch(34.7% 0.032 33.8)

  • #2D3F32

    #2D3F32

    oklch(34.8% 0.032 153.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #34394B

    #34394B

    oklch(34.8% 0.032 272.6)

  • #493338

    #493338

    oklch(34.8% 0.033 3.9)

  • #403A26

    #403A26

    oklch(34.9% 0.033 93.4)

  • #26403B

    #26403B

    oklch(34.9% 0.033 180.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #34394B 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.