#345771

Closest named color: YInMn Blue (#415A77). oklch(44.2% 0.059 242), rgb(52, 87, 113).

Aa

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

About this color

#345771 is a dark, muted blue. In OKLCH its lightness is 44%, its chroma 0.059 and its hue 242°. Its hue sits on the cool side of the wheel. The nearest named color is YInMn Blue (#415A77), ΔE 0.021 away. White text reads best on it, at 7.64:1.

Hue familyBlues
Lightnessdark (44%)
Chromamuted (0.059)
Temperaturecool
Nearest nameYInMn Blue (#415A77)
Black text2.74:1
White text7.64:1

Values

HEX#345771
RGBrgb(52, 87, 113)
HSLhsl(206, 37%, 32%)
OKLCHoklch(44.2% 0.059 242)

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 #345771 7.64:1 AAA Lc -91.2 Preferred for body text
Black text on #345771 2.74:1 Fails Lc 17.6 Dividers and decoration only
#345771 text on white 7.64:1 AAA Lc 86.5 Fine for body text
#345771 text on black 2.74:1 Fails Lc -15.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 800.

  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

    #83A5C1

    oklch(70.7% 0.056 243.5)

  6. Step 500

    500

    #628FB1

    oklch(63.1% 0.071 241.9)

  7. Step 600

    600

    #48799D

    oklch(55.7% 0.077 241.8)

  8. Step 700

    700

    #396686

    oklch(49.2% 0.072 241.2)

  9. Step 800

    800 (this color)

    #345771

    oklch(44.2% 0.059 242)

  10. Step 900

    900

    #2B4558

    oklch(37.8% 0.046 241.2)

  11. Step 950

    950

    #192834

    oklch(26.9% 0.03 243.3)

Export this scale for Tailwind in the Tailwind colors tool

#345771 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)#4C57720.031
Deuteranopia (no green cones)#4451710.026
Tritanopia (no blue cones)#125D600.048
Achromatopsia (no color)#5353530.059

Harmonies

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

Complementary

The opposite hue (180°).

  • #345771

    #345771

    oklch(44.2% 0.059 242)

  • #6B4B30

    #6B4B30

    oklch(44.1% 0.059 60.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #345771

    #345771

    oklch(44.2% 0.059 242)

  • #255C66

    #255C66

    oklch(44.3% 0.059 211.3)

  • #475174

    #475174

    oklch(44.1% 0.059 271.6)

Open the analogous palette in the generator

Split complementary

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

  • #345771

    #345771

    oklch(44.2% 0.059 242)

  • #70473E

    #70473E

    oklch(44.2% 0.059 33)

  • #5F522B

    #5F522B

    oklch(44.2% 0.059 91.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #345771

    #345771

    oklch(44.2% 0.059 242)

  • #6E4550

    #6E4550

    oklch(44.1% 0.058 2.3)

  • #4D5832

    #4D5832

    oklch(44.1% 0.059 122)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #345771

    #345771

    oklch(44.2% 0.059 242)

  • #664762

    #664762

    oklch(44.2% 0.059 331.1)

  • #6B4B30

    #6B4B30

    oklch(44.1% 0.059 60.5)

  • #395D43

    #395D43

    oklch(44.3% 0.06 152.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #345771 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.