#7998F2#7998F2

#7998F2 is a light, vivid blue. Relative luminance 0.329; OKLCH L 69.5% C 0.137 H 268.3°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#7998F2
RGBrgb(121, 152, 242)
HSLhsl(225, 82%, 71%)
HSVhsv(225, 50%, 95%)
CMYKcmyk(50%, 37.2%, 0%, 5.1%)
CIE-LABlab(64.10, 13.57, -48.53)
CIE-LCHlch(64.10, 50.39, 285.62°)
OKLaboklab(69.53% -0.004 -0.1371)
OKLCHoklch(69.53% 0.137 268.3)
XYZxyz(35.1352, 32.9299, 88.4919)
Luminance0.3293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7998F2 #F2D379
analogous
#79D4F2 #7998F2 #9679F2
triadic
#7998F2 #F27998 #98F279
tetradic
#7998F2 #F279D4 #F2D379 #79F296
square
#7998F2 #F279D4 #F2D379 #79F296
split-complementary
#7998F2 #F29679 #D4F279
monochromatic
#1548DB #416DED #7998F2 #B1C3F7 #E3EAFC

Accessibility & contrast

On white

2.77
#7998F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#7998F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7998F2
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7998F2#FFFFFF#000000##000000
##7998F21.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A1F6
Deuteranopia (green-blind)
#6896F0
Tritanopia (blue-blind)
#44ABB9
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7998f2;
/* rgb */ color: rgb(121, 152, 242);
/* oklch */ color: oklch(69.5% 0.137 268.3);
Tailwind
colors: {
  custom: {
    50: '#a6b6f7',
    500: '#7998f2',
    950: '#000000',
  },
}
SCSS
$custom: #7998f2;
$custom-light: #a6b6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7998f2",
  "rgb": {
    "r": 121,
    "g": 152,
    "b": 242
  },
  "hsl": {
    "h": 224.628,
    "s": 82.313,
    "l": 71.176
  },
  "oklch": {
    "l": 0.69529,
    "c": 0.13717,
    "h": 268.3
  },
  "luminance": 0.32932
}

Semantic roles & 50–950 ramp

primary
#7998F2
secondary
#F3EBD3
accent
#A707DF
background
#FAFBFF
surface
#F4F6FE
border
#CED0D6
text
#101117
muted
#7F8085

Preview Lab

Preview with #7998F2

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

Preview Lab → · Contrast checker → · Palette generator →

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