#7797F9#7797F9

#7797F9 is a light, vivid blue. Relative luminance 0.329; OKLCH L 69.6% C 0.149 H 268.7°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#7797F9
RGBrgb(119, 151, 249)
HSLhsl(225, 92%, 72%)
HSVhsv(225, 52%, 98%)
CMYKcmyk(52.2%, 39.4%, 0%, 2.4%)
CIE-LABlab(64.07, 15.84, -52.43)
CIE-LCHlch(64.07, 54.77, 286.81°)
OKLaboklab(69.59% -0.0034 -0.1485)
OKLCHoklch(69.59% 0.149 268.7)
XYZxyz(35.7676, 32.8922, 94.0682)
Luminance0.3290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7797F9 #F9D977
analogous
#77D8F9 #7797F9 #9877F9
triadic
#7797F9 #F97797 #97F977
tetradic
#7797F9 #F977D8 #F9D977 #77F998
square
#7797F9 #F977D8 #F9D977 #77F998
split-complementary
#7797F9 #F99877 #D8F977
monochromatic
#0A42EB #3C6AF6 #7797F9 #B2C4FC #E2E9FE

Accessibility & contrast

On white

2.77
#7797F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#7797F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7797F9
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7797F9#FFFFFF#000000##000000
##7797F91.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA1FD
Deuteranopia (green-blind)
#6096F7
Tritanopia (blue-blind)
#37ACBC
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7797f9;
/* rgb */ color: rgb(119, 151, 249);
/* oklch */ color: oklch(69.6% 0.149 268.7);
Tailwind
colors: {
  custom: {
    50: '#a6b5fc',
    500: '#7797f9',
    950: '#000000',
  },
}
SCSS
$custom: #7797f9;
$custom-light: #a6b5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#7797f9",
  "rgb": {
    "r": 119,
    "g": 151,
    "b": 249
  },
  "hsl": {
    "h": 225.231,
    "s": 91.549,
    "l": 72.157
  },
  "oklch": {
    "l": 0.69588,
    "c": 0.14857,
    "h": 268.7
  },
  "luminance": 0.32895
}

Semantic roles & 50–950 ramp

primary
#7797F9
secondary
#F6EED5
accent
#AD00E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101117
muted
#7F8085

Preview Lab

Preview with #7797F9

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

Preview Lab → · Contrast checker → · Palette generator →

#7797F9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva