#4D71DC

Closest named color: Royal Blue (#4169E1). oklch(57.8% 0.168 267.1), rgb(77, 113, 220).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (58%)
Chromavivid (0.168)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.71:1
White text4.45:1

Values

HEX#4D71DC
RGBrgb(77, 113, 220)
HSLhsl(225, 67%, 58%)
OKLCHoklch(57.8% 0.168 267.1)

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 #4D71DC 4.45:1 AA large text Lc -76.1 Fine for body text
Black text on #4D71DC 4.71:1 AA Lc 33.5 Non-text elements, placeholder text
#4D71DC text on white 4.45:1 AA large text Lc 70.6 Content text, not long reading
#4D71DC text on black 4.71:1 AA Lc -31.1 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

    #F2F5FD

    oklch(97% 0.011 269.6)

  2. Step 100

    100

    #E3EAF9

    oklch(93.6% 0.022 265.8)

  3. Step 200

    200

    #CDD9F6

    oklch(88.5% 0.042 267.7)

  4. Step 300

    300

    #ABC0F3

    oklch(81% 0.076 267.3)

  5. Step 400

    400

    #7F9DEC

    oklch(70.6% 0.121 267.5)

  6. Step 500

    500

    #5F83E6

    oklch(63.1% 0.154 266.9)

  7. Step 600

    600 (this color)

    #4D71DC

    oklch(57.8% 0.168 267.1)

  8. Step 700

    700

    #3958B8

    oklch(49.1% 0.156 267)

  9. Step 800

    800

    #2F4895

    oklch(42.6% 0.13 267.2)

  10. Step 900

    900

    #293D77

    oklch(37.6% 0.102 267.1)

  11. Step 950

    950

    #182445

    oklch(26.9% 0.064 267)

Export this scale for Tailwind in the Tailwind colors tool

#4D71DC 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)#377EE00.035
Deuteranopia (no green cones)#1271DA0.041
Tritanopia (no blue cones)#008A9C0.140
Achromatopsia (no color)#7777770.168

Harmonies

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

Complementary

The opposite hue (180°).

  • #4D71DC

    #4D71DC

    oklch(57.8% 0.168 267.1)

  • #987400

    #987400

    oklch(57.8% 0.118 86.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4D71DC

    #4D71DC

    oklch(57.8% 0.168 267.1)

  • #0083BA

    #0083BA

    oklch(57.8% 0.126 236.8)

  • #865ECF

    #865ECF

    oklch(57.7% 0.168 297.2)

Open the analogous palette in the generator

Split complementary

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

  • #4D71DC

    #4D71DC

    oklch(57.8% 0.168 267.1)

  • #B56000

    #B56000

    oklch(57.7% 0.139 57.2)

  • #758300

    #758300

    oklch(57.8% 0.133 117)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4D71DC

    #4D71DC

    oklch(57.8% 0.168 267.1)

  • #CA473F

    #CA473F

    oklch(57.8% 0.168 27.1)

  • #0B9336

    #0B9336

    oklch(57.9% 0.169 147)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4D71DC

    #4D71DC

    oklch(57.8% 0.168 267.1)

  • #C3457B

    #C3457B

    oklch(57.9% 0.168 357.2)

  • #987400

    #987400

    oklch(57.8% 0.118 86.9)

  • #008E79

    #008E79

    oklch(57.8% 0.107 177.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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