#5F72D7

Closest named color: Dark Periwinkle (#665FD1). oklch(58.7% 0.155 272.7), rgb(95, 114, 215).

Aa

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

About this color

#5F72D7 is a medium-dark, vivid blue. In OKLCH its lightness is 59%, its chroma 0.155 and its hue 273°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Periwinkle (#665FD1), ΔE 0.046 away. Black text reads best on it, at 4.87:1.

Hue familyBlues
Lightnessmedium-dark (59%)
Chromavivid (0.155)
Temperaturecool
Nearest nameDark Periwinkle (#665FD1)
Black text4.87:1
White text4.30:1

Values

HEX#5F72D7
RGBrgb(95, 114, 215)
HSLhsl(231, 60%, 61%)
OKLCHoklch(58.7% 0.155 272.7)

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 #5F72D7 4.30:1 AA large text Lc -75.1 Fine for body text
Black text on #5F72D7 4.87:1 AA Lc 34.5 Non-text elements, placeholder text
#5F72D7 text on white 4.30:1 AA large text Lc 69.6 Content text, not long reading
#5F72D7 text on black 4.87:1 AA Lc -32.1 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

    #E5E9F8

    oklch(93.5% 0.021 274)

  3. Step 200

    200

    #D0D8F4

    oklch(88.5% 0.04 272.9)

  4. Step 300

    300

    #B1BEEE

    oklch(80.8% 0.07 272.9)

  5. Step 400

    400

    #899CE6

    oklch(70.8% 0.111 272.3)

  6. Step 500

    500

    #6D81DF

    oklch(63.1% 0.143 272.6)

  7. Step 600

    600 (this color)

    #5F72D7

    oklch(58.7% 0.155 272.7)

  8. Step 700

    700

    #4756B1

    oklch(49% 0.145 272.9)

  9. Step 800

    800

    #3A478F

    oklch(42.6% 0.119 272.7)

  10. Step 900

    900

    #323C72

    oklch(37.6% 0.093 273.3)

  11. Step 950

    950

    #1D2443

    oklch(27.1% 0.058 272.4)

Export this scale for Tailwind in the Tailwind colors tool

#5F72D7 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)#437FDB0.040
Deuteranopia (no green cones)#3275D50.045
Tritanopia (no blue cones)#18889A0.137
Achromatopsia (no color)#7A7A7A0.155

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F72D7

    #5F72D7

    oklch(58.7% 0.155 272.7)

  • #957900

    #957900

    oklch(58.6% 0.12 92.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F72D7

    #5F72D7

    oklch(58.7% 0.155 272.7)

  • #0083C8

    #0083C8

    oklch(58.6% 0.141 242.8)

  • #8F61C7

    #8F61C7

    oklch(58.6% 0.155 302.7)

Open the analogous palette in the generator

Split complementary

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

  • #5F72D7

    #5F72D7

    oklch(58.7% 0.155 272.7)

  • #B36700

    #B36700

    oklch(58.7% 0.134 62.6)

  • #6D8900

    #6D8900

    oklch(58.7% 0.144 122.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F72D7

    #5F72D7

    oklch(58.7% 0.155 272.7)

  • #C7523B

    #C7523B

    oklch(58.7% 0.155 32.9)

  • #00954E

    #00954E

    oklch(58.7% 0.152 152.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F72D7

    #5F72D7

    oklch(58.7% 0.155 272.7)

  • #C34D74

    #C34D74

    oklch(58.6% 0.155 2.6)

  • #957900

    #957900

    oklch(58.6% 0.12 92.6)

  • #009082

    #009082

    oklch(58.7% 0.104 183)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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