#345796

Closest named color: Denim Blue (#3B5B92). oklch(46.3% 0.111 261.2), rgb(52, 87, 150).

Aa

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

About this color

#345796 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 46%, its chroma 0.111 and its hue 261°. Its hue sits on the cool side of the wheel. The nearest named color is Denim Blue (#3B5B92), ΔE 0.017 away. White text reads best on it, at 7.11:1.

Hue familyBlues
Lightnessmedium-dark (46%)
Chromamoderately saturated (0.111)
Temperaturecool
Nearest nameDenim Blue (#3B5B92)
Black text2.94:1
White text7.11:1

Values

HEX#345796
RGBrgb(52, 87, 150)
HSLhsl(219, 49%, 40%)
OKLCHoklch(46.3% 0.111 261.2)

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 #345796 7.11:1 AAA Lc -89.4 Fine for body text
Black text on #345796 2.94:1 Fails Lc 19.6 Dividers and decoration only
#345796 text on white 7.11:1 AAA Lc 84.5 Fine for body text
#345796 text on black 2.94:1 Fails Lc -17.5 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

    #F3F6FA

    oklch(97.2% 0.006 255.5)

  2. Step 100

    100

    #E4EAF5

    oklch(93.6% 0.016 262.8)

  3. Step 200

    200

    #CEDAED

    oklch(88.5% 0.029 259.6)

  4. Step 300

    300

    #AEC2E4

    oklch(81% 0.053 261)

  5. Step 400

    400

    #83A1D6

    oklch(70.7% 0.085 261.5)

  6. Step 500

    500

    #6389CC

    oklch(63.1% 0.11 261.2)

  7. Step 600

    600

    #4A72B8

    oklch(55.6% 0.118 260.9)

  8. Step 700

    700 (this color)

    #345796

    oklch(46.3% 0.111 261.2)

  9. Step 800

    800

    #314E81

    oklch(42.7% 0.092 261)

  10. Step 900

    900

    #2C4167

    oklch(37.7% 0.071 261.6)

  11. Step 950

    950

    #1A263D

    oklch(27% 0.046 262.7)

Export this scale for Tailwind in the Tailwind colors tool

#345796 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)#3B5D980.020
Deuteranopia (no green cones)#2C54950.013
Tritanopia (no blue cones)#00656F0.091
Achromatopsia (no color)#5858580.111

Harmonies

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

Complementary

The opposite hue (180°).

  • #345796

    #345796

    oklch(46.3% 0.111 261.2)

  • #745200

    #745200

    oklch(46.3% 0.096 80.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #345796

    #345796

    oklch(46.3% 0.111 261.2)

  • #006183

    #006183

    oklch(46.2% 0.093 231.1)

  • #5A4B91

    #5A4B91

    oklch(46.2% 0.111 291.3)

Open the analogous palette in the generator

Split complementary

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

  • #345796

    #345796

    oklch(46.3% 0.111 261.2)

  • #884311

    #884311

    oklch(46.3% 0.111 50.9)

  • #5B5E00

    #5B5E00

    oklch(46.4% 0.103 111.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #345796

    #345796

    oklch(46.3% 0.111 261.2)

  • #8C3B3D

    #8C3B3D

    oklch(46.2% 0.111 20.9)

  • #316829

    #316829

    oklch(46.4% 0.111 141.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #345796

    #345796

    oklch(46.3% 0.111 261.2)

  • #853B60

    #853B60

    oklch(46.2% 0.111 351.1)

  • #745200

    #745200

    oklch(46.3% 0.096 80.9)

  • #006952

    #006952

    oklch(46.4% 0.091 170.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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