#9FA5EC

Closest named color: Periwinkle Blue (#8F99FB). oklch(74.4% 0.102 279.9), rgb(159, 165, 236).

Aa

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

About this color

#9FA5EC is a medium-light, moderately saturated blue. In OKLCH its lightness is 74%, its chroma 0.102 and its hue 280°. Its hue sits on the cool side of the wheel. The nearest named color is Periwinkle Blue (#8F99FB), ΔE 0.049 away. Black text reads best on it, at 9.06:1.

Hue familyBlues
Lightnessmedium-light (74%)
Chromamoderately saturated (0.102)
Temperaturecool
Nearest namePeriwinkle Blue (#8F99FB)
Black text9.06:1
White text2.31:1

Values

HEX#9FA5EC
RGBrgb(159, 165, 236)
HSLhsl(235, 67%, 77%)
OKLCHoklch(74.4% 0.102 279.9)

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 #9FA5EC 2.31:1 Fails Lc -50.5 Large or bold text, headings
Black text on #9FA5EC 9.06:1 AAA Lc 58.3 Large or bold text, headings
#9FA5EC text on white 2.31:1 Fails Lc 45.6 Large or bold text, headings
#9FA5EC text on black 9.06:1 AAA Lc -56.5 Large or bold text, headings

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 400.

  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

    #D4D7F1

    oklch(88.5% 0.036 280.4)

  4. Step 300

    300

    #B8BDEA

    oklch(81% 0.064 279.9)

  5. Step 400

    400 (this color)

    #9FA5EC

    oklch(74.4% 0.102 279.9)

  6. Step 500

    500

    #7B7FD7

    oklch(63.2% 0.131 280)

  7. Step 600

    600

    #6566C4

    oklch(55.5% 0.143 280.2)

  8. Step 700

    700

    #5455A9

    oklch(49.2% 0.131 279.9)

  9. Step 800

    800

    #444689

    oklch(42.7% 0.109 279.4)

  10. Step 900

    900

    #393B6E

    oklch(37.7% 0.086 279.7)

  11. Step 950

    950

    #212340

    oklch(27% 0.054 279.2)

Export this scale for Tailwind in the Tailwind colors tool

#9FA5EC 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)#90ADEF0.026
Deuteranopia (no green cones)#8BA8EA0.027
Tritanopia (no blue cones)#8BB2BE0.090
Achromatopsia (no color)#AAAAAA0.103

Harmonies

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

Complementary

The opposite hue (180°).

  • #9FA5EC

    #9FA5EC

    oklch(74.4% 0.102 279.9)

  • #BBAE5E

    #BBAE5E

    oklch(74.5% 0.103 100.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9FA5EC

    #9FA5EC

    oklch(74.4% 0.102 279.9)

  • #79B1EB

    #79B1EB

    oklch(74.4% 0.103 250.2)

  • #C09ADD

    #C09ADD

    oklch(74.4% 0.103 309.9)

Open the analogous palette in the generator

Split complementary

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

  • #9FA5EC

    #9FA5EC

    oklch(74.4% 0.102 279.9)

  • #D6A061

    #D6A061

    oklch(74.3% 0.103 69.4)

  • #97B973

    #97B973

    oklch(74.4% 0.102 129.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9FA5EC

    #9FA5EC

    oklch(74.4% 0.102 279.9)

  • #E4967A

    #E4967A

    oklch(74.5% 0.103 40.5)

  • #6EC096

    #6EC096

    oklch(74.4% 0.102 160.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9FA5EC

    #9FA5EC

    oklch(74.4% 0.102 279.9)

  • #E4919D

    #E4919D

    oklch(74.4% 0.101 10.4)

  • #BBAE5E

    #BBAE5E

    oklch(74.5% 0.103 100.2)

  • #50C1BA

    #50C1BA

    oklch(74.5% 0.102 189.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #9FA5EC 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.