#7797CF#7797CF

#7797CF is a light, moderate blue. Relative luminance 0.306; OKLCH L 67.4% C 0.091 H 261.3°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#7797CF
RGBrgb(119, 151, 207)
HSLhsl(218, 48%, 64%)
HSVhsv(218, 43%, 81%)
CMYKcmyk(42.5%, 27.1%, 0%, 18.8%)
CIE-LABlab(62.13, 3.40, -32.24)
CIE-LCHlch(62.13, 32.42, 276.02°)
OKLaboklab(67.45% -0.0138 -0.0899)
OKLCHoklch(67.45% 0.091 261.3)
XYZxyz(29.9332, 30.5585, 63.3405)
Luminance0.3056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7797CF #CFAF77
analogous
#77C3CF #7797CF #8377CF
triadic
#7797CF #CF7797 #97CF77
tetradic
#7797CF #CF77C3 #CFAF77 #77CF83
square
#7797CF #CF77C3 #CFAF77 #77CF83
split-complementary
#7797CF #CF8377 #C3CF77
monochromatic
#355996 #4A74BF #7797CF #A4BADF #D1DCEF

Accessibility & contrast

On white

2.95
#7797CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#7797CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7797CF
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7797CF#FFFFFF#000000##000000
##7797CF1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#839BD1
Deuteranopia (green-blind)
#7992CE
Tritanopia (blue-blind)
#57A3AA
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7797cf;
/* rgb */ color: rgb(119, 151, 207);
/* oklch */ color: oklch(67.4% 0.091 261.3);
Tailwind
colors: {
  custom: {
    50: '#a2b5de',
    500: '#7797cf',
    950: '#000000',
  },
}
SCSS
$custom: #7797cf;
$custom-light: #a2b5de;
$custom-dark: #000000;
JSON
{
  "hex": "#7797cf",
  "rgb": {
    "r": 119,
    "g": 151,
    "b": 207
  },
  "hsl": {
    "h": 218.182,
    "s": 47.826,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67447,
    "c": 0.091,
    "h": 261.3
  },
  "luminance": 0.3056
}

Semantic roles & 50–950 ramp

primary
#7797CF
secondary
#E0D5C1
accent
#862ABB
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#0F1115
muted
#7F8083

Preview Lab

Preview with #7797CF

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

Preview Lab → · Contrast checker → · Palette generator →

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