#7797EC#7797EC

#7797EC is a light, vivid blue. Relative luminance 0.321; OKLCH L 68.9% C 0.131 H 267.3°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#7797EC
RGBrgb(119, 151, 236)
HSLhsl(224, 75%, 70%)
HSVhsv(224, 50%, 93%)
CMYKcmyk(49.6%, 36%, 0%, 7.5%)
CIE-LABlab(63.43, 11.89, -46.30)
CIE-LCHlch(63.43, 47.80, 284.40°)
OKLaboklab(68.88% -0.0061 -0.1306)
OKLCHoklch(68.88% 0.131 267.3)
XYZxyz(33.8097, 32.1091, 83.7567)
Luminance0.3211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7797EC #ECCC77
analogous
#77D1EC #7797EC #9277EC
triadic
#7797EC #EC7797 #97EC77
tetradic
#7797EC #EC77D1 #ECCC77 #77EC92
square
#7797EC #EC77D1 #ECCC77 #77EC92
split-complementary
#7797EC #EC9277 #D1EC77
monochromatic
#1D4DCC #416EE4 #7797EC #ADC0F4 #E2E9FB

Accessibility & contrast

On white

2.83
#7797EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#7797EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7797EC
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7797EC#FFFFFF#000000##000000
##7797EC1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#769FEF
Deuteranopia (green-blind)
#6A95EA
Tritanopia (blue-blind)
#44A9B6
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7797ec;
/* rgb */ color: rgb(119, 151, 236);
/* oklch */ color: oklch(68.9% 0.131 267.3);
Tailwind
colors: {
  custom: {
    50: '#a4b5f2',
    500: '#7797ec',
    950: '#000000',
  },
}
SCSS
$custom: #7797ec;
$custom-light: #a4b5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7797ec",
  "rgb": {
    "r": 119,
    "g": 151,
    "b": 236
  },
  "hsl": {
    "h": 223.59,
    "s": 75.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.68885,
    "c": 0.13078,
    "h": 267.3
  },
  "luminance": 0.32111
}

Semantic roles & 50–950 ramp

primary
#7797EC
secondary
#F0E7CF
accent
#A00ED8
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101117
muted
#7F8085

Preview Lab

Preview with #7797EC

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

Preview Lab → · Contrast checker → · Palette generator →

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