#7998DA

Closest named color: Cornflower Blue (#6495ED). oklch(68.3% 0.104 264.5), rgb(121, 152, 218).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-light (68%)
Chromamoderately saturated (0.104)
Temperaturecool
Nearest nameCornflower Blue (#6495ED)
Black text7.31:1
White text2.87:1

Values

HEX#7998DA
RGBrgb(121, 152, 218)
HSLhsl(221, 57%, 66%)
OKLCHoklch(68.3% 0.104 264.5)

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 #7998DA 2.87:1 Fails Lc -60.1 Content text, not long reading
Black text on #7998DA 7.31:1 AAA Lc 49.2 Large or bold text, headings
#7998DA text on white 2.87:1 Fails Lc 54.8 Large or bold text, headings
#7998DA text on black 7.31:1 AAA Lc -47.0 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

    #F2F5FC

    oklch(97% 0.01 267.4)

  2. Step 100

    100

    #E4EAF7

    oklch(93.6% 0.019 266)

  3. Step 200

    200

    #CDD9F2

    oklch(88.4% 0.037 265.1)

  4. Step 300

    300

    #ACC1EC

    oklch(81% 0.065 264.5)

  5. Step 400

    400 (this color)

    #7998DA

    oklch(68.3% 0.104 264.5)

  6. Step 500

    500

    #6186DA

    oklch(63.1% 0.134 264.9)

  7. Step 600

    600

    #486EC7

    oklch(55.5% 0.145 264.7)

  8. Step 700

    700

    #395CAC

    oklch(49.1% 0.134 264.3)

  9. Step 800

    800

    #304B8B

    oklch(42.6% 0.111 264.9)

  10. Step 900

    900

    #2A3F6F

    oklch(37.6% 0.087 264.8)

  11. Step 950

    950

    #192541

    oklch(26.9% 0.055 265.3)

Export this scale for Tailwind in the Tailwind colors tool

#7998DA 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)#809DDD0.017
Deuteranopia (no green cones)#7694D90.012
Tritanopia (no blue cones)#55A6AF0.094
Achromatopsia (no color)#9898980.104

Harmonies

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

Complementary

The opposite hue (180°).

  • #7998DA

    #7998DA

    oklch(68.3% 0.104 264.5)

  • #B79447

    #B79447

    oklch(68.3% 0.104 84.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7998DA

    #7998DA

    oklch(68.3% 0.104 264.5)

  • #50A3D0

    #50A3D0

    oklch(68.2% 0.104 234.9)

  • #9D8CD3

    #9D8CD3

    oklch(68.2% 0.104 294.5)

Open the analogous palette in the generator

Split complementary

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

  • #7998DA

    #7998DA

    oklch(68.3% 0.104 264.5)

  • #CB8758

    #CB8758

    oklch(68.3% 0.104 54.7)

  • #98A151

    #98A151

    oklch(68.4% 0.105 114.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7998DA

    #7998DA

    oklch(68.3% 0.104 264.5)

  • #D27F79

    #D27F79

    oklch(68.3% 0.104 24.6)

  • #6FAA70

    #6FAA70

    oklch(68.2% 0.104 144.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7998DA

    #7998DA

    oklch(68.3% 0.104 264.5)

  • #CC7D9D

    #CC7D9D

    oklch(68.3% 0.105 354.4)

  • #B79447

    #B79447

    oklch(68.3% 0.104 84.9)

  • #45AE95

    #45AE95

    oklch(68.3% 0.104 174.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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