#343E8E

Closest named color: Dark Slate Blue (#483D8B). oklch(40.3% 0.132 273.6), rgb(52, 62, 142).

Aa

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

About this color

#343E8E is a dark, moderately saturated blue. In OKLCH its lightness is 40%, its chroma 0.132 and its hue 274°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Slate Blue (#483D8B), ΔE 0.031 away. White text reads best on it, at 9.43:1.

Hue familyBlues
Lightnessdark (40%)
Chromamoderately saturated (0.132)
Temperaturecool
Nearest nameDark Slate Blue (#483D8B)
Black text2.22:1
White text9.43:1

Values

HEX#343E8E
RGBrgb(52, 62, 142)
HSLhsl(233, 46%, 38%)
OKLCHoklch(40.3% 0.132 273.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 #343E8E 9.43:1 AAA Lc -95.8 Preferred for body text
Black text on #343E8E 2.22:1 Fails Lc 12.5 Not readable
#343E8E text on white 9.43:1 AAA Lc 91.5 Preferred for body text
#343E8E text on black 2.22:1 Fails Lc -10.9 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 800.

  1. Step 50

    50

    #F3F5FD

    oklch(97.1% 0.011 274.9)

  2. Step 100

    100

    #E5E9F9

    oklch(93.6% 0.022 274.7)

  3. Step 200

    200

    #D0D8F6

    oklch(88.6% 0.042 273.7)

  4. Step 300

    300

    #B0BEF3

    oklch(80.9% 0.077 273.1)

  5. Step 400

    400

    #889AED

    oklch(70.6% 0.123 273.6)

  6. Step 500

    500

    #6C7FE7

    oklch(63.1% 0.157 273.3)

  7. Step 600

    600

    #5666D5

    oklch(55.7% 0.17 273.4)

  8. Step 700

    700

    #4754B9

    oklch(49.2% 0.158 273.6)

  9. Step 800

    800 (this color)

    #343E8E

    oklch(40.3% 0.132 273.6)

  10. Step 900

    900

    #313B77

    oklch(37.7% 0.102 273.4)

  11. Step 950

    950

    #1D2346

    oklch(27.1% 0.065 273.9)

Export this scale for Tailwind in the Tailwind colors tool

#343E8E 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)#024A910.045
Deuteranopia (no green cones)#00428C0.042
Tritanopia (no blue cones)#00515F0.113
Achromatopsia (no color)#4646460.132

Harmonies

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

Complementary

The opposite hue (180°).

  • #343E8E

    #343E8E

    oklch(40.3% 0.132 273.6)

  • #574700

    #574700

    oklch(40.3% 0.083 94.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #343E8E

    #343E8E

    oklch(40.3% 0.132 273.6)

  • #004D79

    #004D79

    oklch(40.4% 0.098 243.2)

  • #583181

    #583181

    oklch(40.3% 0.131 303.5)

Open the analogous palette in the generator

Split complementary

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

  • #343E8E

    #343E8E

    oklch(40.3% 0.132 273.6)

  • #6A3C00

    #6A3C00

    oklch(40.4% 0.091 64)

  • #3E5100

    #3E5100

    oklch(40.4% 0.1 123.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #343E8E

    #343E8E

    oklch(40.3% 0.132 273.6)

  • #80230E

    #80230E

    oklch(40.2% 0.131 33.9)

  • #00582D

    #00582D

    oklch(40.4% 0.103 153.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #343E8E

    #343E8E

    oklch(40.3% 0.132 273.6)

  • #7E1F41

    #7E1F41

    oklch(40.4% 0.132 3.6)

  • #574700

    #574700

    oklch(40.3% 0.083 94.2)

  • #00554C

    #00554C

    oklch(40.4% 0.072 182.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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