#7797FD#7797FD

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

Color values

HEX#7797FD
RGBrgb(119, 151, 253)
HSLhsl(226, 97%, 73%)
HSVhsv(226, 53%, 99%)
CMYKcmyk(53%, 40.3%, 0%, 0.8%)
CIE-LABlab(64.28, 17.07, -54.29)
CIE-LCHlch(64.28, 56.91, 287.45°)
OKLaboklab(69.81% -0.0026 -0.154)
OKLCHoklch(69.81% 0.154 269)
XYZxyz(36.3981, 33.1444, 97.3890)
Luminance0.3315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7797FD #FDDD77
analogous
#77DAFD #7797FD #9A77FD
triadic
#7797FD #FD7797 #97FD77
tetradic
#7797FD #FD77DA #FDDD77 #77FD9A
square
#7797FD #FD77DA #FDDD77 #77FD9A
split-complementary
#7797FD #FD9A77 #DAFD77
monochromatic
#043DF6 #3B69FC #7797FD #B3C5FE #E1E8FF

Accessibility & contrast

On white

2.75
#7797FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#7797FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7797FD
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7797FD#FFFFFF#000000##000000
##7797FD1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA2FF
Deuteranopia (green-blind)
#5D96FB
Tritanopia (blue-blind)
#32ADBE
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7797fd;
/* rgb */ color: rgb(119, 151, 253);
/* oklch */ color: oklch(69.8% 0.154 269.0);
Tailwind
colors: {
  custom: {
    50: '#a6b5fe',
    500: '#7797fd',
    950: '#000000',
  },
}
SCSS
$custom: #7797fd;
$custom-light: #a6b5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7797fd",
  "rgb": {
    "r": 119,
    "g": 151,
    "b": 253
  },
  "hsl": {
    "h": 225.672,
    "s": 97.101,
    "l": 72.941
  },
  "oklch": {
    "l": 0.69812,
    "c": 0.154,
    "h": 269
  },
  "luminance": 0.33147
}

Semantic roles & 50–950 ramp

primary
#7797FD
secondary
#F7EFD4
accent
#AF00E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101118
muted
#7F8086

Preview Lab

Preview with #7797FD

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

Preview Lab → · Contrast checker → · Palette generator →

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