#7F9DEF

Closest named color: Periwinkle Blue (#8F99FB). oklch(70.8% 0.125 267.9), rgb(127, 157, 239).

Aa

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

About this color

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

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

Values

HEX#7F9DEF
RGBrgb(127, 157, 239)
HSLhsl(224, 78%, 72%)
OKLCHoklch(70.8% 0.125 267.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 #7F9DEF 2.63:1 Fails Lc -56.4 Large or bold text, headings
Black text on #7F9DEF 7.97:1 AAA Lc 52.8 Large or bold text, headings
#7F9DEF text on white 2.63:1 Fails Lc 51.2 Large or bold text, headings
#7F9DEF text on black 7.97:1 AAA Lc -50.7 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

    #E3EAFA

    oklch(93.6% 0.023 266.9)

  3. Step 200

    200

    #CDD9F7

    oklch(88.6% 0.043 268.2)

  4. Step 300

    300

    #ABBFF4

    oklch(80.8% 0.078 268.5)

  5. Step 400

    400 (this color)

    #7F9DEF

    oklch(70.8% 0.125 267.9)

  6. Step 500

    500

    #6082E9

    oklch(63.1% 0.159 267.9)

  7. Step 600

    600

    #4869D8

    oklch(55.7% 0.174 267.9)

  8. Step 700

    700

    #3A57BB

    oklch(49.2% 0.161 267.8)

  9. Step 800

    800

    #304797

    oklch(42.6% 0.134 268.2)

  10. Step 900

    900

    #2A3D78

    oklch(37.7% 0.103 267.8)

  11. Step 950

    950

    #182446

    oklch(26.9% 0.065 267.3)

Export this scale for Tailwind in the Tailwind colors tool

#7F9DEF 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)#7EA5F20.021
Deuteranopia (no green cones)#739BED0.016
Tritanopia (no blue cones)#53AEBB0.112
Achromatopsia (no color)#9F9F9F0.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F9DEF

    #7F9DEF

    oklch(70.8% 0.125 267.9)

  • #C19B35

    #C19B35

    oklch(70.6% 0.125 87.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F9DEF

    #7F9DEF

    oklch(70.8% 0.125 267.9)

  • #47ABE5

    #47ABE5

    oklch(70.7% 0.125 237.8)

  • #AA8FE4

    #AA8FE4

    oklch(70.7% 0.124 297.8)

Open the analogous palette in the generator

Split complementary

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

  • #7F9DEF

    #7F9DEF

    oklch(70.8% 0.125 267.9)

  • #DA8B4B

    #DA8B4B

    oklch(70.6% 0.125 57.8)

  • #9AAB49

    #9AAB49

    oklch(70.7% 0.125 118)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F9DEF

    #7F9DEF

    oklch(70.8% 0.125 267.9)

  • #E48074

    #E48074

    oklch(70.7% 0.126 27.9)

  • #66B673

    #66B673

    oklch(70.8% 0.125 147.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F9DEF

    #7F9DEF

    oklch(70.8% 0.125 267.9)

  • #DE7EA1

    #DE7EA1

    oklch(70.7% 0.125 357.5)

  • #C19B35

    #C19B35

    oklch(70.6% 0.125 87.7)

  • #1EBAA1

    #1EBAA1

    oklch(70.8% 0.125 178)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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