#5F64BA

Closest named color: Iris (#6258C4). oklch(54.1% 0.133 278.5), rgb(95, 100, 186).

Aa

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

About this color

#5F64BA is a medium-dark, moderately saturated blue. In OKLCH its lightness is 54%, its chroma 0.133 and its hue 278°. Its hue sits on the cool side of the wheel. The nearest named color is Iris (#6258C4), ΔE 0.036 away. White text reads best on it, at 5.22:1.

Hue familyBlues
Lightnessmedium-dark (54%)
Chromamoderately saturated (0.133)
Temperaturecool
Nearest nameIris (#6258C4)
Black text4.01:1
White text5.22:1

Values

HEX#5F64BA
RGBrgb(95, 100, 186)
HSLhsl(237, 40%, 55%)
OKLCHoklch(54.1% 0.133 278.5)

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 #5F64BA 5.22:1 AA Lc -81.1 Fine for body text
Black text on #5F64BA 4.01:1 AA large text Lc 28.3 Dividers and decoration only
#5F64BA text on white 5.22:1 AA Lc 75.8 Fine for body text
#5F64BA text on black 4.01:1 AA large text Lc -26.0 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

    #E7E9F6

    oklch(93.6% 0.018 279.1)

  3. Step 200

    200

    #D4D7EF

    oklch(88.4% 0.033 280)

  4. Step 300

    300

    #B7BDE7

    oklch(80.8% 0.06 278.6)

  5. Step 400

    400

    #939BDC

    oklch(70.8% 0.095 278.3)

  6. Step 500

    500

    #7981D2

    oklch(63.2% 0.122 278)

  7. Step 600

    600 (this color)

    #5F64BA

    oklch(54.1% 0.133 278.5)

  8. Step 700

    700

    #5257A5

    oklch(49.2% 0.123 278.1)

  9. Step 800

    800

    #434786

    oklch(42.7% 0.103 278.3)

  10. Step 900

    900

    #393C6B

    oklch(37.7% 0.08 279.1)

  11. Step 950

    950

    #21233F

    oklch(26.9% 0.052 279.2)

Export this scale for Tailwind in the Tailwind colors tool

#5F64BA 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)#4070BD0.044
Deuteranopia (no green cones)#3869B80.046
Tritanopia (no blue cones)#3D76860.115
Achromatopsia (no color)#6C6C6C0.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F64BA

    #5F64BA

    oklch(54.1% 0.133 278.5)

  • #806F00

    #806F00

    oklch(54.1% 0.112 98.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F64BA

    #5F64BA

    oklch(54.1% 0.133 278.5)

  • #1E73B8

    #1E73B8

    oklch(54.2% 0.133 248.4)

  • #8557A9

    #8557A9

    oklch(54.2% 0.132 308.5)

Open the analogous palette in the generator

Split complementary

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

  • #5F64BA

    #5F64BA

    oklch(54.1% 0.133 278.5)

  • #9B6000

    #9B6000

    oklch(54.2% 0.118 68.7)

  • #577D16

    #577D16

    oklch(54.1% 0.133 128.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F64BA

    #5F64BA

    oklch(54.1% 0.133 278.5)

  • #AD4E2F

    #AD4E2F

    oklch(54% 0.133 38.4)

  • #008452

    #008452

    oklch(54% 0.126 158.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F64BA

    #5F64BA

    oklch(54.1% 0.133 278.5)

  • #AD485F

    #AD485F

    oklch(54.1% 0.133 8.6)

  • #806F00

    #806F00

    oklch(54.1% 0.112 98.6)

  • #008079

    #008079

    oklch(54.1% 0.094 188.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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