#2E5FEB

Closest named color: Azul (#1D5DEC). oklch(54.1% 0.218 265), rgb(46, 95, 235).

Aa

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

About this color

#2E5FEB is a medium-dark, vivid blue. In OKLCH its lightness is 54%, its chroma 0.218 and its hue 265°. Its hue sits on the cool side of the wheel. The nearest named color is Azul (#1D5DEC), ΔE 0.013 away. White text reads best on it, at 5.31:1.

Hue familyBlues
Lightnessmedium-dark (54%)
Chromavivid (0.218)
Temperaturecool
Nearest nameAzul (#1D5DEC)
Black text3.95:1
White text5.31:1

Values

HEX#2E5FEB
RGBrgb(46, 95, 235)
HSLhsl(224, 83%, 55%)
OKLCHoklch(54.1% 0.218 265)

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 #2E5FEB 5.31:1 AA Lc -81.1 Fine for body text
Black text on #2E5FEB 3.95:1 AA large text Lc 28.4 Dividers and decoration only
#2E5FEB text on white 5.31:1 AA Lc 75.7 Fine for body text
#2E5FEB text on black 3.95:1 AA large text Lc -26.0 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

    #F1F6FF

    oklch(97.2% 0.013 262.4)

  2. Step 100

    100

    #E1EAFE

    oklch(93.6% 0.029 266.4)

  3. Step 200

    200

    #C8D9FE

    oklch(88.5% 0.054 265.8)

  4. Step 300

    300

    #A3C0FF

    oklch(80.9% 0.095 265.2)

  5. Step 400

    400

    #719CFF

    oklch(70.6% 0.153 265)

  6. Step 500

    500

    #4D7FFF

    oklch(63% 0.198 265.1)

  7. Step 600

    600 (this color)

    #2E5FEB

    oklch(54.1% 0.218 265)

  8. Step 700

    700

    #2652D1

    oklch(49.2% 0.202 265)

  9. Step 800

    800

    #2044A9

    oklch(42.8% 0.168 265)

  10. Step 900

    900

    #1E3B86

    oklch(37.8% 0.131 264.8)

  11. Step 950

    950

    #12234E

    oklch(26.9% 0.082 265.1)

Export this scale for Tailwind in the Tailwind colors tool

#2E5FEB 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)#0074F00.049
Deuteranopia (no green cones)#0063E80.020
Tritanopia (no blue cones)#00839C0.169
Achromatopsia (no color)#6B6B6B0.218

Harmonies

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

Complementary

The opposite hue (180°).

  • #2E5FEB

    #2E5FEB

    oklch(54.1% 0.218 265)

  • #8C6900

    #8C6900

    oklch(54.1% 0.111 85.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2E5FEB

    #2E5FEB

    oklch(54.1% 0.218 265)

  • #0078A8

    #0078A8

    oklch(54.1% 0.115 235.3)

  • #7D45DD

    #7D45DD

    oklch(54.2% 0.218 295)

Open the analogous palette in the generator

Split complementary

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

  • #2E5FEB

    #2E5FEB

    oklch(54.1% 0.218 265)

  • #A85500

    #A85500

    oklch(54% 0.134 54.8)

  • #6D7600

    #6D7600

    oklch(54% 0.122 115)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2E5FEB

    #2E5FEB

    oklch(54.1% 0.218 265)

  • #D00422

    #D00422

    oklch(54.1% 0.218 25)

  • #008722

    #008722

    oklch(54.2% 0.171 145)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2E5FEB

    #2E5FEB

    oklch(54.1% 0.218 265)

  • #C50B75

    #C50B75

    oklch(54.1% 0.218 355)

  • #8C6900

    #8C6900

    oklch(54.1% 0.111 85.5)

  • #00826C

    #00826C

    oklch(54.2% 0.102 175.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2E5FEB 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.