#7F98EA

Closest named color: Cornflower Blue (#6495ED). oklch(69.5% 0.124 270.1), rgb(127, 152, 234).

Aa

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

About this color

#7F98EA is a medium-light, moderately saturated blue. In OKLCH its lightness is 69%, its chroma 0.124 and its hue 270°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower Blue (#6495ED), ΔE 0.033 away. Black text reads best on it, at 7.58:1.

Hue familyBlues
Lightnessmedium-light (69%)
Chromamoderately saturated (0.124)
Temperaturecool
Nearest nameCornflower Blue (#6495ED)
Black text7.58:1
White text2.76:1

Values

HEX#7F98EA
RGBrgb(127, 152, 234)
HSLhsl(226, 72%, 71%)
OKLCHoklch(69.5% 0.124 270.1)

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 #7F98EA 2.76:1 Fails Lc -58.6 Large or bold text, headings
Black text on #7F98EA 7.58:1 AAA Lc 50.7 Large or bold text, headings
#7F98EA text on white 2.76:1 Fails Lc 53.3 Large or bold text, headings
#7F98EA text on black 7.58:1 AAA Lc -48.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

    #F3F5FD

    oklch(97.1% 0.011 274.9)

  2. Step 100

    100

    #E4EAF9

    oklch(93.7% 0.021 268.4)

  3. Step 200

    200

    #CED8F7

    oklch(88.4% 0.044 271.3)

  4. Step 300

    300

    #ADBFF4

    oklch(81% 0.078 270)

  5. Step 400

    400 (this color)

    #7F98EA

    oklch(69.5% 0.124 270.1)

  6. Step 500

    500

    #6581E9

    oklch(63.2% 0.159 270)

  7. Step 600

    600

    #4E68D7

    oklch(55.7% 0.172 270)

  8. Step 700

    700

    #3F55BA

    oklch(49% 0.161 270.2)

  9. Step 800

    800

    #344697

    oklch(42.6% 0.134 270.3)

  10. Step 900

    900

    #2D3C78

    oklch(37.7% 0.104 270.2)

  11. Step 950

    950

    #1A2446

    oklch(27.1% 0.065 269.4)

Export this scale for Tailwind in the Tailwind colors tool

#7F98EA 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)#7AA0ED0.021
Deuteranopia (no green cones)#7097E80.019
Tritanopia (no blue cones)#57A9B60.111
Achromatopsia (no color)#9B9B9B0.124

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F98EA

    #7F98EA

    oklch(69.5% 0.124 270.1)

  • #BB9931

    #BB9931

    oklch(69.6% 0.125 90.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F98EA

    #7F98EA

    oklch(69.5% 0.124 270.1)

  • #49A6E2

    #49A6E2

    oklch(69.5% 0.124 240.3)

  • #A98ADE

    #A98ADE

    oklch(69.5% 0.124 300.2)

Open the analogous palette in the generator

Split complementary

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

  • #7F98EA

    #7F98EA

    oklch(69.5% 0.124 270.1)

  • #D48945

    #D48945

    oklch(69.5% 0.124 60.5)

  • #93A848

    #93A848

    oklch(69.5% 0.125 120.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F98EA

    #7F98EA

    oklch(69.5% 0.124 270.1)

  • #DF7D6E

    #DF7D6E

    oklch(69.4% 0.124 29.8)

  • #5EB273

    #5EB273

    oklch(69.4% 0.124 150.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F98EA

    #7F98EA

    oklch(69.5% 0.124 270.1)

  • #DB7A99

    #DB7A99

    oklch(69.5% 0.125 0.4)

  • #BB9931

    #BB9931

    oklch(69.6% 0.125 90.1)

  • #0EB5A0

    #0EB5A0

    oklch(69.4% 0.124 180.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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