#345FF2

Closest named color: Neon Blue (#4361EE). oklch(54.9% 0.225 266.2), rgb(52, 95, 242).

Aa

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

About this color

#345FF2 is a medium-dark, vivid blue. In OKLCH its lightness is 55%, its chroma 0.225 and its hue 266°. Its hue sits on the cool side of the wheel. The nearest named color is Neon Blue (#4361EE), ΔE 0.017 away. White text reads best on it, at 5.16:1.

Hue familyBlues
Lightnessmedium-dark (55%)
Chromavivid (0.225)
Temperaturecool
Nearest nameNeon Blue (#4361EE)
Black text4.06:1
White text5.16:1

Values

HEX#345FF2
RGBrgb(52, 95, 242)
HSLhsl(226, 88%, 58%)
OKLCHoklch(54.9% 0.225 266.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 #345FF2 5.16:1 AA Lc -80.3 Fine for body text
Black text on #345FF2 4.06:1 AA large text Lc 29.2 Dividers and decoration only
#345FF2 text on white 5.16:1 AA Lc 74.9 Content text, not long reading
#345FF2 text on black 4.06:1 AA large text Lc -26.9 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 600.

  1. Step 50

    50

    #F1F5FF

    oklch(97% 0.014 268.5)

  2. Step 100

    100

    #E1EAFE

    oklch(93.6% 0.029 266.4)

  3. Step 200

    200

    #C8D9FF

    oklch(88.5% 0.056 266.2)

  4. Step 300

    300

    #A4BFFF

    oklch(80.8% 0.096 266.6)

  5. Step 400

    400

    #749CFF

    oklch(70.8% 0.152 266)

  6. Step 500

    500

    #517FFF

    oklch(63.2% 0.197 266)

  7. Step 600

    600 (this color)

    #345FF2

    oklch(54.9% 0.225 266.2)

  8. Step 700

    700

    #294FD5

    oklch(49.1% 0.21 266.2)

  9. Step 800

    800

    #2342AC

    oklch(42.7% 0.173 266.3)

  10. Step 900

    900

    #203988

    oklch(37.6% 0.136 266.5)

  11. Step 950

    950

    #132250

    oklch(26.9% 0.087 266.8)

Export this scale for Tailwind in the Tailwind colors tool

#345FF2 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)#0076F70.053
Deuteranopia (no green cones)#0064EF0.024
Tritanopia (no blue cones)#0085A00.174
Achromatopsia (no color)#6D6D6D0.226

Harmonies

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

Complementary

The opposite hue (180°).

  • #345FF2

    #345FF2

    oklch(54.9% 0.225 266.2)

  • #8E6C00

    #8E6C00

    oklch(55% 0.113 86.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #345FF2

    #345FF2

    oklch(54.9% 0.225 266.2)

  • #007AAD

    #007AAD

    oklch(54.9% 0.119 236.5)

  • #8244E2

    #8244E2

    oklch(55% 0.225 296.1)

Open the analogous palette in the generator

Split complementary

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

  • #345FF2

    #345FF2

    oklch(54.9% 0.225 266.2)

  • #AA5800

    #AA5800

    oklch(54.8% 0.134 56.1)

  • #6E7A00

    #6E7A00

    oklch(55% 0.126 116.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #345FF2

    #345FF2

    oklch(54.9% 0.225 266.2)

  • #D5001C

    #D5001C

    oklch(54.9% 0.223 26.2)

  • #00892C

    #00892C

    oklch(54.8% 0.166 146.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #345FF2

    #345FF2

    oklch(54.9% 0.225 266.2)

  • #CB0075

    #CB0075

    oklch(54.9% 0.225 356.2)

  • #8E6C00

    #8E6C00

    oklch(55% 0.113 86.7)

  • #00846F

    #00846F

    oklch(54.8% 0.102 176.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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