#8CA7FC

Closest named color: Periwinkle Blue (#8F99FB). oklch(74.3% 0.127 269.7), rgb(140, 167, 252).

Aa

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

About this color

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

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

Values

HEX#8CA7FC
RGBrgb(140, 167, 252)
HSLhsl(226, 95%, 77%)
OKLCHoklch(74.3% 0.127 269.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 #8CA7FC 2.32:1 Fails Lc -50.6 Large or bold text, headings
Black text on #8CA7FC 9.04:1 AAA Lc 58.3 Large or bold text, headings
#8CA7FC text on white 2.32:1 Fails Lc 45.7 Large or bold text, headings
#8CA7FC text on black 9.04:1 AAA Lc -56.4 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

    #F2F5FD

    oklch(97% 0.011 269.6)

  2. Step 100

    100

    #E4EAFA

    oklch(93.7% 0.023 269.4)

  3. Step 200

    200

    #CDD8F7

    oklch(88.4% 0.044 270)

  4. Step 300

    300

    #ACBFF5

    oklch(80.9% 0.079 269.5)

  5. Step 400

    400 (this color)

    #8CA7FC

    oklch(74.3% 0.127 269.7)

  6. Step 500

    500

    #6381EB

    oklch(63.2% 0.162 269.4)

  7. Step 600

    600

    #4C67D9

    oklch(55.6% 0.177 269.8)

  8. Step 700

    700

    #3E55BC

    oklch(49.1% 0.164 269.9)

  9. Step 800

    800

    #334698

    oklch(42.7% 0.136 269.9)

  10. Step 900

    900

    #2C3C79

    oklch(37.7% 0.105 269.7)

  11. Step 950

    950

    #1A2447

    oklch(27.1% 0.066 269.6)

Export this scale for Tailwind in the Tailwind colors tool

#8CA7FC 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)#88AFFF0.020
Deuteranopia (no green cones)#7EA6FA0.017
Tritanopia (no blue cones)#63B9C60.114
Achromatopsia (no color)#AAAAAA0.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #8CA7FC

    #8CA7FC

    oklch(74.3% 0.127 269.7)

  • #CBA73F

    #CBA73F

    oklch(74.2% 0.127 89.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8CA7FC

    #8CA7FC

    oklch(74.3% 0.127 269.7)

  • #55B6F3

    #55B6F3

    oklch(74.3% 0.127 239.3)

  • #B899F0

    #B899F0

    oklch(74.4% 0.126 299.7)

Open the analogous palette in the generator

Split complementary

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

  • #8CA7FC

    #8CA7FC

    oklch(74.3% 0.127 269.7)

  • #E69753

    #E69753

    oklch(74.3% 0.127 59.6)

  • #A2B755

    #A2B755

    oklch(74.2% 0.127 119.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8CA7FC

    #8CA7FC

    oklch(74.3% 0.127 269.7)

  • #F18B7B

    #F18B7B

    oklch(74.2% 0.127 29.9)

  • #6CC280

    #6CC280

    oklch(74.3% 0.127 149.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8CA7FC

    #8CA7FC

    oklch(74.3% 0.127 269.7)

  • #EC88A9

    #EC88A9

    oklch(74.3% 0.127 359.5)

  • #CBA73F

    #CBA73F

    oklch(74.2% 0.127 89.5)

  • #2AC5AE

    #2AC5AE

    oklch(74.2% 0.127 179.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #8CA7FC 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.