#2E71D9

Closest named color: Royal Blue (#4169E1). oklch(56.3% 0.173 259.2), rgb(46, 113, 217).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (56%)
Chromavivid (0.173)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.48:1
White text4.68:1

Values

HEX#2E71D9
RGBrgb(46, 113, 217)
HSLhsl(216, 69%, 52%)
OKLCHoklch(56.3% 0.173 259.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 #2E71D9 4.68:1 AA Lc -77.5 Fine for body text
Black text on #2E71D9 4.48:1 AA large text Lc 32.0 Non-text elements, placeholder text
#2E71D9 text on white 4.68:1 AA Lc 72.1 Content text, not long reading
#2E71D9 text on black 4.48:1 AA large text Lc -29.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 600.

  1. Step 50

    50

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #E1EBF9

    oklch(93.7% 0.022 256.7)

  3. Step 200

    200

    #C8DAF6

    oklch(88.4% 0.043 259.2)

  4. Step 300

    300

    #A3C2F4

    oklch(80.9% 0.079 259.9)

  5. Step 400

    400

    #70A1EE

    oklch(70.7% 0.125 259.1)

  6. Step 500

    500

    #4A87E8

    oklch(63% 0.16 259.3)

  7. Step 600

    600 (this color)

    #2E71D9

    oklch(56.3% 0.173 259.2)

  8. Step 700

    700

    #1E5CBA

    oklch(49.1% 0.161 259.1)

  9. Step 800

    800

    #1B4C96

    oklch(42.7% 0.133 258.9)

  10. Step 900

    900

    #1C4078

    oklch(37.7% 0.104 259.1)

  11. Step 950

    950

    #112646

    oklch(27% 0.066 258.6)

Export this scale for Tailwind in the Tailwind colors tool

#2E71D9 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)#357CDD0.031
Deuteranopia (no green cones)#006DD70.023
Tritanopia (no blue cones)#008A9A0.135
Achromatopsia (no color)#7474740.174

Harmonies

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

Complementary

The opposite hue (180°).

  • #2E71D9

    #2E71D9

    oklch(56.3% 0.173 259.2)

  • #9A6C00

    #9A6C00

    oklch(56.4% 0.117 79.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2E71D9

    #2E71D9

    oklch(56.3% 0.173 259.2)

  • #0081A9

    #0081A9

    oklch(56.4% 0.111 228.8)

  • #765DD3

    #765DD3

    oklch(56.3% 0.174 289.3)

Open the analogous palette in the generator

Split complementary

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

  • #2E71D9

    #2E71D9

    oklch(56.3% 0.173 259.2)

  • #B95400

    #B95400

    oklch(56.4% 0.151 49.2)

  • #7B7A00

    #7B7A00

    oklch(56.2% 0.122 109.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2E71D9

    #2E71D9

    oklch(56.3% 0.173 259.2)

  • #C73D4B

    #C73D4B

    oklch(56.4% 0.174 19.1)

  • #338C0C

    #338C0C

    oklch(56.4% 0.174 139.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2E71D9

    #2E71D9

    oklch(56.3% 0.173 259.2)

  • #BB3F85

    #BB3F85

    oklch(56.4% 0.174 349.3)

  • #9A6C00

    #9A6C00

    oklch(56.4% 0.117 79.2)

  • #008A6A

    #008A6A

    oklch(56.3% 0.113 169.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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