#5F71CB

Closest named color: Dark Periwinkle (#665FD1). oklch(57.7% 0.139 272.8), rgb(95, 113, 203).

Aa

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

About this color

#5F71CB is a medium-dark, moderately saturated blue. In OKLCH its lightness is 58%, its chroma 0.139 and its hue 273°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Periwinkle (#665FD1), ΔE 0.047 away. Black text reads best on it, at 4.71:1.

Hue familyBlues
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.139)
Temperaturecool
Nearest nameDark Periwinkle (#665FD1)
Black text4.71:1
White text4.45:1

Values

HEX#5F71CB
RGBrgb(95, 113, 203)
HSLhsl(230, 51%, 58%)
OKLCHoklch(57.7% 0.139 272.8)

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 #5F71CB 4.45:1 AA large text Lc -76.2 Fine for body text
Black text on #5F71CB 4.71:1 AA Lc 33.3 Non-text elements, placeholder text
#5F71CB text on white 4.45:1 AA large text Lc 70.8 Content text, not long reading
#5F71CB text on black 4.71: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

    #F3F5FB

    oklch(97% 0.008 271.3)

  2. Step 100

    100

    #E5E9F6

    oklch(93.5% 0.018 272.3)

  3. Step 200

    200

    #D1D8F1

    oklch(88.5% 0.035 273.2)

  4. Step 300

    300

    #B3BFEA

    oklch(81% 0.062 272.7)

  5. Step 400

    400

    #8C9CDF

    oklch(70.6% 0.1 273.3)

  6. Step 500

    500

    #7083D7

    oklch(63.2% 0.128 272.6)

  7. Step 600

    600 (this color)

    #5F71CB

    oklch(57.7% 0.139 272.8)

  8. Step 700

    700

    #4958A9

    oklch(49% 0.13 272.8)

  9. Step 800

    800

    #3C4989

    oklch(42.8% 0.107 272.5)

  10. Step 900

    900

    #333D6E

    oklch(37.7% 0.085 273)

  11. Step 950

    950

    #1E2440

    oklch(27% 0.053 273.2)

Export this scale for Tailwind in the Tailwind colors tool

#5F71CB 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)#4A7CCE0.034
Deuteranopia (no green cones)#3E73C90.036
Tritanopia (no blue cones)#2B85940.125
Achromatopsia (no color)#7777770.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F71CB

    #5F71CB

    oklch(57.7% 0.139 272.8)

  • #927700

    #927700

    oklch(57.8% 0.118 93)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F71CB

    #5F71CB

    oklch(57.7% 0.139 272.8)

  • #0080C4

    #0080C4

    oklch(57.6% 0.139 243)

  • #8A62BD

    #8A62BD

    oklch(57.7% 0.14 302.5)

Open the analogous palette in the generator

Split complementary

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

  • #5F71CB

    #5F71CB

    oklch(57.7% 0.139 272.8)

  • #AF6500

    #AF6500

    oklch(57.8% 0.132 62.9)

  • #6B8607

    #6B8607

    oklch(57.8% 0.139 122.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F71CB

    #5F71CB

    oklch(57.7% 0.139 272.8)

  • #BD5540

    #BD5540

    oklch(57.7% 0.139 33)

  • #1D904F

    #1D904F

    oklch(57.7% 0.139 152.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F71CB

    #5F71CB

    oklch(57.7% 0.139 272.8)

  • #BA5172

    #BA5172

    oklch(57.8% 0.139 2.7)

  • #927700

    #927700

    oklch(57.8% 0.118 93)

  • #008D7F

    #008D7F

    oklch(57.8% 0.103 182.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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