#7F98D9

Closest named color: Cornflower Blue (#6495ED). oklch(68.6% 0.101 267.6), rgb(127, 152, 217).

Aa

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

About this color

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

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

Values

HEX#7F98D9
RGBrgb(127, 152, 217)
HSLhsl(223, 54%, 67%)
OKLCHoklch(68.6% 0.101 267.6)

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 #7F98D9 2.83:1 Fails Lc -59.7 Large or bold text, headings
Black text on #7F98D9 7.39:1 AAA Lc 49.6 Large or bold text, headings
#7F98D9 text on white 2.83:1 Fails Lc 54.4 Large or bold text, headings
#7F98D9 text on black 7.39:1 AAA Lc -47.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

    #F3F5FB

    oklch(97% 0.008 271.3)

  2. Step 100

    100

    #E4EAF6

    oklch(93.6% 0.017 264.5)

  3. Step 200

    200

    #CFD9F1

    oklch(88.5% 0.035 267.6)

  4. Step 300

    300

    #AFC0EA

    oklch(80.9% 0.062 267.7)

  5. Step 400

    400 (this color)

    #7F98D9

    oklch(68.6% 0.101 267.6)

  6. Step 500

    500

    #6785D7

    oklch(63.1% 0.129 267.5)

  7. Step 600

    600

    #506DC4

    oklch(55.6% 0.139 267.8)

  8. Step 700

    700

    #415BAA

    oklch(49.2% 0.13 267.7)

  9. Step 800

    800

    #354B89

    oklch(42.8% 0.106 267.2)

  10. Step 900

    900

    #2E3F6E

    oklch(37.8% 0.084 267.4)

  11. Step 950

    950

    #1B2540

    oklch(27% 0.052 267.5)

Export this scale for Tailwind in the Tailwind colors tool

#7F98D9 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)#819EDC0.016
Deuteranopia (no green cones)#7996D80.010
Tritanopia (no blue cones)#61A5AF0.089
Achromatopsia (no color)#9999990.101

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F98D9

    #7F98D9

    oklch(68.6% 0.101 267.6)

  • #B4964C

    #B4964C

    oklch(68.5% 0.1 87.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F98D9

    #7F98D9

    oklch(68.6% 0.101 267.6)

  • #59A3D1

    #59A3D1

    oklch(68.6% 0.1 237.9)

  • #A18DD1

    #A18DD1

    oklch(68.7% 0.1 297.2)

Open the analogous palette in the generator

Split complementary

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

  • #7F98D9

    #7F98D9

    oklch(68.6% 0.101 267.6)

  • #C98A5A

    #C98A5A

    oklch(68.6% 0.1 57.4)

  • #95A358

    #95A358

    oklch(68.7% 0.101 117.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F98D9

    #7F98D9

    oklch(68.6% 0.101 267.6)

  • #D18278

    #D18278

    oklch(68.7% 0.1 27.7)

  • #6EAB76

    #6EAB76

    oklch(68.5% 0.1 147.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F98D9

    #7F98D9

    oklch(68.6% 0.101 267.6)

  • #CC7F9A

    #CC7F9A

    oklch(68.5% 0.101 357.5)

  • #B4964C

    #B4964C

    oklch(68.5% 0.1 87.5)

  • #47AF9A

    #47AF9A

    oklch(68.7% 0.101 177.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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