#2E64E4

Closest named color: Royal Blue (#4169E1). oklch(54.5% 0.203 263.7), rgb(46, 100, 228).

Aa

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

About this color

#2E64E4 is a medium-dark, vivid blue. In OKLCH its lightness is 55%, its chroma 0.203 and its hue 264°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.023 away. White text reads best on it, at 5.17:1.

Hue familyBlues
Lightnessmedium-dark (55%)
Chromavivid (0.203)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.05:1
White text5.17:1

Values

HEX#2E64E4
RGBrgb(46, 100, 228)
HSLhsl(222, 77%, 54%)
OKLCHoklch(54.5% 0.203 263.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 #2E64E4 5.17:1 AA Lc -80.4 Fine for body text
Black text on #2E64E4 4.05:1 AA large text Lc 29.1 Dividers and decoration only
#2E64E4 text on white 5.17:1 AA Lc 75.0 Fine for body text
#2E64E4 text on black 4.05:1 AA large text Lc -26.7 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

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #E1EAFC

    oklch(93.6% 0.026 264.4)

  3. Step 200

    200

    #C8DAFC

    oklch(88.6% 0.051 263.2)

  4. Step 300

    300

    #A2C1FC

    oklch(80.9% 0.091 263)

  5. Step 400

    400

    #719EFB

    oklch(70.8% 0.145 263.6)

  6. Step 500

    500

    #4C82F9

    oklch(63.1% 0.187 263.6)

  7. Step 600

    600 (this color)

    #2E64E4

    oklch(54.5% 0.203 263.7)

  8. Step 700

    700

    #2455CA

    oklch(49.1% 0.19 263.7)

  9. Step 800

    800

    #1F46A3

    oklch(42.6% 0.157 263.8)

  10. Step 900

    900

    #1E3C81

    oklch(37.6% 0.122 263.8)

  11. Step 950

    950

    #12244C

    oklch(27% 0.078 263.8)

Export this scale for Tailwind in the Tailwind colors tool

#2E64E4 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)#0076E80.044
Deuteranopia (no green cones)#0065E20.019
Tritanopia (no blue cones)#00849A0.158
Achromatopsia (no color)#6D6D6D0.203

Harmonies

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

Complementary

The opposite hue (180°).

  • #2E64E4

    #2E64E4

    oklch(54.5% 0.203 263.7)

  • #8F6900

    #8F6900

    oklch(54.5% 0.112 83.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2E64E4

    #2E64E4

    oklch(54.5% 0.203 263.7)

  • #007AA8

    #007AA8

    oklch(54.6% 0.114 233.8)

  • #7A4CD8

    #7A4CD8

    oklch(54.4% 0.203 293.6)

Open the analogous palette in the generator

Split complementary

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

  • #2E64E4

    #2E64E4

    oklch(54.5% 0.203 263.7)

  • #AB5500

    #AB5500

    oklch(54.5% 0.137 53.8)

  • #707700

    #707700

    oklch(54.5% 0.122 113.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2E64E4

    #2E64E4

    oklch(54.5% 0.203 263.7)

  • #CC2030

    #CC2030

    oklch(54.5% 0.203 23.6)

  • #008816

    #008816

    oklch(54.4% 0.178 143.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2E64E4

    #2E64E4

    oklch(54.5% 0.203 263.7)

  • #C12379

    #C12379

    oklch(54.5% 0.203 353.6)

  • #8F6900

    #8F6900

    oklch(54.5% 0.112 83.5)

  • #00836B

    #00836B

    oklch(54.4% 0.104 173.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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