#34394F

Closest named color: Onyx (#343A40). oklch(35% 0.039 274.3), rgb(52, 57, 79).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (35%)
Chromamuted (0.039)
Temperaturecool
Nearest nameOnyx (#343A40)
Black text1.84:1
White text11.38:1

Values

HEX#34394F
RGBrgb(52, 57, 79)
HSLhsl(229, 21%, 26%)
OKLCHoklch(35% 0.039 274.3)

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 #34394F 11.38:1 AAA Lc -100.0 Preferred for body text
Black text on #34394F 1.84:1 Fails Lc 7.6 Not readable
#34394F text on white 11.38:1 AAA Lc 96.3 Preferred for body text
#34394F text on black 1.84: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

    #F4F5F8

    oklch(97% 0.004 271.4)

  2. Step 100

    100

    #E8E9F0

    oklch(93.5% 0.009 279.7)

  3. Step 200

    200

    #D5D9E4

    oklch(88.5% 0.016 270)

  4. Step 300

    300

    #BAC0D4

    oklch(80.9% 0.029 272.4)

  5. Step 400

    400

    #979FBE

    oklch(70.7% 0.046 273.8)

  6. Step 500

    500

    #7E87AE

    oklch(63% 0.06 274.5)

  7. Step 600

    600

    #67719A

    oklch(55.7% 0.065 273.5)

  8. Step 700

    700

    #565E83

    oklch(49% 0.06 274.6)

  9. Step 800

    800

    #464D6B

    oklch(42.7% 0.051 273.9)

  10. Step 900

    900 (this color)

    #34394F

    oklch(35% 0.039 274.3)

  11. Step 950

    950

    #232633

    oklch(27.1% 0.025 274.5)

Export this scale for Tailwind in the Tailwind colors tool

#34394F 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)#323B500.007
Deuteranopia (no green cones)#30394E0.007
Tritanopia (no blue cones)#2D3D410.034
Achromatopsia (no color)#3A3A3A0.039

Harmonies

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

Complementary

The opposite hue (180°).

  • #34394F

    #34394F

    oklch(35% 0.039 274.3)

  • #413A22

    #413A22

    oklch(34.9% 0.039 93.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #34394F

    #34394F

    oklch(35% 0.039 274.3)

  • #293D4E

    #293D4E

    oklch(35.1% 0.039 244.9)

  • #3F354B

    #3F354B

    oklch(34.9% 0.04 305.2)

Open the analogous palette in the generator

Split complementary

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

  • #34394F

    #34394F

    oklch(35% 0.039 274.3)

  • #493625

    #493625

    oklch(34.9% 0.039 62.8)

  • #363E27

    #363E27

    oklch(35% 0.039 124)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #34394F

    #34394F

    oklch(35% 0.039 274.3)

  • #4D332D

    #4D332D

    oklch(35% 0.039 33.5)

  • #2A4131

    #2A4131

    oklch(35.1% 0.04 153.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #34394F

    #34394F

    oklch(35% 0.039 274.3)

  • #4C3238

    #4C3238

    oklch(35% 0.039 4.1)

  • #413A22

    #413A22

    oklch(34.9% 0.039 93.7)

  • #21413D

    #21413D

    oklch(34.9% 0.039 185.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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