#7797FB#7797FB

#7797FB is a light, vivid blue. Relative luminance 0.330; OKLCH L 69.7% C 0.151 H 268.9°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#7797FB
RGBrgb(119, 151, 251)
HSLhsl(225, 94%, 73%)
HSVhsv(225, 53%, 98%)
CMYKcmyk(52.6%, 39.8%, 0%, 1.6%)
CIE-LABlab(64.18, 16.45, -53.36)
CIE-LCHlch(64.18, 55.84, 287.14°)
OKLaboklab(69.7% -0.003 -0.1513)
OKLCHoklch(69.7% 0.151 268.9)
XYZxyz(36.0812, 33.0176, 95.7198)
Luminance0.3302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7797FB #FBDB77
analogous
#77D9FB #7797FB #9977FB
triadic
#7797FB #FB7797 #97FB77
tetradic
#7797FB #FB77D9 #FBDB77 #77FB99
square
#7797FB #FB77D9 #FBDB77 #77FB99
split-complementary
#7797FB #FB9977 #D9FB77
monochromatic
#0740F1 #3C6AF9 #7797FB #B2C4FD #E1E8FE

Accessibility & contrast

On white

2.76
#7797FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#7797FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7797FB
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7797FB#FFFFFF#000000##000000
##7797FB1.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA2FF
Deuteranopia (green-blind)
#5F96F9
Tritanopia (blue-blind)
#35ADBD
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7797fb;
/* rgb */ color: rgb(119, 151, 251);
/* oklch */ color: oklch(69.7% 0.151 268.9);
Tailwind
colors: {
  custom: {
    50: '#a6b5fd',
    500: '#7797fb',
    950: '#000000',
  },
}
SCSS
$custom: #7797fb;
$custom-light: #a6b5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7797fb",
  "rgb": {
    "r": 119,
    "g": 151,
    "b": 251
  },
  "hsl": {
    "h": 225.455,
    "s": 94.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.697,
    "c": 0.15129,
    "h": 268.9
  },
  "luminance": 0.3302
}

Semantic roles & 50–950 ramp

primary
#7797FB
secondary
#F6EED5
accent
#AE00E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101118
muted
#7F8086

Preview Lab

Preview with #7797FB

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

Preview Lab → · Contrast checker → · Palette generator →

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