#7791F6#7791F6

#7791F6 is a light, vivid blue. Relative luminance 0.308; OKLCH L 68.2% C 0.152 H 271.0°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#7791F6
RGBrgb(119, 145, 246)
HSLhsl(228, 88%, 72%)
HSVhsv(228, 52%, 96%)
CMYKcmyk(51.6%, 41.1%, 0%, 3.5%)
CIE-LABlab(62.36, 18.44, -53.50)
CIE-LCHlch(62.36, 56.59, 289.02°)
OKLaboklab(68.22% 0.0027 -0.1517)
OKLCHoklch(68.22% 0.152 271)
XYZxyz(34.3623, 30.8242, 91.3099)
Luminance0.3083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7791F6 #F6DC77
analogous
#77D0F6 #7791F6 #9D77F6
triadic
#7791F6 #F67791 #91F677
tetradic
#7791F6 #F677D0 #F6DC77 #77F69D
square
#7791F6 #F677D0 #F6DC77 #77F69D
split-complementary
#7791F6 #F69D77 #D0F677
monochromatic
#0F3BE4 #3E63F2 #7791F6 #B0BFFA #E2E8FD

Accessibility & contrast

On white

2.93
#7791F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#7791F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7791F6
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7791F6#FFFFFF#000000##000000
##7791F61.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#689DFA
Deuteranopia (green-blind)
#5A92F4
Tritanopia (blue-blind)
#3CA7B8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7791f6;
/* rgb */ color: rgb(119, 145, 246);
/* oklch */ color: oklch(68.2% 0.152 271.0);
Tailwind
colors: {
  custom: {
    50: '#a6b0f9',
    500: '#7791f6',
    950: '#000000',
  },
}
SCSS
$custom: #7791f6;
$custom-light: #a6b0f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7791f6",
  "rgb": {
    "r": 119,
    "g": 145,
    "b": 246
  },
  "hsl": {
    "h": 227.717,
    "s": 87.586,
    "l": 71.569
  },
  "oklch": {
    "l": 0.6822,
    "c": 0.15175,
    "h": 271
  },
  "luminance": 0.30827
}

Semantic roles & 50–950 ramp

primary
#7791F6
secondary
#F5EED4
accent
#B601E4
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7791F6

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

Preview Lab → · Contrast checker → · Palette generator →

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