#345C78

Closest named color: YInMn Blue (#415A77). oklch(45.8% 0.064 240.7), rgb(52, 92, 120).

Aa

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

About this color

#345C78 is a medium-dark, muted blue. In OKLCH its lightness is 46%, its chroma 0.064 and its hue 241°. Its hue sits on the cool side of the wheel. The nearest named color is YInMn Blue (#415A77), ΔE 0.015 away. White text reads best on it, at 7.12:1.

Hue familyBlues
Lightnessmedium-dark (46%)
Chromamuted (0.064)
Temperaturecool
Nearest nameYInMn Blue (#415A77)
Black text2.94:1
White text7.12:1

Values

HEX#345C78
RGBrgb(52, 92, 120)
HSLhsl(205, 40%, 34%)
OKLCHoklch(45.8% 0.064 240.7)

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 #345C78 7.12:1 AAA Lc -89.5 Fine for body text
Black text on #345C78 2.94:1 Fails Lc 19.4 Dividers and decoration only
#345C78 text on white 7.12:1 AAA Lc 84.6 Fine for body text
#345C78 text on black 2.94:1 Fails Lc -17.4 Dividers and decoration only

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

    #F3F6F9

    oklch(97.2% 0.005 247.9)

  2. Step 100

    100

    #E4EBF1

    oklch(93.6% 0.011 243.7)

  3. Step 200

    200

    #CDDBE6

    oklch(88.4% 0.021 241.4)

  4. Step 300

    300

    #ACC4D7

    oklch(80.8% 0.038 241.9)

  5. Step 400

    400

    #7FA6C3

    oklch(70.7% 0.06 240.9)

  6. Step 500

    500

    #5D90B4

    oklch(63.2% 0.077 240.3)

  7. Step 600

    600

    #4279A0

    oklch(55.5% 0.084 241.4)

  8. Step 700

    700

    #336689

    oklch(49.1% 0.079 240.9)

  9. Step 800

    800 (this color)

    #345C78

    oklch(45.8% 0.064 240.7)

  10. Step 900

    900

    #28455A

    oklch(37.7% 0.05 241.3)

  11. Step 950

    950

    #182935

    oklch(27.2% 0.032 240.2)

Export this scale for Tailwind in the Tailwind colors tool

#345C78 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)#505C790.035
Deuteranopia (no green cones)#4655780.028
Tritanopia (no blue cones)#0463650.053
Achromatopsia (no color)#5858580.065

Harmonies

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

Complementary

The opposite hue (180°).

  • #345C78

    #345C78

    oklch(45.8% 0.064 240.7)

  • #724F31

    #724F31

    oklch(45.9% 0.065 60.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #345C78

    #345C78

    oklch(45.8% 0.064 240.7)

  • #23616C

    #23616C

    oklch(45.8% 0.065 211.3)

  • #4A557C

    #4A557C

    oklch(45.7% 0.065 271.6)

Open the analogous palette in the generator

Split complementary

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

  • #345C78

    #345C78

    oklch(45.8% 0.064 240.7)

  • #774A41

    #774A41

    oklch(45.8% 0.064 31.9)

  • #65562A

    #65562A

    oklch(45.8% 0.065 90.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #345C78

    #345C78

    oklch(45.8% 0.064 240.7)

  • #754855

    #754855

    oklch(45.8% 0.064 1.2)

  • #525D33

    #525D33

    oklch(45.8% 0.064 121)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #345C78

    #345C78

    oklch(45.8% 0.064 240.7)

  • #6C4A68

    #6C4A68

    oklch(45.7% 0.064 330.7)

  • #724F31

    #724F31

    oklch(45.9% 0.065 60.8)

  • #3C6245

    #3C6245

    oklch(45.9% 0.064 150.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #345C78 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.