#5F61B2

Closest named color: Iris (#6258C4). oklch(53% 0.125 280.2), rgb(95, 97, 178).

Aa

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

About this color

#5F61B2 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 53%, its chroma 0.125 and its hue 280°. Its hue sits on the cool side of the wheel. The nearest named color is Iris (#6258C4), ΔE 0.039 away. White text reads best on it, at 5.46:1.

Hue familyPurples
Lightnessmedium-dark (53%)
Chromamoderately saturated (0.125)
Temperaturecool
Nearest nameIris (#6258C4)
Black text3.83:1
White text5.46:1

Values

HEX#5F61B2
RGBrgb(95, 97, 178)
HSLhsl(239, 35%, 54%)
OKLCHoklch(53% 0.125 280.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 #5F61B2 5.46:1 AA Lc -82.5 Fine for body text
Black text on #5F61B2 3.83:1 AA large text Lc 26.9 Dividers and decoration only
#5F61B2 text on white 5.46:1 AA Lc 77.2 Fine for body text
#5F61B2 text on black 3.83:1 AA large text Lc -24.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

    #F4F5FB

    oklch(97.1% 0.008 278.6)

  2. Step 100

    100

    #E7E9F5

    oklch(93.6% 0.016 278.5)

  3. Step 200

    200

    #D5D7EE

    oklch(88.5% 0.032 281.8)

  4. Step 300

    300

    #B9BDE5

    oklch(80.9% 0.056 280.6)

  5. Step 400

    400

    #959AD8

    oklch(70.6% 0.091 280.2)

  6. Step 500

    500

    #7C81CE

    oklch(63.2% 0.115 279.7)

  7. Step 600

    600 (this color)

    #5F61B2

    oklch(53% 0.125 280.2)

  8. Step 700

    700

    #5557A1

    oklch(49.1% 0.117 280)

  9. Step 800

    800

    #464782

    oklch(42.6% 0.096 280.8)

  10. Step 900

    900

    #3A3C69

    oklch(37.7% 0.076 280.1)

  11. Step 950

    950

    #22233D

    oklch(26.9% 0.048 281)

Export this scale for Tailwind in the Tailwind colors tool

#5F61B2 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)#406CB50.044
Deuteranopia (no green cones)#3B66B00.045
Tritanopia (no blue cones)#4272810.109
Achromatopsia (no color)#6969690.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F61B2

    #5F61B2

    oklch(53% 0.125 280.2)

  • #7B6C00

    #7B6C00

    oklch(52.9% 0.11 99.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F61B2

    #5F61B2

    oklch(53% 0.125 280.2)

  • #286FB1

    #286FB1

    oklch(53.1% 0.125 250.2)

  • #8254A1

    #8254A1

    oklch(52.9% 0.126 310.3)

Open the analogous palette in the generator

Split complementary

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

  • #5F61B2

    #5F61B2

    oklch(53% 0.125 280.2)

  • #955E00

    #955E00

    oklch(53% 0.115 70.3)

  • #53791F

    #53791F

    oklch(52.9% 0.125 129.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F61B2

    #5F61B2

    oklch(53% 0.125 280.2)

  • #A64E2E

    #A64E2E

    oklch(52.9% 0.125 40)

  • #008053

    #008053

    oklch(52.9% 0.12 160.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F61B2

    #5F61B2

    oklch(53% 0.125 280.2)

  • #A7485B

    #A7485B

    oklch(53% 0.126 10)

  • #7B6C00

    #7B6C00

    oklch(52.9% 0.11 99.7)

  • #007C78

    #007C78

    oklch(52.9% 0.091 190.8)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #5F61B2.

Similar named colors

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

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