#7797CD#7797CD

#7797CD is a light, moderate blue. Relative luminance 0.305; OKLCH L 67.4% C 0.088 H 260.6°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#7797CD
RGBrgb(119, 151, 205)
HSLhsl(218, 46%, 64%)
HSVhsv(218, 42%, 80%)
CMYKcmyk(42%, 26.3%, 0%, 19.6%)
CIE-LABlab(62.05, 2.83, -31.26)
CIE-LCHlch(62.05, 31.38, 275.18°)
OKLaboklab(67.36% -0.0144 -0.0871)
OKLCHoklch(67.36% 0.088 260.6)
XYZxyz(29.6903, 30.4613, 62.0609)
Luminance0.3046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7797CD #CDAD77
analogous
#77C2CD #7797CD #8277CD
triadic
#7797CD #CD7797 #97CD77
tetradic
#7797CD #CD77C2 #CDAD77 #77CD82
square
#7797CD #CD77C2 #CDAD77 #77CD82
split-complementary
#7797CD #CD8277 #C2CD77
monochromatic
#365993 #4A75BD #7797CD #A4B9DD #D0DBEE

Accessibility & contrast

On white

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

On black

7.09
#7797CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7797CD
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7797CD#FFFFFF#000000##000000
##7797CD1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#839ACF
Deuteranopia (green-blind)
#7A92CC
Tritanopia (blue-blind)
#58A2AA
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7797cd;
/* rgb */ color: rgb(119, 151, 205);
/* oklch */ color: oklch(67.4% 0.088 260.6);
Tailwind
colors: {
  custom: {
    50: '#a1b5dc',
    500: '#7797cd',
    950: '#000000',
  },
}
SCSS
$custom: #7797cd;
$custom-light: #a1b5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7797cd",
  "rgb": {
    "r": 119,
    "g": 151,
    "b": 205
  },
  "hsl": {
    "h": 217.674,
    "s": 46.237,
    "l": 63.529
  },
  "oklch": {
    "l": 0.67355,
    "c": 0.08829,
    "h": 260.6
  },
  "luminance": 0.30463
}

Semantic roles & 50–950 ramp

primary
#7797CD
secondary
#DFD4C1
accent
#852CB9
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#0F1115
muted
#7F8083

Preview Lab

Preview with #7797CD

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

Preview Lab → · Contrast checker → · Palette generator →

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