#34517E

Closest named color: Dusk Blue (#26538D). oklch(43.4% 0.083 258.9), rgb(52, 81, 126).

Aa

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

About this color

#34517E is a dark, moderately saturated blue. In OKLCH its lightness is 43%, its chroma 0.083 and its hue 259°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk Blue (#26538D), ΔE 0.027 away. White text reads best on it, at 8.00:1.

Hue familyBlues
Lightnessdark (43%)
Chromamoderately saturated (0.083)
Temperaturecool
Nearest nameDusk Blue (#26538D)
Black text2.62:1
White text8.00:1

Values

HEX#34517E
RGBrgb(52, 81, 126)
HSLhsl(216, 42%, 35%)
OKLCHoklch(43.4% 0.083 258.9)

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 #34517E 8.00:1 AAA Lc -92.3 Preferred for body text
Black text on #34517E 2.62:1 Fails Lc 16.4 Dividers and decoration only
#34517E text on white 8.00:1 AAA Lc 87.6 Fine for body text
#34517E text on black 2.62:1 Fails Lc -14.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 800.

  1. Step 50

    50

    #F3F6FA

    oklch(97.2% 0.006 255.5)

  2. Step 100

    100

    #E4EAF3

    oklch(93.5% 0.014 258.3)

  3. Step 200

    200

    #CFDAEB

    oklch(88.5% 0.026 259)

  4. Step 300

    300

    #AEC2E0

    oklch(80.9% 0.048 258.4)

  5. Step 400

    400

    #83A2D1

    oklch(70.7% 0.077 258.5)

  6. Step 500

    500

    #648AC5

    oklch(63% 0.099 258.9)

  7. Step 600

    600

    #4B73B2

    oklch(55.5% 0.108 259.2)

  8. Step 700

    700

    #3C6199

    oklch(49.2% 0.1 258.4)

  9. Step 800

    800 (this color)

    #34517E

    oklch(43.4% 0.083 258.9)

  10. Step 900

    900

    #2C4264

    oklch(37.7% 0.065 258.8)

  11. Step 950

    950

    #1A273A

    oklch(27% 0.04 257.8)

Export this scale for Tailwind in the Tailwind colors tool

#34517E 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)#3F54800.018
Deuteranopia (no green cones)#354D7D0.012
Tritanopia (no blue cones)#005B610.074
Achromatopsia (no color)#5050500.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #34517E

    #34517E

    oklch(43.4% 0.083 258.9)

  • #694B0F

    #694B0F

    oklch(43.5% 0.083 79.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #34517E

    #34517E

    oklch(43.4% 0.083 258.9)

  • #085975

    #085975

    oklch(43.4% 0.083 228.9)

  • #50497B

    #50497B

    oklch(43.5% 0.081 289)

Open the analogous palette in the generator

Split complementary

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

  • #34517E

    #34517E

    oklch(43.4% 0.083 258.9)

  • #754225

    #754225

    oklch(43.5% 0.082 49)

  • #555415

    #555415

    oklch(43.4% 0.082 108.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #34517E

    #34517E

    oklch(43.4% 0.083 258.9)

  • #783D3F

    #783D3F

    oklch(43.5% 0.082 18.9)

  • #385C2E

    #385C2E

    oklch(43.5% 0.083 139.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #34517E

    #34517E

    oklch(43.4% 0.083 258.9)

  • #723D58

    #723D58

    oklch(43.5% 0.082 349.2)

  • #694B0F

    #694B0F

    oklch(43.5% 0.083 79.6)

  • #0C5F49

    #0C5F49

    oklch(43.4% 0.082 169.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #34517E 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.