#7797CB#7797CB

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

Color values

HEX#7797CB
RGBrgb(119, 151, 203)
HSLhsl(217, 45%, 63%)
HSVhsv(217, 41%, 80%)
CMYKcmyk(41.4%, 25.6%, 0%, 20.4%)
CIE-LABlab(61.97, 2.27, -30.26)
CIE-LCHlch(61.97, 30.35, 274.29°)
OKLaboklab(67.26% -0.015 -0.0843)
OKLCHoklch(67.26% 0.086 259.9)
XYZxyz(29.4504, 30.3653, 60.7976)
Luminance0.3037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7797CB #CBAB77
analogous
#77C1CB #7797CB #8177CB
triadic
#7797CB #CB7797 #97CB77
tetradic
#7797CB #CB77C1 #CBAB77 #77CB81
square
#7797CB #CB77C1 #CBAB77 #77CB81
split-complementary
#7797CB #CB8177 #C1CB77
monochromatic
#375990 #4B75BA #7797CB #A3B9DC #D0DBED

Accessibility & contrast

On white

2.97
#7797CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#7797CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7797CB
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7797CB#FFFFFF#000000##000000
##7797CB1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#849ACD
Deuteranopia (green-blind)
#7B92CA
Tritanopia (blue-blind)
#5AA2A9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7797cb;
/* rgb */ color: rgb(119, 151, 203);
/* oklch */ color: oklch(67.3% 0.086 259.9);
Tailwind
colors: {
  custom: {
    50: '#a1b5db',
    500: '#7797cb',
    950: '#000000',
  },
}
SCSS
$custom: #7797cb;
$custom-light: #a1b5db;
$custom-dark: #000000;
JSON
{
  "hex": "#7797cb",
  "rgb": {
    "r": 119,
    "g": 151,
    "b": 203
  },
  "hsl": {
    "h": 217.143,
    "s": 44.681,
    "l": 63.137
  },
  "oklch": {
    "l": 0.67264,
    "c": 0.08558,
    "h": 259.9
  },
  "luminance": 0.30367
}

Semantic roles & 50–950 ramp

primary
#7797CB
secondary
#DED2C0
accent
#832EB8
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#0F1115
muted
#7F8083

Preview Lab

Preview with #7797CB

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

Preview Lab → · Contrast checker → · Palette generator →

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