#7998F6#7998F6

#7998F6 is a light, vivid blue. Relative luminance 0.332; OKLCH L 69.7% C 0.143 H 268.7°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#7998F6
RGBrgb(121, 152, 246)
HSLhsl(225, 87%, 72%)
HSVhsv(225, 51%, 96%)
CMYKcmyk(50.8%, 38.2%, 0%, 3.5%)
CIE-LABlab(64.30, 14.78, -50.42)
CIE-LCHlch(64.30, 52.54, 286.33°)
OKLaboklab(69.75% -0.0032 -0.1426)
OKLCHoklch(69.75% 0.143 268.7)
XYZxyz(35.7425, 33.1728, 91.6905)
Luminance0.3317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7998F6 #F6D779
analogous
#79D7F6 #7998F6 #9979F6
triadic
#7998F6 #F67998 #98F679
tetradic
#7998F6 #F679D7 #F6D779 #79F699
square
#7998F6 #F679D7 #F6D779 #79F699
split-complementary
#7998F6 #F69979 #D7F679
monochromatic
#0F44E5 #406CF2 #7998F6 #B2C4FA #E2E9FD

Accessibility & contrast

On white

2.75
#7998F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#7998F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7998F6
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7998F6#FFFFFF#000000##000000
##7998F61.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A2FA
Deuteranopia (green-blind)
#6597F4
Tritanopia (blue-blind)
#40ACBB
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7998f6;
/* rgb */ color: rgb(121, 152, 246);
/* oklch */ color: oklch(69.7% 0.143 268.7);
Tailwind
colors: {
  custom: {
    50: '#a7b6f9',
    500: '#7998f6',
    950: '#000000',
  },
}
SCSS
$custom: #7998f6;
$custom-light: #a7b6f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7998f6",
  "rgb": {
    "r": 121,
    "g": 152,
    "b": 246
  },
  "hsl": {
    "h": 225.12,
    "s": 87.413,
    "l": 71.961
  },
  "oklch": {
    "l": 0.69745,
    "c": 0.14265,
    "h": 268.7
  },
  "luminance": 0.33175
}

Semantic roles & 50–950 ramp

primary
#7998F6
secondary
#F5EDD6
accent
#AC02E4
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101117
muted
#7F8085

Preview Lab

Preview with #7998F6

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

Preview Lab → · Contrast checker → · Palette generator →

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