#4C71D1

Closest named color: Royal Blue (#4169E1). oklch(57% 0.154 265.9), rgb(76, 113, 209).

Aa

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

About this color

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

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

Values

HEX#4C71D1
RGBrgb(76, 113, 209)
HSLhsl(223, 59%, 56%)
OKLCHoklch(57% 0.154 265.9)

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 #4C71D1 4.57:1 AA Lc -77.0 Fine for body text
Black text on #4C71D1 4.59:1 AA Lc 32.6 Non-text elements, placeholder text
#4C71D1 text on white 4.57:1 AA Lc 71.5 Content text, not long reading
#4C71D1 text on black 4.59:1 AA Lc -30.2 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

    #E3EAF8

    oklch(93.6% 0.02 264.5)

  3. Step 200

    200

    #CDD9F3

    oklch(88.4% 0.038 265.8)

  4. Step 300

    300

    #ACC0EE

    oklch(80.9% 0.069 266.5)

  5. Step 400

    400

    #809FE6

    oklch(70.8% 0.11 265.7)

  6. Step 500

    500

    #6185DF

    oklch(63.2% 0.142 266)

  7. Step 600

    600 (this color)

    #4C71D1

    oklch(57% 0.154 265.9)

  8. Step 700

    700

    #3A5AB1

    oklch(49.1% 0.143 266.1)

  9. Step 800

    800

    #304A8F

    oklch(42.7% 0.118 266)

  10. Step 900

    900

    #2A3F72

    oklch(37.8% 0.091 265.4)

  11. Step 950

    950

    #192543

    oklch(27% 0.058 266.1)

Export this scale for Tailwind in the Tailwind colors tool

#4C71D1 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)#427CD50.029
Deuteranopia (no green cones)#2A70CF0.030
Tritanopia (no blue cones)#0087970.129
Achromatopsia (no color)#7575750.154

Harmonies

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

Complementary

The opposite hue (180°).

  • #4C71D1

    #4C71D1

    oklch(57% 0.154 265.9)

  • #967100

    #967100

    oklch(57% 0.117 85.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4C71D1

    #4C71D1

    oklch(57% 0.154 265.9)

  • #0081B5

    #0081B5

    oklch(57% 0.122 235.7)

  • #8160C6

    #8160C6

    oklch(57% 0.153 296.1)

Open the analogous palette in the generator

Split complementary

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

  • #4C71D1

    #4C71D1

    oklch(57% 0.154 265.9)

  • #B35D00

    #B35D00

    oklch(57% 0.139 56.1)

  • #748000

    #748000

    oklch(57% 0.13 116.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4C71D1

    #4C71D1

    oklch(57% 0.154 265.9)

  • #C14B45

    #C14B45

    oklch(57% 0.153 26)

  • #288E39

    #288E39

    oklch(57% 0.154 145.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4C71D1

    #4C71D1

    oklch(57% 0.154 265.9)

  • #BA497A

    #BA497A

    oklch(57% 0.154 356.1)

  • #967100

    #967100

    oklch(57% 0.117 85.7)

  • #008B75

    #008B75

    oklch(56.9% 0.106 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 #4C71D1, closest first.

Similar named colors

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

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