#7797CC#7797CC

#7797CC is a light, moderate blue. Relative luminance 0.304; OKLCH L 67.3% C 0.087 H 260.3°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#7797CC
RGBrgb(119, 151, 204)
HSLhsl(217, 45%, 63%)
HSVhsv(217, 42%, 80%)
CMYKcmyk(41.7%, 26%, 0%, 20%)
CIE-LABlab(62.01, 2.55, -30.76)
CIE-LCHlch(62.01, 30.87, 274.74°)
OKLaboklab(67.31% -0.0147 -0.0857)
OKLCHoklch(67.31% 0.087 260.3)
XYZxyz(29.5700, 30.4131, 61.4272)
Luminance0.3041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7797CC #CCAC77
analogous
#77C1CC #7797CC #8177CC
triadic
#7797CC #CC7797 #97CC77
tetradic
#7797CC #CC77C1 #CCAC77 #77CC81
square
#7797CC #CC77C1 #CCAC77 #77CC81
split-complementary
#7797CC #CC8177 #C1CC77
monochromatic
#375992 #4A75BB #7797CC #A4B9DD #D0DBED

Accessibility & contrast

On white

2.96
#7797CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#7797CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7797CC
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7797CC#FFFFFF#000000##000000
##7797CC1.002.967.087.08
#FFFFFF2.961.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#849ACE
Deuteranopia (green-blind)
#7B92CB
Tritanopia (blue-blind)
#59A2A9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7797cc;
/* rgb */ color: rgb(119, 151, 204);
/* oklch */ color: oklch(67.3% 0.087 260.3);
Tailwind
colors: {
  custom: {
    50: '#a1b5db',
    500: '#7797cc',
    950: '#000000',
  },
}
SCSS
$custom: #7797cc;
$custom-light: #a1b5db;
$custom-dark: #000000;
JSON
{
  "hex": "#7797cc",
  "rgb": {
    "r": 119,
    "g": 151,
    "b": 204
  },
  "hsl": {
    "h": 217.412,
    "s": 45.455,
    "l": 63.333
  },
  "oklch": {
    "l": 0.6731,
    "c": 0.08694,
    "h": 260.3
  },
  "luminance": 0.30415
}

Semantic roles & 50–950 ramp

primary
#7797CC
secondary
#DFD3C0
accent
#842DB9
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#0F1115
muted
#7F8083

Preview Lab

Preview with #7797CC

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

Preview Lab → · Contrast checker → · Palette generator →

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