#345A9C

Closest named color: Denim Blue (#3B5B92). oklch(47.4% 0.116 260.7), rgb(52, 90, 156).

Aa

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

About this color

#345A9C is a medium-dark, moderately saturated blue. In OKLCH its lightness is 47%, its chroma 0.116 and its hue 261°. Its hue sits on the cool side of the wheel. The nearest named color is Denim Blue (#3B5B92), ΔE 0.018 away. White text reads best on it, at 6.79:1.

Hue familyBlues
Lightnessmedium-dark (47%)
Chromamoderately saturated (0.116)
Temperaturecool
Nearest nameDenim Blue (#3B5B92)
Black text3.08:1
White text6.79:1

Values

HEX#345A9C
RGBrgb(52, 90, 156)
HSLhsl(218, 50%, 41%)
OKLCHoklch(47.4% 0.116 260.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 #345A9C 6.79:1 AA Lc -88.2 Fine for body text
Black text on #345A9C 3.08:1 AA large text Lc 20.8 Dividers and decoration only
#345A9C text on white 6.79:1 AA Lc 83.2 Fine for body text
#345A9C text on black 3.08:1 AA large text Lc -18.7 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 700.

  1. Step 50

    50

    #F3F6FB

    oklch(97.2% 0.007 260.7)

  2. Step 100

    100

    #E4EAF5

    oklch(93.6% 0.016 262.8)

  3. Step 200

    200

    #CEDAEE

    oklch(88.5% 0.03 260.7)

  4. Step 300

    300

    #ACC2E5

    oklch(80.9% 0.055 259.6)

  5. Step 400

    400

    #81A1D9

    oklch(70.7% 0.09 261.3)

  6. Step 500

    500

    #6189CE

    oklch(63.1% 0.114 260.8)

  7. Step 600

    600

    #4772BB

    oklch(55.6% 0.124 260.4)

  8. Step 700

    700 (this color)

    #345A9C

    oklch(47.4% 0.116 260.7)

  9. Step 800

    800

    #2F4E83

    oklch(42.7% 0.096 260.5)

  10. Step 900

    900

    #2A4169

    oklch(37.7% 0.075 260.9)

  11. Step 950

    950

    #19263D

    oklch(26.9% 0.047 261.3)

Export this scale for Tailwind in the Tailwind colors tool

#345A9C 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)#3C609F0.020
Deuteranopia (no green cones)#2C569B0.015
Tritanopia (no blue cones)#0069730.095
Achromatopsia (no color)#5B5B5B0.116

Harmonies

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

Complementary

The opposite hue (180°).

  • #345A9C

    #345A9C

    oklch(47.4% 0.116 260.7)

  • #785500

    #785500

    oklch(47.4% 0.098 80.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #345A9C

    #345A9C

    oklch(47.4% 0.116 260.7)

  • #006587

    #006587

    oklch(47.5% 0.095 230.2)

  • #5D4E97

    #5D4E97

    oklch(47.4% 0.115 290.8)

Open the analogous palette in the generator

Split complementary

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

  • #345A9C

    #345A9C

    oklch(47.4% 0.116 260.7)

  • #8D4510

    #8D4510

    oklch(47.4% 0.115 50.9)

  • #5F6000

    #5F6000

    oklch(47.2% 0.103 110.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #345A9C

    #345A9C

    oklch(47.4% 0.116 260.7)

  • #923C3F

    #923C3F

    oklch(47.4% 0.117 20.6)

  • #336B28

    #336B28

    oklch(47.4% 0.116 140.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #345A9C

    #345A9C

    oklch(47.4% 0.116 260.7)

  • #8A3D64

    #8A3D64

    oklch(47.4% 0.115 350.7)

  • #785500

    #785500

    oklch(47.4% 0.098 80.9)

  • #006C54

    #006C54

    oklch(47.3% 0.093 170.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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