#7797F8#7797F8

#7797F8 is a light, vivid blue. Relative luminance 0.328; OKLCH L 69.5% C 0.147 H 268.6°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#7797F8
RGBrgb(119, 151, 248)
HSLhsl(225, 90%, 72%)
HSVhsv(225, 52%, 97%)
CMYKcmyk(52%, 39.1%, 0%, 2.7%)
CIE-LABlab(64.02, 15.53, -51.96)
CIE-LCHlch(64.02, 54.23, 286.64°)
OKLaboklab(69.53% -0.0036 -0.1472)
OKLCHoklch(69.53% 0.147 268.6)
XYZxyz(35.6121, 32.8300, 93.2490)
Luminance0.3283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7797F8 #F8D877
analogous
#77D8F8 #7797F8 #9877F8
triadic
#7797F8 #F87797 #97F877
tetradic
#7797F8 #F877D8 #F8D877 #77F898
square
#7797F8 #F877D8 #F8D877 #77F898
split-complementary
#7797F8 #F89877 #D8F877
monochromatic
#0C43E9 #3D6AF5 #7797F8 #B1C4FB #E2E9FE

Accessibility & contrast

On white

2.78
#7797F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#7797F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7797F8
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7797F8#FFFFFF#000000##000000
##7797F81.002.787.577.57
#FFFFFF2.781.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A1FC
Deuteranopia (green-blind)
#6196F6
Tritanopia (blue-blind)
#38ACBC
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7797f8;
/* rgb */ color: rgb(119, 151, 248);
/* oklch */ color: oklch(69.5% 0.147 268.6);
Tailwind
colors: {
  custom: {
    50: '#a6b5fb',
    500: '#7797f8',
    950: '#000000',
  },
}
SCSS
$custom: #7797f8;
$custom-light: #a6b5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7797f8",
  "rgb": {
    "r": 119,
    "g": 151,
    "b": 248
  },
  "hsl": {
    "h": 225.116,
    "s": 90.21,
    "l": 71.961
  },
  "oklch": {
    "l": 0.69533,
    "c": 0.1472,
    "h": 268.6
  },
  "luminance": 0.32832
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7797F8

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

Preview Lab → · Contrast checker → · Palette generator →

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