#4E71D4

Closest named color: Royal Blue (#4169E1). oklch(57.3% 0.157 266.8), rgb(78, 113, 212).

Aa

Black text reads best on this color (4.63:1).

About this color

#4E71D4 is a medium-dark, vivid blue. In OKLCH its lightness is 57%, its chroma 0.157 and its hue 267°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.034 away. Black text reads best on it, at 4.63:1.

Hue familyBlues
Lightnessmedium-dark (57%)
Chromavivid (0.157)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.63:1
White text4.52:1

Values

HEX#4E71D4
RGBrgb(78, 113, 212)
HSLhsl(224, 61%, 57%)
OKLCHoklch(57.3% 0.157 266.8)

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 #4E71D4 4.52:1 AA Lc -76.6 Fine for body text
Black text on #4E71D4 4.63:1 AA Lc 32.9 Non-text elements, placeholder text
#4E71D4 text on white 4.52:1 AA Lc 71.2 Content text, not long reading
#4E71D4 text on black 4.63:1 AA Lc -30.5 Non-text elements, placeholder text

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

    #F2F5FC

    oklch(97% 0.01 267.4)

  2. Step 100

    100

    #E4EAF8

    oklch(93.7% 0.02 267.3)

  3. Step 200

    200

    #CDD9F4

    oklch(88.5% 0.039 266.5)

  4. Step 300

    300

    #ACC0EF

    oklch(80.9% 0.07 266.8)

  5. Step 400

    400

    #819EE7

    oklch(70.7% 0.112 267)

  6. Step 500

    500

    #6284E0

    oklch(63.1% 0.144 267)

  7. Step 600

    600 (this color)

    #4E71D4

    oklch(57.3% 0.157 266.8)

  8. Step 700

    700

    #3B59B3

    oklch(49.1% 0.147 267)

  9. Step 800

    800

    #314990

    oklch(42.6% 0.121 267.1)

  10. Step 900

    900

    #2B3E73

    oklch(37.7% 0.094 267)

  11. Step 950

    950

    #192543

    oklch(27% 0.058 266.1)

Export this scale for Tailwind in the Tailwind colors tool

#4E71D4 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)#407DD80.032
Deuteranopia (no green cones)#2771D20.034
Tritanopia (no blue cones)#0088980.133
Achromatopsia (no color)#7676760.157

Harmonies

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

Complementary

The opposite hue (180°).

  • #4E71D4

    #4E71D4

    oklch(57.3% 0.157 266.8)

  • #967200

    #967200

    oklch(57.2% 0.117 86.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4E71D4

    #4E71D4

    oklch(57.3% 0.157 266.8)

  • #0082B8

    #0082B8

    oklch(57.4% 0.125 236.5)

  • #8360C8

    #8360C8

    oklch(57.3% 0.156 296.7)

Open the analogous palette in the generator

Split complementary

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

  • #4E71D4

    #4E71D4

    oklch(57.3% 0.157 266.8)

  • #B45F00

    #B45F00

    oklch(57.4% 0.139 57)

  • #748100

    #748100

    oklch(57.3% 0.132 116.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4E71D4

    #4E71D4

    oklch(57.3% 0.157 266.8)

  • #C44A43

    #C44A43

    oklch(57.3% 0.158 26.5)

  • #20903A

    #20903A

    oklch(57.4% 0.158 146.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4E71D4

    #4E71D4

    oklch(57.3% 0.157 266.8)

  • #BD487A

    #BD487A

    oklch(57.3% 0.158 356.7)

  • #967200

    #967200

    oklch(57.2% 0.117 86.5)

  • #008C77

    #008C77

    oklch(57.2% 0.106 177.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #4E71D4 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.