#7998F5

Closest named color: Cornflower Blue (#6495ED). oklch(69.7% 0.141 268.6), rgb(121, 152, 245).

Aa

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

About this color

#7998F5 is a medium-light, vivid blue. In OKLCH its lightness is 70%, its chroma 0.141 and its hue 269°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower Blue (#6495ED), ΔE 0.029 away. Black text reads best on it, at 7.62:1.

Hue familyBlues
Lightnessmedium-light (70%)
Chromavivid (0.141)
Temperaturecool
Nearest nameCornflower Blue (#6495ED)
Black text7.62:1
White text2.75:1

Values

HEX#7998F5
RGBrgb(121, 152, 245)
HSLhsl(225, 86%, 72%)
OKLCHoklch(69.7% 0.141 268.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 #7998F5 2.75:1 Fails Lc -58.3 Large or bold text, headings
Black text on #7998F5 7.62:1 AAA Lc 51.0 Large or bold text, headings
#7998F5 text on white 2.75:1 Fails Lc 53.1 Large or bold text, headings
#7998F5 text on black 7.62:1 AAA Lc -48.8 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

    #F2F5FE

    oklch(97% 0.012 271.3)

  2. Step 100

    100

    #E3EAFC

    oklch(93.7% 0.025 268.8)

  3. Step 200

    200

    #CBD9FB

    oklch(88.6% 0.049 267.7)

  4. Step 300

    300

    #A9BFFB

    oklch(81% 0.089 268.8)

  5. Step 400

    400 (this color)

    #7998F5

    oklch(69.7% 0.141 268.6)

  6. Step 500

    500

    #5D7FF5

    oklch(63.1% 0.18 268.7)

  7. Step 600

    600

    #4565E4

    oklch(55.6% 0.196 268.5)

  8. Step 700

    700

    #3753C6

    oklch(49.1% 0.182 268.4)

  9. Step 800

    800

    #2E44A0

    oklch(42.6% 0.151 268.9)

  10. Step 900

    900

    #283B7F

    oklch(37.7% 0.117 268.5)

  11. Step 950

    950

    #17234A

    oklch(26.9% 0.074 268.3)

Export this scale for Tailwind in the Tailwind colors tool

#7998F5 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)#73A2F90.025
Deuteranopia (no green cones)#6697F30.022
Tritanopia (no blue cones)#41ACBB0.126
Achromatopsia (no color)#9C9C9C0.141

Harmonies

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

Complementary

The opposite hue (180°).

  • #7998F5

    #7998F5

    oklch(69.7% 0.141 268.6)

  • #C19706

    #C19706

    oklch(69.6% 0.141 88.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7998F5

    #7998F5

    oklch(69.7% 0.141 268.6)

  • #2FA8EB

    #2FA8EB

    oklch(69.7% 0.142 238.8)

  • #A988E9

    #A988E9

    oklch(69.7% 0.142 298.3)

Open the analogous palette in the generator

Split complementary

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

  • #7998F5

    #7998F5

    oklch(69.7% 0.141 268.6)

  • #DD8536

    #DD8536

    oklch(69.7% 0.141 58.6)

  • #95A934

    #95A934

    oklch(69.7% 0.141 118.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7998F5

    #7998F5

    oklch(69.7% 0.141 268.6)

  • #E8786A

    #E8786A

    oklch(69.7% 0.141 28.6)

  • #56B56A

    #56B56A

    oklch(69.7% 0.141 148.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7998F5

    #7998F5

    oklch(69.7% 0.141 268.6)

  • #E2759C

    #E2759C

    oklch(69.7% 0.141 358.7)

  • #C19706

    #C19706

    oklch(69.6% 0.141 88.5)

  • #00B79E

    #00B79E

    oklch(69.7% 0.128 178.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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