#7797FC#7797FC

#7797FC is a light, vivid blue. Relative luminance 0.331; OKLCH L 69.8% C 0.153 H 268.9°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#7797FC
RGBrgb(119, 151, 252)
HSLhsl(226, 96%, 73%)
HSVhsv(226, 53%, 99%)
CMYKcmyk(52.8%, 40.1%, 0%, 1.2%)
CIE-LABlab(64.23, 16.76, -53.82)
CIE-LCHlch(64.23, 56.37, 287.30°)
OKLaboklab(69.76% -0.0028 -0.1526)
OKLCHoklch(69.76% 0.153 268.9)
XYZxyz(36.2393, 33.0809, 96.5522)
Luminance0.3308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7797FC #FCDC77
analogous
#77D9FC #7797FC #9977FC
triadic
#7797FC #FC7797 #97FC77
tetradic
#7797FC #FC77D9 #FCDC77 #77FC99
square
#7797FC #FC77D9 #FCDC77 #77FC99
split-complementary
#7797FC #FC9977 #D9FC77
monochromatic
#053FF3 #3B69FB #7797FC #B3C5FD #E1E8FE

Accessibility & contrast

On white

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

On black

7.62
#7797FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7797FC
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7797FC#FFFFFF#000000##000000
##7797FC1.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA2FF
Deuteranopia (green-blind)
#5E96FA
Tritanopia (blue-blind)
#34ADBD
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7797fc;
/* rgb */ color: rgb(119, 151, 252);
/* oklch */ color: oklch(69.8% 0.153 268.9);
Tailwind
colors: {
  custom: {
    50: '#a6b5fe',
    500: '#7797fc',
    950: '#000000',
  },
}
SCSS
$custom: #7797fc;
$custom-light: #a6b5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7797fc",
  "rgb": {
    "r": 119,
    "g": 151,
    "b": 252
  },
  "hsl": {
    "h": 225.564,
    "s": 95.683,
    "l": 72.745
  },
  "oklch": {
    "l": 0.69756,
    "c": 0.15265,
    "h": 268.9
  },
  "luminance": 0.33083
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7797FC

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

Preview Lab → · Contrast checker → · Palette generator →

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