#345F7F

Closest named color: YInMn Blue (#415A77). oklch(46.9% 0.071 242.5), rgb(52, 95, 127).

Aa

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

About this color

#345F7F is a medium-dark, moderately saturated blue. In OKLCH its lightness is 47%, its chroma 0.071 and its hue 243°. 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.79:1.

Hue familyBlues
Lightnessmedium-dark (47%)
Chromamoderately saturated (0.071)
Temperaturecool
Nearest nameYInMn Blue (#415A77)
Black text3.08:1
White text6.79:1

Values

HEX#345F7F
RGBrgb(52, 95, 127)
HSLhsl(206, 42%, 35%)
OKLCHoklch(46.9% 0.071 242.5)

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 #345F7F 6.79:1 AA Lc -88.3 Fine for body text
Black text on #345F7F 3.08:1 AA large text Lc 20.7 Dividers and decoration only
#345F7F text on white 6.79:1 AA Lc 83.3 Fine for body text
#345F7F 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

    #638FB1

    oklch(63.1% 0.07 242.4)

  7. Step 600

    600

    #49799C

    oklch(55.7% 0.076 241.6)

  8. Step 700

    700 (this color)

    #345F7F

    oklch(46.9% 0.071 242.5)

  9. Step 800

    800

    #31536D

    oklch(42.8% 0.059 242.8)

  10. Step 900

    900

    #2B4558

    oklch(37.8% 0.046 241.2)

  11. Step 950

    950

    #1A2834

    oklch(27% 0.03 245.1)

Export this scale for Tailwind in the Tailwind colors tool

#345F7F 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)#515F800.035
Deuteranopia (no green cones)#47587E0.028
Tritanopia (no blue cones)#00676A0.057
Achromatopsia (no color)#5B5B5B0.071

Harmonies

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

Complementary

The opposite hue (180°).

  • #345F7F

    #345F7F

    oklch(46.9% 0.071 242.5)

  • #77512E

    #77512E

    oklch(46.9% 0.071 62.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #345F7F

    #345F7F

    oklch(46.9% 0.071 242.5)

  • #1E6572

    #1E6572

    oklch(47% 0.071 212.4)

  • #4D5882

    #4D5882

    oklch(46.9% 0.07 272.3)

Open the analogous palette in the generator

Split complementary

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

  • #345F7F

    #345F7F

    oklch(46.9% 0.071 242.5)

  • #7D4B41

    #7D4B41

    oklch(46.8% 0.071 32)

  • #685928

    #685928

    oklch(46.8% 0.07 92.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #345F7F

    #345F7F

    oklch(46.9% 0.071 242.5)

  • #7C4957

    #7C4957

    oklch(46.9% 0.072 2.5)

  • #536132

    #536132

    oklch(46.9% 0.071 122.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #345F7F

    #345F7F

    oklch(46.9% 0.071 242.5)

  • #724B6C

    #724B6C

    oklch(46.8% 0.071 332.2)

  • #77512E

    #77512E

    oklch(46.9% 0.071 62.3)

  • #396647

    #396647

    oklch(46.8% 0.071 152.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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