#7998F1

Closest named color: Cornflower Blue (#6495ED). oklch(69.5% 0.136 268.2), rgb(121, 152, 241).

Aa

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

About this color

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

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

Values

HEX#7998F1
RGBrgb(121, 152, 241)
HSLhsl(225, 81%, 71%)
OKLCHoklch(69.5% 0.136 268.2)

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 #7998F1 2.77:1 Fails Lc -58.6 Large or bold text, headings
Black text on #7998F1 7.57:1 AAA Lc 50.7 Large or bold text, headings
#7998F1 text on white 2.77:1 Fails Lc 53.3 Large or bold text, headings
#7998F1 text on black 7.57: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

    #F2F5FD

    oklch(97% 0.011 269.6)

  2. Step 100

    100

    #E3EAFB

    oklch(93.7% 0.024 267.9)

  3. Step 200

    200

    #CCD9F9

    oklch(88.6% 0.046 267.9)

  4. Step 300

    300

    #A9BFF8

    oklch(80.8% 0.085 268.1)

  5. Step 400

    400 (this color)

    #7998F1

    oklch(69.5% 0.136 268.2)

  6. Step 500

    500

    #5D80F1

    oklch(63% 0.174 268.2)

  7. Step 600

    600

    #4566E0

    oklch(55.5% 0.189 268.2)

  8. Step 700

    700

    #3854C2

    oklch(49.1% 0.175 268.4)

  9. Step 800

    800

    #2E469D

    oklch(42.8% 0.144 268.1)

  10. Step 900

    900

    #283C7D

    oklch(37.8% 0.113 267.8)

  11. Step 950

    950

    #182349

    oklch(26.9% 0.072 269)

Export this scale for Tailwind in the Tailwind colors tool

#7998F1 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)#75A1F50.023
Deuteranopia (no green cones)#6996EF0.020
Tritanopia (no blue cones)#45ABB90.122
Achromatopsia (no color)#9B9B9B0.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #7998F1

    #7998F1

    oklch(69.5% 0.136 268.2)

  • #C0971A

    #C0971A

    oklch(69.6% 0.136 88.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7998F1

    #7998F1

    oklch(69.5% 0.136 268.2)

  • #35A7E7

    #35A7E7

    oklch(69.4% 0.136 238.5)

  • #A889E5

    #A889E5

    oklch(69.5% 0.135 298.4)

Open the analogous palette in the generator

Split complementary

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

  • #7998F1

    #7998F1

    oklch(69.5% 0.136 268.2)

  • #DA853C

    #DA853C

    oklch(69.4% 0.136 58.1)

  • #95A839

    #95A839

    oklch(69.5% 0.137 118.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7998F1

    #7998F1

    oklch(69.5% 0.136 268.2)

  • #E5796C

    #E5796C

    oklch(69.5% 0.136 28.2)

  • #5AB46B

    #5AB46B

    oklch(69.6% 0.137 148.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7998F1

    #7998F1

    oklch(69.5% 0.136 268.2)

  • #DF769C

    #DF769C

    oklch(69.5% 0.136 358.3)

  • #C0971A

    #C0971A

    oklch(69.6% 0.136 88.1)

  • #00B69D

    #00B69D

    oklch(69.5% 0.128 178.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #7998F1 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.