#7997CD#7997CD

#7997CD is a light, moderate blue. Relative luminance 0.306; OKLCH L 67.5% C 0.087 H 261.8°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#7997CD
RGBrgb(121, 151, 205)
HSLhsl(219, 46%, 64%)
HSVhsv(219, 41%, 80%)
CMYKcmyk(41%, 26.3%, 0%, 19.6%)
CIE-LABlab(62.17, 3.36, -31.06)
CIE-LCHlch(62.17, 31.24, 276.18°)
OKLaboklab(67.48% -0.0124 -0.0865)
OKLCHoklch(67.48% 0.087 261.8)
XYZxyz(29.9677, 30.6043, 62.0739)
Luminance0.3061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7997CD #CDAF79
analogous
#79C1CD #7997CD #8579CD
triadic
#7997CD #CD7997 #97CD79
tetradic
#7997CD #CD79C1 #CDAF79 #79CD85
square
#7997CD #CD79C1 #CDAF79 #79CD85
split-complementary
#7997CD #CD8579 #C1CD79
monochromatic
#375994 #4C74BC #7997CD #A6BADE #D2DCEE

Accessibility & contrast

On white

2.95
#7997CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#7997CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7997CD
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7997CD#FFFFFF#000000##000000
##7997CD1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#849BCF
Deuteranopia (green-blind)
#7B93CC
Tritanopia (blue-blind)
#5CA2AA
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7997cd;
/* rgb */ color: rgb(121, 151, 205);
/* oklch */ color: oklch(67.5% 0.087 261.8);
Tailwind
colors: {
  custom: {
    50: '#a3b5dc',
    500: '#7997cd',
    950: '#000000',
  },
}
SCSS
$custom: #7997cd;
$custom-light: #a3b5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7997cd",
  "rgb": {
    "r": 121,
    "g": 151,
    "b": 205
  },
  "hsl": {
    "h": 218.571,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67483,
    "c": 0.08739,
    "h": 261.8
  },
  "luminance": 0.30606
}

Semantic roles & 50–950 ramp

primary
#7997CD
secondary
#E0D5C2
accent
#872DB9
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#0F1115
muted
#7F8083

Preview Lab

Preview with #7997CD

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

Preview Lab → · Contrast checker → · Palette generator →

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