#4D71CF

Closest named color: Royal Blue (#4169E1). oklch(56.9% 0.15 266), rgb(77, 113, 207).

Aa

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

About this color

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

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

Values

HEX#4D71CF
RGBrgb(77, 113, 207)
HSLhsl(223, 58%, 56%)
OKLCHoklch(56.9% 0.15 266)

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 #4D71CF 4.58:1 AA Lc -77.1 Fine for body text
Black text on #4D71CF 4.57:1 AA Lc 32.5 Non-text elements, placeholder text
#4D71CF text on white 4.58:1 AA Lc 71.6 Content text, not long reading
#4D71CF text on black 4.57:1 AA Lc -30.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

    #F2F5FC

    oklch(97% 0.01 267.4)

  2. Step 100

    100

    #E4EAF7

    oklch(93.6% 0.019 266)

  3. Step 200

    200

    #CDD9F3

    oklch(88.4% 0.038 265.8)

  4. Step 300

    300

    #ACC0ED

    oklch(80.8% 0.068 266.1)

  5. Step 400

    400

    #819FE5

    oklch(70.8% 0.108 266)

  6. Step 500

    500

    #6285DD

    oklch(63.1% 0.139 266.2)

  7. Step 600

    600 (this color)

    #4D71CF

    oklch(56.9% 0.15 266)

  8. Step 700

    700

    #3B5AAF

    oklch(49% 0.14 266.3)

  9. Step 800

    800

    #314A8E

    oklch(42.7% 0.116 266.4)

  10. Step 900

    900

    #2B3F71

    oklch(37.8% 0.089 265.9)

  11. Step 950

    950

    #192542

    oklch(27% 0.057 265.8)

Export this scale for Tailwind in the Tailwind colors tool

#4D71CF 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)#447CD30.029
Deuteranopia (no green cones)#2E70CD0.029
Tritanopia (no blue cones)#0086960.127
Achromatopsia (no color)#7575750.151

Harmonies

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

Complementary

The opposite hue (180°).

  • #4D71CF

    #4D71CF

    oklch(56.9% 0.15 266)

  • #967100

    #967100

    oklch(57% 0.117 85.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4D71CF

    #4D71CF

    oklch(56.9% 0.15 266)

  • #0081B5

    #0081B5

    oklch(57% 0.122 235.7)

  • #8061C4

    #8061C4

    oklch(56.9% 0.149 295.7)

Open the analogous palette in the generator

Split complementary

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

  • #4D71CF

    #4D71CF

    oklch(56.9% 0.15 266)

  • #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.

  • #4D71CF

    #4D71CF

    oklch(56.9% 0.15 266)

  • #C04C46

    #C04C46

    oklch(57% 0.151 25.9)

  • #2A8D3B

    #2A8D3B

    oklch(56.8% 0.15 146.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4D71CF

    #4D71CF

    oklch(56.9% 0.15 266)

  • #B94A7A

    #B94A7A

    oklch(57% 0.151 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 #4D71CF, closest first.

Similar named colors

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

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