#7796FC#7796FC

#7796FC is a light, vivid blue. Relative luminance 0.328; OKLCH L 69.6% C 0.154 H 269.4°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#7796FC
RGBrgb(119, 150, 252)
HSLhsl(226, 96%, 73%)
HSVhsv(226, 53%, 99%)
CMYKcmyk(52.8%, 40.5%, 0%, 1.2%)
CIE-LABlab(63.97, 17.34, -54.24)
CIE-LCHlch(63.97, 56.94, 287.73°)
OKLaboklab(69.56% -0.0017 -0.1538)
OKLCHoklch(69.56% 0.154 269.4)
XYZxyz(36.0790, 32.7604, 96.4988)
Luminance0.3276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7796FC #FCDD77
analogous
#77D8FC #7796FC #9A77FC
triadic
#7796FC #FC7796 #96FC77
tetradic
#7796FC #FC77D8 #FCDD77 #77FC9A
square
#7796FC #FC77D8 #FCDD77 #77FC9A
split-complementary
#7796FC #FC9A77 #D8FC77
monochromatic
#053DF3 #3B68FB #7796FC #B3C4FD #E1E8FE

Accessibility & contrast

On white

2.78
#7796FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#7796FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7796FC
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7796FC#FFFFFF#000000##000000
##7796FC1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA1FF
Deuteranopia (green-blind)
#5D96FA
Tritanopia (blue-blind)
#34ACBD
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7796fc;
/* rgb */ color: rgb(119, 150, 252);
/* oklch */ color: oklch(69.6% 0.154 269.4);
Tailwind
colors: {
  custom: {
    50: '#a6b4fe',
    500: '#7796fc',
    950: '#000000',
  },
}
SCSS
$custom: #7796fc;
$custom-light: #a6b4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7796fc",
  "rgb": {
    "r": 119,
    "g": 150,
    "b": 252
  },
  "hsl": {
    "h": 226.015,
    "s": 95.683,
    "l": 72.745
  },
  "oklch": {
    "l": 0.69556,
    "c": 0.15385,
    "h": 269.4
  },
  "luminance": 0.32763
}

Semantic roles & 50–950 ramp

primary
#7796FC
secondary
#F7EFD4
accent
#B000E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101118
muted
#7F8086

Preview Lab

Preview with #7796FC

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

Preview Lab → · Contrast checker → · Palette generator →

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