#7796F2#7796F2

#7796F2 is a light, vivid blue. Relative luminance 0.321; OKLCH L 69.0% C 0.140 H 268.5°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#7796F2
RGBrgb(119, 150, 242)
HSLhsl(225, 83%, 71%)
HSVhsv(225, 51%, 95%)
CMYKcmyk(50.8%, 38%, 0%, 5.1%)
CIE-LABlab(63.46, 14.29, -49.56)
CIE-LCHlch(63.46, 51.57, 286.08°)
OKLaboklab(69% -0.0037 -0.1401)
OKLCHoklch(69% 0.14 268.5)
XYZxyz(34.5359, 32.1431, 88.3716)
Luminance0.3215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7796F2 #F2D377
analogous
#77D3F2 #7796F2 #9577F2
triadic
#7796F2 #F27796 #96F277
tetradic
#7796F2 #F277D3 #F2D377 #77F295
square
#7796F2 #F277D3 #F2D377 #77F295
split-complementary
#7796F2 #F29577 #D3F277
monochromatic
#1546DA #3F6BED #7796F2 #AFC1F7 #E3E9FC

Accessibility & contrast

On white

2.83
#7796F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#7796F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7796F2
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7796F2#FFFFFF#000000##000000
##7796F21.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#729FF6
Deuteranopia (green-blind)
#6495F0
Tritanopia (blue-blind)
#3FAAB8
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7796f2;
/* rgb */ color: rgb(119, 150, 242);
/* oklch */ color: oklch(69.0% 0.140 268.5);
Tailwind
colors: {
  custom: {
    50: '#a5b4f7',
    500: '#7796f2',
    950: '#000000',
  },
}
SCSS
$custom: #7796f2;
$custom-light: #a5b4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7796f2",
  "rgb": {
    "r": 119,
    "g": 150,
    "b": 242
  },
  "hsl": {
    "h": 224.878,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.69002,
    "c": 0.1402,
    "h": 268.5
  },
  "luminance": 0.32145
}

Semantic roles & 50–950 ramp

primary
#7796F2
secondary
#F3EBD2
accent
#A807DF
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101117
muted
#7F8085

Preview Lab

Preview with #7796F2

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

Preview Lab → · Contrast checker → · Palette generator →

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