#4F71D9

Closest named color: Royal Blue (#4169E1). oklch(57.7% 0.164 267.5), rgb(79, 113, 217).

Aa

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

About this color

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

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

Values

HEX#4F71D9
RGBrgb(79, 113, 217)
HSLhsl(225, 64%, 58%)
OKLCHoklch(57.7% 0.164 267.5)

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 #4F71D9 4.47:1 AA large text Lc -76.2 Fine for body text
Black text on #4F71D9 4.69:1 AA Lc 33.3 Non-text elements, placeholder text
#4F71D9 text on white 4.47:1 AA large text Lc 70.7 Content text, not long reading
#4F71D9 text on black 4.69:1 AA Lc -30.9 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

    #E3EAF9

    oklch(93.6% 0.022 265.8)

  3. Step 200

    200

    #CDD9F5

    oklch(88.5% 0.041 267.1)

  4. Step 300

    300

    #ACC0F1

    oklch(81% 0.073 267.4)

  5. Step 400

    400

    #809DEA

    oklch(70.6% 0.118 267.6)

  6. Step 500

    500

    #6183E4

    oklch(63% 0.151 267.4)

  7. Step 600

    600 (this color)

    #4F71D9

    oklch(57.7% 0.164 267.5)

  8. Step 700

    700

    #3B58B6

    oklch(49.1% 0.153 267.6)

  9. Step 800

    800

    #314993

    oklch(42.8% 0.125 267.4)

  10. Step 900

    900

    #2B3D75

    oklch(37.6% 0.098 268)

  11. Step 950

    950

    #192445

    oklch(26.9% 0.063 268.1)

Export this scale for Tailwind in the Tailwind colors tool

#4F71D9 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)#3B7EDD0.035
Deuteranopia (no green cones)#1E71D70.039
Tritanopia (no blue cones)#00899A0.138
Achromatopsia (no color)#7777770.164

Harmonies

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

Complementary

The opposite hue (180°).

  • #4F71D9

    #4F71D9

    oklch(57.7% 0.164 267.5)

  • #977400

    #977400

    oklch(57.7% 0.118 87.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4F71D9

    #4F71D9

    oklch(57.7% 0.164 267.5)

  • #0083BB

    #0083BB

    oklch(57.8% 0.127 237.3)

  • #865FCC

    #865FCC

    oklch(57.7% 0.163 297.6)

Open the analogous palette in the generator

Split complementary

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

  • #4F71D9

    #4F71D9

    oklch(57.7% 0.164 267.5)

  • #B56000

    #B56000

    oklch(57.7% 0.139 57.2)

  • #748300

    #748300

    oklch(57.7% 0.134 117.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4F71D9

    #4F71D9

    oklch(57.7% 0.164 267.5)

  • #C84940

    #C84940

    oklch(57.8% 0.164 27.4)

  • #12923A

    #12923A

    oklch(57.7% 0.163 147.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4F71D9

    #4F71D9

    oklch(57.7% 0.164 267.5)

  • #C1477A

    #C1477A

    oklch(57.8% 0.163 357.6)

  • #977400

    #977400

    oklch(57.7% 0.118 87.5)

  • #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 #4F71D9, closest first.

Similar named colors

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

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