#345F82

Closest named color: Denim (#3B638C). oklch(47% 0.075 244.9), rgb(52, 95, 130).

Aa

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

About this color

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

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

Values

HEX#345F82
RGBrgb(52, 95, 130)
HSLhsl(207, 43%, 36%)
OKLCHoklch(47% 0.075 244.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 #345F82 6.76:1 AA Lc -88.2 Fine for body text
Black text on #345F82 3.10:1 AA large text Lc 20.9 Dividers and decoration only
#345F82 text on white 6.76:1 AA Lc 83.2 Fine for body text
#345F82 text on black 3.10:1 AA large text Lc -18.8 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

    #CFDBE6

    oklch(88.6% 0.02 245.7)

  4. Step 300

    300

    #AEC4D7

    oklch(81% 0.036 244.3)

  5. Step 400

    400

    #83A5C3

    oklch(70.7% 0.058 245.4)

  6. Step 500

    500

    #638EB3

    oklch(63% 0.073 245.3)

  7. Step 600

    600

    #49789F

    oklch(55.6% 0.08 245)

  8. Step 700

    700 (this color)

    #345F82

    oklch(47% 0.075 244.9)

  9. Step 800

    800

    #30526F

    oklch(42.6% 0.063 245.7)

  10. Step 900

    900

    #2B445A

    oklch(37.6% 0.049 246.1)

  11. Step 950

    950

    #1A2834

    oklch(27% 0.03 245.1)

Export this scale for Tailwind in the Tailwind colors tool

#345F82 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)#5060840.035
Deuteranopia (no green cones)#4558810.026
Tritanopia (no blue cones)#00676B0.060
Achromatopsia (no color)#5B5B5B0.075

Harmonies

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

Complementary

The opposite hue (180°).

  • #345F82

    #345F82

    oklch(47% 0.075 244.9)

  • #78522B

    #78522B

    oklch(47.2% 0.074 65)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #345F82

    #345F82

    oklch(47% 0.075 244.9)

  • #196575

    #196575

    oklch(47% 0.075 215.4)

  • #4F5785

    #4F5785

    oklch(47% 0.075 275.6)

Open the analogous palette in the generator

Split complementary

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

  • #345F82

    #345F82

    oklch(47% 0.075 244.9)

  • #7F4B3E

    #7F4B3E

    oklch(47% 0.074 34.8)

  • #685A25

    #685A25

    oklch(47% 0.074 94.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #345F82

    #345F82

    oklch(47% 0.075 244.9)

  • #7E4855

    #7E4855

    oklch(46.9% 0.075 4.9)

  • #516232

    #516232

    oklch(47% 0.074 125.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #345F82

    #345F82

    oklch(47% 0.075 244.9)

  • #754A6C

    #754A6C

    oklch(47% 0.076 334.6)

  • #78522B

    #78522B

    oklch(47.2% 0.074 65)

  • #356748

    #356748

    oklch(46.9% 0.075 155)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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