#7991F8#7991F8

#7991F8 is a light, vivid blue. Relative luminance 0.311; OKLCH L 68.5% C 0.154 H 271.9°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#7991F8
RGBrgb(121, 145, 248)
HSLhsl(229, 90%, 72%)
HSVhsv(229, 51%, 97%)
CMYKcmyk(51.2%, 41.5%, 0%, 2.7%)
CIE-LABlab(62.58, 19.48, -54.23)
CIE-LCHlch(62.58, 57.63, 289.76°)
OKLaboklab(68.46% 0.0051 -0.1538)
OKLCHoklch(68.46% 0.154 271.9)
XYZxyz(34.9484, 31.0908, 92.9483)
Luminance0.3109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7991F8 #F8E079
analogous
#79D1F8 #7991F8 #A079F8
triadic
#7991F8 #F87991 #91F879
tetradic
#7991F8 #F879D1 #F8E079 #79F8A0
square
#7991F8 #F879D1 #F8E079 #79F8A0
split-complementary
#7991F8 #F8A079 #D1F879
monochromatic
#0C36EA #3F61F5 #7991F8 #B3C1FB #E2E7FD

Accessibility & contrast

On white

2.91
#7991F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#7991F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7991F8
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7991F8#FFFFFF#000000##000000
##7991F81.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#679DFC
Deuteranopia (green-blind)
#5992F6
Tritanopia (blue-blind)
#40A7B8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7991f8;
/* rgb */ color: rgb(121, 145, 248);
/* oklch */ color: oklch(68.5% 0.154 271.9);
Tailwind
colors: {
  custom: {
    50: '#a7b0fb',
    500: '#7991f8',
    950: '#000000',
  },
}
SCSS
$custom: #7991f8;
$custom-light: #a7b0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7991f8",
  "rgb": {
    "r": 121,
    "g": 145,
    "b": 248
  },
  "hsl": {
    "h": 228.661,
    "s": 90.071,
    "l": 72.353
  },
  "oklch": {
    "l": 0.68459,
    "c": 0.15391,
    "h": 271.9
  },
  "luminance": 0.31093
}

Semantic roles & 50–950 ramp

primary
#7991F8
secondary
#F6F0D5
accent
#BA00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7991F8

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

Preview Lab → · Contrast checker → · Palette generator →

#7991F8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva