#3F71D1

Closest named color: Royal Blue (#4169E1). oklch(56.4% 0.158 262), rgb(63, 113, 209).

Aa

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

About this color

#3F71D1 is a medium-dark, vivid blue. In OKLCH its lightness is 56%, its chroma 0.158 and its hue 262°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.033 away. White text reads best on it, at 4.67:1.

Hue familyBlues
Lightnessmedium-dark (56%)
Chromavivid (0.158)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.49:1
White text4.67:1

Values

HEX#3F71D1
RGBrgb(63, 113, 209)
HSLhsl(219, 61%, 53%)
OKLCHoklch(56.4% 0.158 262)

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 #3F71D1 4.67:1 AA Lc -77.6 Fine for body text
Black text on #3F71D1 4.49:1 AA large text Lc 32.0 Non-text elements, placeholder text
#3F71D1 text on white 4.67:1 AA Lc 72.1 Content text, not long reading
#3F71D1 text on black 4.49:1 AA large text Lc -29.6 Dividers and decoration only

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

    #F2F6FC

    oklch(97.2% 0.009 258.3)

  2. Step 100

    100

    #E2EAF8

    oklch(93.5% 0.021 261.8)

  3. Step 200

    200

    #CBDAF4

    oklch(88.5% 0.039 261.5)

  4. Step 300

    300

    #A8C1EF

    oklch(80.8% 0.071 262.5)

  5. Step 400

    400

    #79A0E8

    oklch(70.7% 0.115 262.1)

  6. Step 500

    500

    #5787E0

    oklch(63.1% 0.144 261.7)

  7. Step 600

    600 (this color)

    #3F71D1

    oklch(56.4% 0.158 262)

  8. Step 700

    700

    #2F5CB3

    oklch(49.2% 0.147 262)

  9. Step 800

    800

    #284B91

    oklch(42.6% 0.123 262.4)

  10. Step 900

    900

    #244073

    oklch(37.8% 0.094 261.4)

  11. Step 950

    950

    #162644

    oklch(27.2% 0.06 262)

Export this scale for Tailwind in the Tailwind colors tool

#3F71D1 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)#407BD50.027
Deuteranopia (no green cones)#216ECF0.025
Tritanopia (no blue cones)#0087970.126
Achromatopsia (no color)#7474740.158

Harmonies

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

Complementary

The opposite hue (180°).

  • #3F71D1

    #3F71D1

    oklch(56.4% 0.158 262)

  • #976D00

    #976D00

    oklch(56.3% 0.116 81.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3F71D1

    #3F71D1

    oklch(56.4% 0.158 262)

  • #0080AD

    #0080AD

    oklch(56.3% 0.115 232)

  • #7A5FC9

    #7A5FC9

    oklch(56.4% 0.158 292.3)

Open the analogous palette in the generator

Split complementary

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

  • #3F71D1

    #3F71D1

    oklch(56.4% 0.158 262)

  • #B55700

    #B55700

    oklch(56.3% 0.145 51.9)

  • #787C00

    #787C00

    oklch(56.4% 0.125 112)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3F71D1

    #3F71D1

    oklch(56.4% 0.158 262)

  • #C1464A

    #C1464A

    oklch(56.4% 0.158 21.8)

  • #328B2A

    #328B2A

    oklch(56.3% 0.158 141.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3F71D1

    #3F71D1

    oklch(56.4% 0.158 262)

  • #B7467F

    #B7467F

    oklch(56.3% 0.158 352)

  • #976D00

    #976D00

    oklch(56.3% 0.116 81.8)

  • #008A6E

    #008A6E

    oklch(56.4% 0.11 171.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #3F71D1 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.