#7791F8#7791F8

#7791F8 is a light, vivid blue. Relative luminance 0.309; OKLCH L 68.3% C 0.154 H 271.1°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#7791F8
RGBrgb(119, 145, 248)
HSLhsl(228, 90%, 72%)
HSVhsv(228, 52%, 97%)
CMYKcmyk(52%, 41.5%, 0%, 2.7%)
CIE-LABlab(62.46, 19.05, -54.43)
CIE-LCHlch(62.46, 57.67, 289.29°)
OKLaboklab(68.34% 0.0031 -0.1545)
OKLCHoklch(68.34% 0.154 271.1)
XYZxyz(34.6709, 30.9477, 92.9353)
Luminance0.3095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7791F8 #F8DE77
analogous
#77D2F8 #7791F8 #9E77F8
triadic
#7791F8 #F87791 #91F877
tetradic
#7791F8 #F877D2 #F8DE77 #77F89E
square
#7791F8 #F877D2 #F8DE77 #77F89E
split-complementary
#7791F8 #F89E77 #D2F877
monochromatic
#0C38E9 #3D62F5 #7791F8 #B1C0FB #E2E7FE

Accessibility & contrast

On white

2.92
#7791F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#7791F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7791F8
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7791F8#FFFFFF#000000##000000
##7791F81.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#669DFC
Deuteranopia (green-blind)
#5892F6
Tritanopia (blue-blind)
#3AA7B8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7791f8;
/* rgb */ color: rgb(119, 145, 248);
/* oklch */ color: oklch(68.3% 0.154 271.1);
Tailwind
colors: {
  custom: {
    50: '#a6b0fb',
    500: '#7791f8',
    950: '#000000',
  },
}
SCSS
$custom: #7791f8;
$custom-light: #a6b0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7791f8",
  "rgb": {
    "r": 119,
    "g": 145,
    "b": 248
  },
  "hsl": {
    "h": 227.907,
    "s": 90.21,
    "l": 71.961
  },
  "oklch": {
    "l": 0.68335,
    "c": 0.15449,
    "h": 271.1
  },
  "luminance": 0.3095
}

Semantic roles & 50–950 ramp

primary
#7791F8
secondary
#F6EFD5
accent
#B700E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7791F8

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

Preview Lab → · Contrast checker → · Palette generator →

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