#345AB8

Closest named color: Mid Blue (#276AB3). oklch(49.3% 0.155 264.7), rgb(52, 90, 184).

Aa

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

About this color

#345AB8 is a medium-dark, vivid blue. In OKLCH its lightness is 49%, its chroma 0.155 and its hue 265°. Its hue sits on the cool side of the wheel. The nearest named color is Mid Blue (#276AB3), ΔE 0.045 away. White text reads best on it, at 6.36:1.

Hue familyBlues
Lightnessmedium-dark (49%)
Chromavivid (0.155)
Temperaturecool
Nearest nameMid Blue (#276AB3)
Black text3.30:1
White text6.36:1

Values

HEX#345AB8
RGBrgb(52, 90, 184)
HSLhsl(223, 56%, 46%)
OKLCHoklch(49.3% 0.155 264.7)

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 #345AB8 6.36:1 AA Lc -86.4 Fine for body text
Black text on #345AB8 3.30:1 AA large text Lc 22.8 Dividers and decoration only
#345AB8 text on white 6.36:1 AA Lc 81.3 Fine for body text
#345AB8 text on black 3.30:1 AA large text Lc -20.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

    #F2F5FC

    oklch(97% 0.01 267.4)

  2. Step 100

    100

    #E3EAF9

    oklch(93.6% 0.022 265.8)

  3. Step 200

    200

    #CCD9F6

    oklch(88.5% 0.042 266.3)

  4. Step 300

    300

    #A9C1F2

    oklch(81% 0.074 264.4)

  5. Step 400

    400

    #7B9FEC

    oklch(70.8% 0.12 264.4)

  6. Step 500

    500

    #5A85E5

    oklch(63.1% 0.152 264.3)

  7. Step 600

    600

    #416CD4

    oklch(55.6% 0.167 264.6)

  8. Step 700

    700 (this color)

    #345AB8

    oklch(49.3% 0.155 264.7)

  9. Step 800

    800

    #2B4A94

    oklch(42.8% 0.127 264.5)

  10. Step 900

    900

    #273E76

    oklch(37.7% 0.1 265.2)

  11. Step 950

    950

    #172545

    oklch(27% 0.063 264.7)

Export this scale for Tailwind in the Tailwind colors tool

#345AB8 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)#2066BB0.032
Deuteranopia (no green cones)#005AB60.029
Tritanopia (no blue cones)#0070800.124
Achromatopsia (no color)#5F5F5F0.155

Harmonies

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

Complementary

The opposite hue (180°).

  • #345AB8

    #345AB8

    oklch(49.3% 0.155 264.7)

  • #7C5C00

    #7C5C00

    oklch(49.4% 0.101 84.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #345AB8

    #345AB8

    oklch(49.3% 0.155 264.7)

  • #006A93

    #006A93

    oklch(49.4% 0.103 234)

  • #6949AE

    #6949AE

    oklch(49.2% 0.155 294.7)

Open the analogous palette in the generator

Split complementary

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

  • #345AB8

    #345AB8

    oklch(49.3% 0.155 264.7)

  • #944A00

    #944A00

    oklch(49.2% 0.122 54.7)

  • #606800

    #606800

    oklch(49.3% 0.112 114.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #345AB8

    #345AB8

    oklch(49.3% 0.155 264.7)

  • #A73131

    #A73131

    oklch(49.2% 0.154 24.8)

  • #03761C

    #03761C

    oklch(49.2% 0.155 144.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #345AB8

    #345AB8

    oklch(49.3% 0.155 264.7)

  • #A03066

    #A03066

    oklch(49.3% 0.156 354.8)

  • #7C5C00

    #7C5C00

    oklch(49.4% 0.101 84.9)

  • #00725E

    #00725E

    oklch(49.3% 0.093 174.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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