#7998FA#7998FA

#7998FA is a light, vivid blue. Relative luminance 0.334; OKLCH L 70.0% C 0.148 H 269.1°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#7998FA
RGBrgb(121, 152, 250)
HSLhsl(226, 93%, 73%)
HSVhsv(226, 52%, 98%)
CMYKcmyk(51.6%, 39.2%, 0%, 2%)
CIE-LABlab(64.50, 15.99, -52.29)
CIE-LCHlch(64.50, 54.68, 287.00°)
OKLaboklab(69.96% -0.0024 -0.1481)
OKLCHoklch(69.96% 0.148 269.1)
XYZxyz(36.3631, 33.4211, 94.9587)
Luminance0.3342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7998FA #FADB79
analogous
#79D9FA #7998FA #9A79FA
triadic
#7998FA #FA7998 #98FA79
tetradic
#7998FA #FA79D9 #FADB79 #79FA9A
square
#7998FA #FA79D9 #FADB79 #79FA9A
split-complementary
#7998FA #FA9A79 #D9FA79
monochromatic
#0940F0 #3E6BF8 #7998FA #B4C5FC #E2E8FE

Accessibility & contrast

On white

2.73
#7998FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#7998FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7998FA
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7998FA#FFFFFF#000000##000000
##7998FA1.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A2FE
Deuteranopia (green-blind)
#6297F8
Tritanopia (blue-blind)
#3CADBD
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7998fa;
/* rgb */ color: rgb(121, 152, 250);
/* oklch */ color: oklch(70.0% 0.148 269.1);
Tailwind
colors: {
  custom: {
    50: '#a7b6fc',
    500: '#7998fa',
    950: '#000000',
  },
}
SCSS
$custom: #7998fa;
$custom-light: #a7b6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#7998fa",
  "rgb": {
    "r": 121,
    "g": 152,
    "b": 250
  },
  "hsl": {
    "h": 225.581,
    "s": 92.806,
    "l": 72.745
  },
  "oklch": {
    "l": 0.69964,
    "c": 0.14811,
    "h": 269.1
  },
  "luminance": 0.33424
}

Semantic roles & 50–950 ramp

primary
#7998FA
secondary
#F6EED5
accent
#AE00E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101117
muted
#7F8085

Preview Lab

Preview with #7998FA

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#7998FA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva