#7997CB#7997CB

#7997CB is a light, moderate blue. Relative luminance 0.305; OKLCH L 67.4% C 0.085 H 261.2°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#7997CB
RGBrgb(121, 151, 203)
HSLhsl(218, 44%, 64%)
HSVhsv(218, 40%, 80%)
CMYKcmyk(40.4%, 25.6%, 0%, 20.4%)
CIE-LABlab(62.09, 2.80, -30.06)
CIE-LCHlch(62.09, 30.20, 275.33°)
OKLaboklab(67.39% -0.013 -0.0837)
OKLCHoklch(67.39% 0.085 261.2)
XYZxyz(29.7279, 30.5084, 60.8106)
Luminance0.3051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7997CB #CBAD79
analogous
#79C0CB #7997CB #8479CB
triadic
#7997CB #CB7997 #97CB79
tetradic
#7997CB #CB79C0 #CBAD79 #79CB84
square
#7997CB #CB79C0 #CBAD79 #79CB84
split-complementary
#7997CB #CB8479 #C0CB79
monochromatic
#385991 #4D75BA #7997CB #A5B9DC #D1DBED

Accessibility & contrast

On white

2.96
#7997CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#7997CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7997CB
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7997CB#FFFFFF#000000##000000
##7997CB1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7997cb;
/* rgb */ color: rgb(121, 151, 203);
/* oklch */ color: oklch(67.4% 0.085 261.2);
Tailwind
colors: {
  custom: {
    50: '#a3b5db',
    500: '#7997cb',
    950: '#000000',
  },
}
SCSS
$custom: #7997cb;
$custom-light: #a3b5db;
$custom-dark: #000000;
JSON
{
  "hex": "#7997cb",
  "rgb": {
    "r": 121,
    "g": 151,
    "b": 203
  },
  "hsl": {
    "h": 218.049,
    "s": 44.086,
    "l": 63.529
  },
  "oklch": {
    "l": 0.67392,
    "c": 0.08467,
    "h": 261.2
  },
  "luminance": 0.3051
}

Semantic roles & 50–950 ramp

primary
#7997CB
secondary
#DED4C1
accent
#852EB7
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#0F1115
muted
#7F8083

Preview Lab

Preview with #7997CB

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

Preview Lab → · Contrast checker → · Palette generator →

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