#5F71DE

Closest named color: Royal Blue (#4169E1). oklch(59% 0.166 273.2), rgb(95, 113, 222).

Aa

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

About this color

#5F71DE is a medium-dark, vivid blue. In OKLCH its lightness is 59%, its chroma 0.166 and its hue 273°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.043 away. Black text reads best on it, at 4.90:1.

Hue familyBlues
Lightnessmedium-dark (59%)
Chromavivid (0.166)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.90:1
White text4.28:1

Values

HEX#5F71DE
RGBrgb(95, 113, 222)
HSLhsl(231, 66%, 62%)
OKLCHoklch(59% 0.166 273.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 #5F71DE 4.28:1 AA large text Lc -74.8 Content text, not long reading
Black text on #5F71DE 4.90:1 AA Lc 34.7 Non-text elements, placeholder text
#5F71DE text on white 4.28:1 AA large text Lc 69.4 Content text, not long reading
#5F71DE text on black 4.90:1 AA Lc -32.3 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

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E5E9F9

    oklch(93.6% 0.022 274.7)

  3. Step 200

    200

    #D0D8F5

    oklch(88.5% 0.041 273.3)

  4. Step 300

    300

    #B0BEF2

    oklch(80.9% 0.075 272.9)

  5. Step 400

    400

    #889BEB

    oklch(70.7% 0.119 272.8)

  6. Step 500

    500

    #6D80E5

    oklch(63.2% 0.152 273.3)

  7. Step 600

    600 (this color)

    #5F71DE

    oklch(59% 0.166 273.2)

  8. Step 700

    700

    #4755B6

    oklch(49.2% 0.153 273.3)

  9. Step 800

    800

    #3A4694

    oklch(42.8% 0.128 273.2)

  10. Step 900

    900

    #313B76

    oklch(37.6% 0.101 273.4)

  11. Step 950

    950

    #1D2345

    oklch(27% 0.063 273.9)

Export this scale for Tailwind in the Tailwind colors tool

#5F71DE 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)#3980E20.048
Deuteranopia (no green cones)#2475DC0.053
Tritanopia (no blue cones)#018A9D0.148
Achromatopsia (no color)#7A7A7A0.166

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F71DE

    #5F71DE

    oklch(59% 0.166 273.2)

  • #967A00

    #967A00

    oklch(58.9% 0.121 92.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F71DE

    #5F71DE

    oklch(59% 0.166 273.2)

  • #0084CB

    #0084CB

    oklch(59% 0.144 243.4)

  • #925FCC

    #925FCC

    oklch(58.9% 0.165 303.3)

Open the analogous palette in the generator

Split complementary

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

  • #5F71DE

    #5F71DE

    oklch(59% 0.166 273.2)

  • #B36800

    #B36800

    oklch(58.9% 0.134 63.3)

  • #6D8A00

    #6D8A00

    oklch(58.9% 0.145 123.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F71DE

    #5F71DE

    oklch(59% 0.166 273.2)

  • #CC4E35

    #CC4E35

    oklch(58.9% 0.165 33.1)

  • #009650

    #009650

    oklch(59% 0.151 153.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F71DE

    #5F71DE

    oklch(59% 0.166 273.2)

  • #C84973

    #C84973

    oklch(58.9% 0.165 3.2)

  • #967A00

    #967A00

    oklch(58.9% 0.121 92.7)

  • #009183

    #009183

    oklch(59% 0.105 183)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5F71DE 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.