#9FA8FF

Closest named color: Periwinkle Blue (#8F99FB). oklch(75.9% 0.125 278.5), rgb(159, 168, 255).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-light (76%)
Chromamoderately saturated (0.125)
Temperaturecool
Nearest namePeriwinkle Blue (#8F99FB)
Black text9.51:1
White text2.20:1

Values

HEX#9FA8FF
RGBrgb(159, 168, 255)
HSLhsl(234, 100%, 81%)
OKLCHoklch(75.9% 0.125 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 #9FA8FF 2.20:1 Fails Lc -48.1 Large or bold text, headings
Black text on #9FA8FF 9.51:1 AAA Lc 60.6 Content text, not long reading
#9FA8FF text on white 2.20:1 Fails Lc 43.4 Non-text elements, placeholder text
#9FA8FF text on black 9.51:1 AAA Lc -58.8 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 300.

  1. Step 50

    50

    #F3F5FF

    oklch(97.2% 0.013 277.1)

  2. Step 100

    100

    #E5E8FF

    oklch(93.6% 0.031 279.9)

  3. Step 200

    200

    #D0D6FF

    oklch(88.5% 0.057 278.6)

  4. Step 300

    300 (this color)

    #9FA8FF

    oklch(75.9% 0.125 278.5)

  5. Step 400

    400

    #8C94FF

    oklch(70.7% 0.155 278.4)

  6. Step 500

    500

    #7374FF

    oklch(63.1% 0.202 278.6)

  7. Step 600

    600

    #5E4EFF

    oklch(55.6% 0.25 278.5)

  8. Step 700

    700

    #4F30ED

    oklch(49.1% 0.259 278.4)

  9. Step 800

    800

    #402CBF

    oklch(42.8% 0.214 278.5)

  10. Step 900

    900

    #342B96

    oklch(37.6% 0.167 278.4)

  11. Step 950

    950

    #1E1B58

    oklch(27% 0.106 278.7)

Export this scale for Tailwind in the Tailwind colors tool

#9FA8FF 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)#8BB2FF0.033
Deuteranopia (no green cones)#85ABFD0.033
Tritanopia (no blue cones)#83B9C80.110
Achromatopsia (no color)#AEAEAE0.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #9FA8FF

    #9FA8FF

    oklch(75.9% 0.125 278.5)

  • #C5B14A

    #C5B14A

    oklch(75.8% 0.125 98.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9FA8FF

    #9FA8FF

    oklch(75.9% 0.125 278.5)

  • #6DB7FC

    #6DB7FC

    oklch(75.9% 0.124 248.2)

  • #C79AED

    #C79AED

    oklch(75.8% 0.125 308.5)

Open the analogous palette in the generator

Split complementary

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

  • #9FA8FF

    #9FA8FF

    oklch(75.9% 0.125 278.5)

  • #E4A151

    #E4A151

    oklch(75.9% 0.125 68.7)

  • #99C067

    #99C067

    oklch(75.9% 0.125 128.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9FA8FF

    #9FA8FF

    oklch(75.9% 0.125 278.5)

  • #F49475

    #F49475

    oklch(76% 0.124 38.6)

  • #62C993

    #62C993

    oklch(76% 0.125 158.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9FA8FF

    #9FA8FF

    oklch(75.9% 0.125 278.5)

  • #F48EA1

    #F48EA1

    oklch(76% 0.125 8.5)

  • #C5B14A

    #C5B14A

    oklch(75.8% 0.125 98.3)

  • #28CAC0

    #28CAC0

    oklch(75.9% 0.125 188.3)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #9FA8FF.

Similar named colors

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

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