#7F9DEC

Closest named color: Periwinkle Blue (#8F99FB). oklch(70.6% 0.121 267.5), rgb(127, 157, 236).

Aa

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

About this color

#7F9DEC is a medium-light, moderately saturated blue. In OKLCH its lightness is 71%, its chroma 0.121 and its hue 267°. Its hue sits on the cool side of the wheel. The nearest named color is Periwinkle Blue (#8F99FB), ΔE 0.033 away. Black text reads best on it, at 7.93:1.

Hue familyBlues
Lightnessmedium-light (71%)
Chromamoderately saturated (0.121)
Temperaturecool
Nearest namePeriwinkle Blue (#8F99FB)
Black text7.93:1
White text2.64:1

Values

HEX#7F9DEC
RGBrgb(127, 157, 236)
HSLhsl(223, 74%, 71%)
OKLCHoklch(70.6% 0.121 267.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 #7F9DEC 2.64:1 Fails Lc -56.6 Large or bold text, headings
Black text on #7F9DEC 7.93:1 AAA Lc 52.6 Large or bold text, headings
#7F9DEC text on white 2.64:1 Fails Lc 51.4 Large or bold text, headings
#7F9DEC text on black 7.93:1 AAA Lc -50.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

    #F2F5FD

    oklch(97% 0.011 269.6)

  2. Step 100

    100

    #E3EAF9

    oklch(93.6% 0.022 265.8)

  3. Step 200

    200

    #CDD9F6

    oklch(88.5% 0.042 267.7)

  4. Step 300

    300

    #ABC0F2

    oklch(80.9% 0.075 267)

  5. Step 400

    400 (this color)

    #7F9DEC

    oklch(70.6% 0.121 267.5)

  6. Step 500

    500

    #6083E6

    oklch(63.1% 0.154 267.3)

  7. Step 600

    600

    #486AD4

    oklch(55.6% 0.167 267.4)

  8. Step 700

    700

    #3A58B8

    oklch(49.2% 0.156 267.4)

  9. Step 800

    800

    #304895

    oklch(42.7% 0.13 267.6)

  10. Step 900

    900

    #2A3D77

    oklch(37.7% 0.102 267.7)

  11. Step 950

    950

    #192445

    oklch(26.9% 0.063 268.1)

Export this scale for Tailwind in the Tailwind colors tool

#7F9DEC 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)#80A4EF0.018
Deuteranopia (no green cones)#759BEA0.014
Tritanopia (no blue cones)#55AEBA0.109
Achromatopsia (no color)#9F9F9F0.121

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F9DEC

    #7F9DEC

    oklch(70.6% 0.121 267.5)

  • #C09B3A

    #C09B3A

    oklch(70.6% 0.121 87.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F9DEC

    #7F9DEC

    oklch(70.6% 0.121 267.5)

  • #4BABE2

    #4BABE2

    oklch(70.7% 0.12 237.1)

  • #A98FE2

    #A98FE2

    oklch(70.6% 0.121 297.6)

Open the analogous palette in the generator

Split complementary

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

  • #7F9DEC

    #7F9DEC

    oklch(70.6% 0.121 267.5)

  • #D88C4F

    #D88C4F

    oklch(70.6% 0.121 57.8)

  • #9AAA4C

    #9AAA4C

    oklch(70.6% 0.121 117.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F9DEC

    #7F9DEC

    oklch(70.6% 0.121 267.5)

  • #E28176

    #E28176

    oklch(70.6% 0.122 27.4)

  • #69B574

    #69B574

    oklch(70.7% 0.121 147.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F9DEC

    #7F9DEC

    oklch(70.6% 0.121 267.5)

  • #DC7FA1

    #DC7FA1

    oklch(70.6% 0.121 357.3)

  • #C09B3A

    #C09B3A

    oklch(70.6% 0.121 87.6)

  • #2BB99F

    #2BB99F

    oklch(70.7% 0.122 176.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #7F9DEC 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.