#7997CE#7997CE

#7997CE is a light, moderate blue. Relative luminance 0.307; OKLCH L 67.5% C 0.089 H 262.2°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#7997CE
RGBrgb(121, 151, 206)
HSLhsl(219, 46%, 64%)
HSVhsv(219, 41%, 81%)
CMYKcmyk(41.3%, 26.7%, 0%, 19.2%)
CIE-LABlab(62.21, 3.64, -31.55)
CIE-LCHlch(62.21, 31.76, 276.58°)
OKLaboklab(67.53% -0.0121 -0.0879)
OKLCHoklch(67.53% 0.089 262.2)
XYZxyz(30.0888, 30.6528, 62.7117)
Luminance0.3065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7997CE #CEB079
analogous
#79C1CE #7997CE #8679CE
triadic
#7997CE #CE7997 #97CE79
tetradic
#7997CE #CE79C1 #CEB079 #79CE86
square
#7997CE #CE79C1 #CEB079 #79CE86
split-complementary
#7997CE #CE8679 #C1CE79
monochromatic
#375896 #4C74BE #7997CE #A6BADE #D3DDEF

Accessibility & contrast

On white

2.94
#7997CE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#7997CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7997CE
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7997CE#FFFFFF#000000##000000
##7997CE1.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#839BD0
Deuteranopia (green-blind)
#7A93CD
Tritanopia (blue-blind)
#5CA3AA
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7997ce;
/* rgb */ color: rgb(121, 151, 206);
/* oklch */ color: oklch(67.5% 0.089 262.2);
Tailwind
colors: {
  custom: {
    50: '#a3b5dd',
    500: '#7997ce',
    950: '#000000',
  },
}
SCSS
$custom: #7997ce;
$custom-light: #a3b5dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7997ce",
  "rgb": {
    "r": 121,
    "g": 151,
    "b": 206
  },
  "hsl": {
    "h": 218.824,
    "s": 46.448,
    "l": 64.118
  },
  "oklch": {
    "l": 0.67528,
    "c": 0.08876,
    "h": 262.2
  },
  "luminance": 0.30654
}

Semantic roles & 50–950 ramp

primary
#7997CE
secondary
#E0D6C3
accent
#882CBA
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#0F1115
muted
#7F8083

Preview Lab

Preview with #7997CE

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

Preview Lab → · Contrast checker → · Palette generator →

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