#343274

Closest named color: Marine Blue (#01386A). oklch(35.8% 0.11 280.6), rgb(52, 50, 116).

Aa

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

About this color

#343274 is a dark, moderately saturated purple. In OKLCH its lightness is 36%, its chroma 0.110 and its hue 281°. Its hue sits on the cool side of the wheel. The nearest named color is Marine Blue (#01386A), ΔE 0.056 away. White text reads best on it, at 11.32:1.

Hue familyPurples
Lightnessdark (36%)
Chromamoderately saturated (0.110)
Temperaturecool
Nearest nameMarine Blue (#01386A)
Black text1.85:1
White text11.32:1

Values

HEX#343274
RGBrgb(52, 50, 116)
HSLhsl(242, 40%, 33%)
OKLCHoklch(35.8% 0.11 280.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 #343274 11.32:1 AAA Lc -99.7 Preferred for body text
Black text on #343274 1.85:1 Fails Lc 8.0 Not readable
#343274 text on white 11.32:1 AAA Lc 95.9 Preferred for body text
#343274 text on black 1.85: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

    #F4F5FD

    oklch(97.2% 0.011 280.5)

  2. Step 100

    100

    #E6E8FA

    oklch(93.5% 0.024 280.9)

  3. Step 200

    200

    #D3D6F8

    oklch(88.5% 0.047 281.4)

  4. Step 300

    300

    #B6BBF6

    oklch(80.9% 0.083 280.6)

  5. Step 400

    400

    #9296F1

    oklch(70.8% 0.132 280.5)

  6. Step 500

    500

    #7979EC

    oklch(63.1% 0.169 280.4)

  7. Step 600

    600

    #645EDA

    oklch(55.5% 0.184 280.7)

  8. Step 700

    700

    #534DBD

    oklch(49.1% 0.17 280.5)

  9. Step 800

    800

    #444099

    oklch(42.7% 0.141 280.6)

  10. Step 900

    900 (this color)

    #343274

    oklch(35.8% 0.11 280.6)

  11. Step 950

    950

    #212147

    oklch(27% 0.069 280.7)

Export this scale for Tailwind in the Tailwind colors tool

#343274 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)#0A3D760.049
Deuteranopia (no green cones)#0138730.051
Tritanopia (no blue cones)#19414E0.094
Achromatopsia (no color)#3A3A3A0.111

Harmonies

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

Complementary

The opposite hue (180°).

  • #343274

    #343274

    oklch(35.8% 0.11 280.6)

  • #453D00

    #453D00

    oklch(35.7% 0.075 101.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #343274

    #343274

    oklch(35.8% 0.11 280.6)

  • #003E70

    #003E70

    oklch(35.9% 0.103 250.4)

  • #4F2866

    #4F2866

    oklch(35.9% 0.109 311.1)

Open the analogous palette in the generator

Split complementary

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

  • #343274

    #343274

    oklch(35.8% 0.11 280.6)

  • #563400

    #563400

    oklch(35.8% 0.078 69.9)

  • #2A4600

    #2A4600

    oklch(35.8% 0.097 130.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #343274

    #343274

    oklch(35.8% 0.11 280.6)

  • #6A2201

    #6A2201

    oklch(36% 0.11 40.7)

  • #00492E

    #00492E

    oklch(35.8% 0.08 160.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #343274

    #343274

    oklch(35.8% 0.11 280.6)

  • #6A1C2E

    #6A1C2E

    oklch(35.9% 0.11 11.1)

  • #453D00

    #453D00

    oklch(35.7% 0.075 101.1)

  • #004744

    #004744

    oklch(35.9% 0.062 190)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #343274 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.