#345F8A

Closest named color: Denim (#3B638C). oklch(47.5% 0.085 250), rgb(52, 95, 138).

Aa

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

About this color

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

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

Values

HEX#345F8A
RGBrgb(52, 95, 138)
HSLhsl(210, 45%, 37%)
OKLCHoklch(47.5% 0.085 250)

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 #345F8A 6.66:1 AA Lc -87.8 Fine for body text
Black text on #345F8A 3.14:1 AA large text Lc 21.3 Dividers and decoration only
#345F8A text on white 6.66:1 AA Lc 82.8 Fine for body text
#345F8A text on black 3.14:1 AA large text Lc -19.2 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

    #F3F6F9

    oklch(97.2% 0.005 247.9)

  2. Step 100

    100

    #E4EBF2

    oklch(93.7% 0.012 248)

  3. Step 200

    200

    #CEDBE8

    oklch(88.6% 0.023 248.1)

  4. Step 300

    300

    #ADC3DB

    oklch(80.8% 0.042 250.6)

  5. Step 400

    400

    #82A4C9

    oklch(70.7% 0.066 250.9)

  6. Step 500

    500

    #618DBB

    oklch(63% 0.085 250.4)

  7. Step 600

    600

    #4777A7

    oklch(55.6% 0.092 249.8)

  8. Step 700

    700 (this color)

    #345F8A

    oklch(47.5% 0.085 250)

  9. Step 800

    800

    #2F5274

    oklch(42.8% 0.07 249.1)

  10. Step 900

    900

    #2A445E

    oklch(37.8% 0.055 249.5)

  11. Step 950

    950

    #192837

    oklch(27.1% 0.035 249.2)

Export this scale for Tailwind in the Tailwind colors tool

#345F8A 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)#4D618C0.031
Deuteranopia (no green cones)#4158890.023
Tritanopia (no blue cones)#00696E0.069
Achromatopsia (no color)#5C5C5C0.085

Harmonies

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

Complementary

The opposite hue (180°).

  • #345F8A

    #345F8A

    oklch(47.5% 0.085 250)

  • #7A531F

    #7A531F

    oklch(47.5% 0.085 70.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #345F8A

    #345F8A

    oklch(47.5% 0.085 250)

  • #05677D

    #05677D

    oklch(47.5% 0.085 219.6)

  • #53568B

    #53568B

    oklch(47.5% 0.085 280.2)

Open the analogous palette in the generator

Split complementary

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

  • #345F8A

    #345F8A

    oklch(47.5% 0.085 250)

  • #844A36

    #844A36

    oklch(47.4% 0.085 39.7)

  • #675D1B

    #675D1B

    oklch(47.5% 0.085 100.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #345F8A

    #345F8A

    oklch(47.5% 0.085 250)

  • #844751

    #844751

    oklch(47.5% 0.084 10.3)

  • #4C6630

    #4C6630

    oklch(47.6% 0.085 130.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #345F8A

    #345F8A

    oklch(47.5% 0.085 250)

  • #7C486B

    #7C486B

    oklch(47.5% 0.086 340.3)

  • #7A531F

    #7A531F

    oklch(47.5% 0.085 70.7)

  • #286B4B

    #286B4B

    oklch(47.6% 0.086 159.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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