#7797F2#7797F2

#7797F2 is a light, vivid blue. Relative luminance 0.325; OKLCH L 69.2% C 0.139 H 268.0°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#7797F2
RGBrgb(119, 151, 242)
HSLhsl(224, 83%, 71%)
HSVhsv(224, 51%, 95%)
CMYKcmyk(50.8%, 37.6%, 0%, 5.1%)
CIE-LABlab(63.72, 13.70, -49.14)
CIE-LCHlch(63.72, 51.02, 285.58°)
OKLaboklab(69.21% -0.0048 -0.1389)
OKLCHoklch(69.21% 0.139 268)
XYZxyz(34.6961, 32.4636, 88.4250)
Luminance0.3247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7797F2 #F2D277
analogous
#77D4F2 #7797F2 #9477F2
triadic
#7797F2 #F27797 #97F277
tetradic
#7797F2 #F277D4 #F2D277 #77F294
square
#7797F2 #F277D4 #F2D277 #77F294
split-complementary
#7797F2 #F29477 #D4F277
monochromatic
#1548DA #3F6CED #7797F2 #AFC2F7 #E3EAFC

Accessibility & contrast

On white

2.80
#7797F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#7797F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7797F2
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7797F2#FFFFFF#000000##000000
##7797F21.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A0F6
Deuteranopia (green-blind)
#6695F0
Tritanopia (blue-blind)
#3FABB9
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7797f2;
/* rgb */ color: rgb(119, 151, 242);
/* oklch */ color: oklch(69.2% 0.139 268.0);
Tailwind
colors: {
  custom: {
    50: '#a5b5f7',
    500: '#7797f2',
    950: '#000000',
  },
}
SCSS
$custom: #7797f2;
$custom-light: #a5b5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7797f2",
  "rgb": {
    "r": 119,
    "g": 151,
    "b": 242
  },
  "hsl": {
    "h": 224.39,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.69205,
    "c": 0.13901,
    "h": 268
  },
  "luminance": 0.32466
}

Semantic roles & 50–950 ramp

primary
#7797F2
secondary
#F3EAD2
accent
#A707DF
background
#FAFBFF
surface
#F4F6FE
border
#CED0D6
text
#101117
muted
#7F8085

Preview Lab

Preview with #7797F2

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

Preview Lab → · Contrast checker → · Palette generator →

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