#7998EE

Closest named color: Cornflower Blue (#6495ED). oklch(69.3% 0.132 267.9), rgb(121, 152, 238).

Aa

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

About this color

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

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

Values

HEX#7998EE
RGBrgb(121, 152, 238)
HSLhsl(224, 77%, 70%)
OKLCHoklch(69.3% 0.132 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 #7998EE 2.78:1 Fails Lc -58.8 Large or bold text, headings
Black text on #7998EE 7.53:1 AAA Lc 50.5 Large or bold text, headings
#7998EE text on white 2.78:1 Fails Lc 53.5 Large or bold text, headings
#7998EE text on black 7.53:1 AAA Lc -48.3 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

    #CCD9F8

    oklch(88.5% 0.045 267.4)

  4. Step 300

    300

    #AABFF7

    oklch(80.9% 0.083 268.6)

  5. Step 400

    400 (this color)

    #7998EE

    oklch(69.3% 0.132 267.9)

  6. Step 500

    500

    #5E81EE

    oklch(63.1% 0.168 268)

  7. Step 600

    600

    #4668DD

    oklch(55.7% 0.183 267.8)

  8. Step 700

    700

    #3855C0

    oklch(49.1% 0.171 268)

  9. Step 800

    800

    #2E469B

    oklch(42.6% 0.142 268)

  10. Step 900

    900

    #293C7B

    oklch(37.7% 0.11 268.2)

  11. Step 950

    950

    #182448

    oklch(27.1% 0.069 267.8)

Export this scale for Tailwind in the Tailwind colors tool

#7998EE 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)#77A0F10.020
Deuteranopia (no green cones)#6A96EC0.019
Tritanopia (no blue cones)#47AAB80.117
Achromatopsia (no color)#9B9B9B0.132

Harmonies

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

Complementary

The opposite hue (180°).

  • #7998EE

    #7998EE

    oklch(69.3% 0.132 267.9)

  • #BE9623

    #BE9623

    oklch(69.2% 0.132 87.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7998EE

    #7998EE

    oklch(69.3% 0.132 267.9)

  • #3AA7E4

    #3AA7E4

    oklch(69.4% 0.132 237.9)

  • #A689E3

    #A689E3

    oklch(69.3% 0.132 297.7)

Open the analogous palette in the generator

Split complementary

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

  • #7998EE

    #7998EE

    oklch(69.3% 0.132 267.9)

  • #D88640

    #D88640

    oklch(69.4% 0.131 58.4)

  • #96A73D

    #96A73D

    oklch(69.4% 0.132 117.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7998EE

    #7998EE

    oklch(69.3% 0.132 267.9)

  • #E27A6E

    #E27A6E

    oklch(69.3% 0.131 27.8)

  • #5DB26C

    #5DB26C

    oklch(69.2% 0.131 148)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7998EE

    #7998EE

    oklch(69.3% 0.132 267.9)

  • #DC779C

    #DC779C

    oklch(69.2% 0.132 357.8)

  • #BE9623

    #BE9623

    oklch(69.2% 0.132 87.8)

  • #00B69C

    #00B69C

    oklch(69.4% 0.128 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 #7998EE, closest first.

Similar named colors

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

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