#7998F1#7998F1

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

Color values

HEX#7998F1
RGBrgb(121, 152, 241)
HSLhsl(225, 81%, 71%)
HSVhsv(225, 50%, 95%)
CMYKcmyk(49.8%, 36.9%, 0%, 5.5%)
CIE-LABlab(64.06, 13.27, -48.06)
CIE-LCHlch(64.06, 49.86, 285.43°)
OKLaboklab(69.47% -0.0042 -0.1357)
OKLCHoklch(69.47% 0.136 268.2)
XYZxyz(34.9854, 32.8700, 87.7030)
Luminance0.3287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7998F1 #F1D279
analogous
#79D4F1 #7998F1 #9679F1
triadic
#7998F1 #F17998 #98F179
tetradic
#7998F1 #F179D4 #F1D279 #79F196
square
#7998F1 #F179D4 #F1D279 #79F196
split-complementary
#7998F1 #F19679 #D4F179
monochromatic
#1749D9 #426DEB #7998F1 #B0C3F7 #E3EAFC

Accessibility & contrast

On white

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

On black

7.57
#7998F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7998F1
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7998F1#FFFFFF#000000##000000
##7998F11.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A1F5
Deuteranopia (green-blind)
#6996EF
Tritanopia (blue-blind)
#45ABB9
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7998f1;
/* rgb */ color: rgb(121, 152, 241);
/* oklch */ color: oklch(69.5% 0.136 268.2);
Tailwind
colors: {
  custom: {
    50: '#a6b6f6',
    500: '#7998f1',
    950: '#000000',
  },
}
SCSS
$custom: #7998f1;
$custom-light: #a6b6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#7998f1",
  "rgb": {
    "r": 121,
    "g": 152,
    "b": 241
  },
  "hsl": {
    "h": 224.5,
    "s": 81.081,
    "l": 70.98
  },
  "oklch": {
    "l": 0.69475,
    "c": 0.1358,
    "h": 268.2
  },
  "luminance": 0.32872
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7998F1

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

Preview Lab → · Contrast checker → · Palette generator →

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