#4071D1

Closest named color: Royal Blue (#4169E1). oklch(56.4% 0.157 262.2), rgb(64, 113, 209).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (56%)
Chromavivid (0.157)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.50:1
White text4.66:1

Values

HEX#4071D1
RGBrgb(64, 113, 209)
HSLhsl(220, 61%, 54%)
OKLCHoklch(56.4% 0.157 262.2)

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 #4071D1 4.66:1 AA Lc -77.5 Fine for body text
Black text on #4071D1 4.50:1 AA Lc 32.0 Non-text elements, placeholder text
#4071D1 text on white 4.66:1 AA Lc 72.1 Content text, not long reading
#4071D1 text on black 4.50:1 AA 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

    #E3EAF8

    oklch(93.6% 0.02 264.5)

  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

    #7AA0E7

    oklch(70.7% 0.113 262.3)

  6. Step 500

    500

    #5887E0

    oklch(63.2% 0.144 262.1)

  7. Step 600

    600 (this color)

    #4071D1

    oklch(56.4% 0.157 262.2)

  8. Step 700

    700

    #305CB2

    oklch(49.1% 0.145 262.1)

  9. Step 800

    800

    #284B90

    oklch(42.6% 0.121 262.3)

  10. Step 900

    900

    #254073

    oklch(37.8% 0.093 261.9)

  11. Step 950

    950

    #162643

    oklch(27.1% 0.058 261.5)

Export this scale for Tailwind in the Tailwind colors tool

#4071D1 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)#226ECF0.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°).

  • #4071D1

    #4071D1

    oklch(56.4% 0.157 262.2)

  • #976E00

    #976E00

    oklch(56.5% 0.116 82.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4071D1

    #4071D1

    oklch(56.4% 0.157 262.2)

  • #0080AE

    #0080AE

    oklch(56.4% 0.116 232.6)

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

  • #4071D1

    #4071D1

    oklch(56.4% 0.157 262.2)

  • #B55800

    #B55800

    oklch(56.4% 0.144 52.4)

  • #787C00

    #787C00

    oklch(56.4% 0.125 112)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4071D1

    #4071D1

    oklch(56.4% 0.157 262.2)

  • #C14649

    #C14649

    oklch(56.4% 0.158 22.3)

  • #328C2C

    #328C2C

    oklch(56.6% 0.158 142.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4071D1

    #4071D1

    oklch(56.4% 0.157 262.2)

  • #B7467F

    #B7467F

    oklch(56.3% 0.158 352)

  • #976E00

    #976E00

    oklch(56.5% 0.116 82.6)

  • #008A6F

    #008A6F

    oklch(56.4% 0.109 172.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #4071D1 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.