#345F7E

Closest named color: YInMn Blue (#415A77). oklch(46.8% 0.07 241.7), rgb(52, 95, 126).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (47%)
Chromamuted (0.070)
Temperaturecool
Nearest nameYInMn Blue (#415A77)
Black text3.08:1
White text6.80:1

Values

HEX#345F7E
RGBrgb(52, 95, 126)
HSLhsl(205, 42%, 35%)
OKLCHoklch(46.8% 0.07 241.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 #345F7E 6.80:1 AA Lc -88.4 Fine for body text
Black text on #345F7E 3.08:1 AA large text Lc 20.7 Dividers and decoration only
#345F7E text on white 6.80:1 AA Lc 83.4 Fine for body text
#345F7E text on black 3.08:1 AA large text Lc -18.6 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

    #F3F6F8

    oklch(97.1% 0.004 236.5)

  2. Step 100

    100

    #E4EBF0

    oklch(93.6% 0.01 238.5)

  3. Step 200

    200

    #CFDBE5

    oklch(88.5% 0.019 243)

  4. Step 300

    300

    #AEC4D5

    oklch(80.9% 0.034 241.2)

  5. Step 400

    400

    #83A5C0

    oklch(70.6% 0.055 242.5)

  6. Step 500

    500

    #638FB0

    oklch(63.1% 0.069 241.6)

  7. Step 600

    600

    #49799B

    oklch(55.6% 0.075 240.8)

  8. Step 700

    700 (this color)

    #345F7E

    oklch(46.8% 0.07 241.7)

  9. Step 800

    800

    #31536C

    oklch(42.7% 0.058 241.7)

  10. Step 900

    900

    #2B4557

    oklch(37.7% 0.044 239.7)

  11. Step 950

    950

    #1A2833

    oklch(26.9% 0.028 242.7)

Export this scale for Tailwind in the Tailwind colors tool

#345F7E 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)#515F7F0.035
Deuteranopia (no green cones)#47587D0.028
Tritanopia (no blue cones)#0067690.057
Achromatopsia (no color)#5B5B5B0.070

Harmonies

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

Complementary

The opposite hue (180°).

  • #345F7E

    #345F7E

    oklch(46.8% 0.07 241.7)

  • #76512F

    #76512F

    oklch(46.8% 0.07 62.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #345F7E

    #345F7E

    oklch(46.8% 0.07 241.7)

  • #1F6571

    #1F6571

    oklch(46.9% 0.07 211.2)

  • #4C5882

    #4C5882

    oklch(46.9% 0.07 271.3)

Open the analogous palette in the generator

Split complementary

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

  • #345F7E

    #345F7E

    oklch(46.8% 0.07 241.7)

  • #7D4B42

    #7D4B42

    oklch(46.8% 0.07 30.9)

  • #695929

    #695929

    oklch(46.9% 0.069 91.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #345F7E

    #345F7E

    oklch(46.8% 0.07 241.7)

  • #7B4957

    #7B4957

    oklch(46.8% 0.07 2.1)

  • #546032

    #546032

    oklch(46.7% 0.069 121.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #345F7E

    #345F7E

    oklch(46.8% 0.07 241.7)

  • #714C6C

    #714C6C

    oklch(46.9% 0.069 331.4)

  • #76512F

    #76512F

    oklch(46.8% 0.07 62.4)

  • #3B6646

    #3B6646

    oklch(46.9% 0.071 151.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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