#345F88

Closest named color: Denim (#3B638C). oklch(47.3% 0.082 248.9), rgb(52, 95, 136).

Aa

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

About this color

#345F88 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 47%, its chroma 0.082 and its hue 249°. 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.69:1.

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

Values

HEX#345F88
RGBrgb(52, 95, 136)
HSLhsl(209, 45%, 37%)
OKLCHoklch(47.3% 0.082 248.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 #345F88 6.69:1 AA Lc -87.9 Fine for body text
Black text on #345F88 3.13:1 AA large text Lc 21.2 Dividers and decoration only
#345F88 text on white 6.69:1 AA Lc 82.9 Fine for body text
#345F88 text on black 3.13:1 AA large text Lc -19.1 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

    #ADC3DA

    oklch(80.8% 0.041 249.5)

  5. Step 400

    400

    #82A4C7

    oklch(70.6% 0.064 249.5)

  6. Step 500

    500

    #628EB9

    oklch(63.2% 0.081 248.7)

  7. Step 600

    600

    #4877A5

    oklch(55.6% 0.089 249.2)

  8. Step 700

    700 (this color)

    #345F88

    oklch(47.3% 0.082 248.9)

  9. Step 800

    800

    #305273

    oklch(42.8% 0.068 249)

  10. Step 900

    900

    #2A445D

    oklch(37.7% 0.054 248.5)

  11. Step 950

    950

    #192836

    oklch(27% 0.033 247.4)

Export this scale for Tailwind in the Tailwind colors tool

#345F88 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)#4E618A0.032
Deuteranopia (no green cones)#4258870.024
Tritanopia (no blue cones)#00696D0.068
Achromatopsia (no color)#5C5C5C0.082

Harmonies

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

Complementary

The opposite hue (180°).

  • #345F88

    #345F88

    oklch(47.3% 0.082 248.9)

  • #7A5222

    #7A5222

    oklch(47.3% 0.083 68.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #345F88

    #345F88

    oklch(47.3% 0.082 248.9)

  • #0C667B

    #0C667B

    oklch(47.3% 0.082 219.3)

  • #525689

    #525689

    oklch(47.3% 0.082 279.3)

Open the analogous palette in the generator

Split complementary

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

  • #345F88

    #345F88

    oklch(47.3% 0.082 248.9)

  • #834B38

    #834B38

    oklch(47.5% 0.082 39.4)

  • #675C1E

    #675C1E

    oklch(47.3% 0.082 99.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #345F88

    #345F88

    oklch(47.3% 0.082 248.9)

  • #834752

    #834752

    oklch(47.4% 0.083 9)

  • #4D6530

    #4D6530

    oklch(47.4% 0.083 129.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #345F88

    #345F88

    oklch(47.3% 0.082 248.9)

  • #7A496B

    #7A496B

    oklch(47.4% 0.082 339.2)

  • #7A5222

    #7A5222

    oklch(47.3% 0.083 68.1)

  • #2C6A4B

    #2C6A4B

    oklch(47.4% 0.082 159.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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