#7797E9#7797E9

#7797E9 is a light, vivid blue. Relative luminance 0.319; OKLCH L 68.7% C 0.127 H 266.9°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#7797E9
RGBrgb(119, 151, 233)
HSLhsl(223, 72%, 69%)
HSVhsv(223, 49%, 91%)
CMYKcmyk(48.9%, 35.2%, 0%, 8.6%)
CIE-LABlab(63.29, 10.99, -44.87)
CIE-LCHlch(63.29, 46.20, 283.76°)
OKLaboklab(68.73% -0.0068 -0.1265)
OKLCHoklch(68.73% 0.127 266.9)
XYZxyz(33.3775, 31.9362, 81.4805)
Luminance0.3194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7797E9 #E9C977
analogous
#77D0E9 #7797E9 #9077E9
triadic
#7797E9 #E97797 #97E977
tetradic
#7797E9 #E977D0 #E9C977 #77E990
square
#7797E9 #E977D0 #E9C977 #77E990
split-complementary
#7797E9 #E99077 #D0E977
monochromatic
#204EC6 #426FE0 #7797E9 #ACBFF2 #E0E8FA

Accessibility & contrast

On white

2.84
#7797E9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#7797E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7797E9
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7797E9#FFFFFF#000000##000000
##7797E91.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#789FEC
Deuteranopia (green-blind)
#6B95E7
Tritanopia (blue-blind)
#47A8B5
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7797e9;
/* rgb */ color: rgb(119, 151, 233);
/* oklch */ color: oklch(68.7% 0.127 266.9);
Tailwind
colors: {
  custom: {
    50: '#a4b5f0',
    500: '#7797e9',
    950: '#000000',
  },
}
SCSS
$custom: #7797e9;
$custom-light: #a4b5f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7797e9",
  "rgb": {
    "r": 119,
    "g": 151,
    "b": 233
  },
  "hsl": {
    "h": 223.158,
    "s": 72.152,
    "l": 69.02
  },
  "oklch": {
    "l": 0.68727,
    "c": 0.12666,
    "h": 266.9
  },
  "luminance": 0.31938
}

Semantic roles & 50–950 ramp

primary
#7797E9
secondary
#EFE5CD
accent
#9D11D4
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101116
muted
#7F8084

Preview Lab

Preview with #7797E9

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

Preview Lab → · Contrast checker → · Palette generator →

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