#345F87

Closest named color: Denim (#3B638C). oklch(47.3% 0.081 248.3), rgb(52, 95, 135).

Aa

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

About this color

#345F87 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 47%, its chroma 0.081 and its hue 248°. Its hue sits on the cool side of the wheel. The nearest named color is Denim (#3B638C), ΔE 0.016 away. White text reads best on it, at 6.70:1.

Hue familyBlues
Lightnessmedium-dark (47%)
Chromamoderately saturated (0.081)
Temperaturecool
Nearest nameDenim (#3B638C)
Black text3.13:1
White text6.70:1

Values

HEX#345F87
RGBrgb(52, 95, 135)
HSLhsl(209, 44%, 37%)
OKLCHoklch(47.3% 0.081 248.3)

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 #345F87 6.70:1 AA Lc -87.9 Fine for body text
Black text on #345F87 3.13:1 AA large text Lc 21.1 Dividers and decoration only
#345F87 text on white 6.70:1 AA Lc 82.9 Fine for body text
#345F87 text on black 3.13:1 AA large text Lc -19.0 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

    #F3F6F9

    oklch(97.2% 0.005 247.9)

  2. Step 100

    100

    #E4EBF1

    oklch(93.6% 0.011 243.7)

  3. Step 200

    200

    #CEDBE7

    oklch(88.5% 0.022 245.9)

  4. Step 300

    300

    #ADC3D9

    oklch(80.8% 0.039 248.3)

  5. Step 400

    400

    #82A5C6

    oklch(70.8% 0.062 247.2)

  6. Step 500

    500

    #628EB8

    oklch(63.2% 0.08 248.1)

  7. Step 600

    600

    #4877A4

    oklch(55.5% 0.087 248.7)

  8. Step 700

    700 (this color)

    #345F87

    oklch(47.3% 0.081 248.3)

  9. Step 800

    800

    #305272

    oklch(42.7% 0.067 248.2)

  10. Step 900

    900

    #2B445C

    oklch(37.7% 0.052 248.4)

  11. Step 950

    950

    #192836

    oklch(27% 0.033 247.4)

Export this scale for Tailwind in the Tailwind colors tool

#345F87 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)#4E60890.032
Deuteranopia (no green cones)#4358860.025
Tritanopia (no blue cones)#00686D0.065
Achromatopsia (no color)#5C5C5C0.081

Harmonies

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

Complementary

The opposite hue (180°).

  • #345F87

    #345F87

    oklch(47.3% 0.081 248.3)

  • #795224

    #795224

    oklch(47.2% 0.081 68)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #345F87

    #345F87

    oklch(47.3% 0.081 248.3)

  • #0F667A

    #0F667A

    oklch(47.3% 0.081 218.5)

  • #515789

    #515789

    oklch(47.4% 0.081 277.6)

Open the analogous palette in the generator

Split complementary

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

  • #345F87

    #345F87

    oklch(47.3% 0.081 248.3)

  • #824B39

    #824B39

    oklch(47.3% 0.08 38.9)

  • #685C1F

    #685C1F

    oklch(47.4% 0.081 98)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #345F87

    #345F87

    oklch(47.3% 0.081 248.3)

  • #824753

    #824753

    oklch(47.3% 0.081 7.6)

  • #4E6430

    #4E6430

    oklch(47.2% 0.081 128.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #345F87

    #345F87

    oklch(47.3% 0.081 248.3)

  • #79496B

    #79496B

    oklch(47.3% 0.081 338.5)

  • #795224

    #795224

    oklch(47.2% 0.081 68)

  • #2E694A

    #2E694A

    oklch(47.2% 0.08 158.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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