#7F97CD#7F97CD

#7F97CD is a light, moderate blue. Relative luminance 0.311; OKLCH L 67.9% C 0.085 H 265.7°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#7F97CD
RGBrgb(127, 151, 205)
HSLhsl(222, 44%, 65%)
HSVhsv(222, 38%, 80%)
CMYKcmyk(38%, 26.3%, 0%, 19.6%)
CIE-LABlab(62.55, 4.98, -30.44)
CIE-LCHlch(62.55, 30.84, 279.29°)
OKLaboklab(67.88% -0.0063 -0.0846)
OKLCHoklch(67.88% 0.085 265.7)
XYZxyz(30.8351, 31.0516, 62.1146)
Luminance0.3105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F97CD #CDB57F
analogous
#7FBECD #7F97CD #8E7FCD
triadic
#7F97CD #CD7F97 #97CD7F
tetradic
#7F97CD #CD7FBE #CDB57F #7FCD8E
square
#7F97CD #CD7FBE #CDB57F #7FCD8E
split-complementary
#7F97CD #CD8E7F #BECD7F
monochromatic
#3B5797 #5373BC #7F97CD #ABBBDE #D7DFEF

Accessibility & contrast

On white

2.91
#7F97CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#7F97CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7F97CD
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F97CD#FFFFFF#000000##000000
##7F97CD1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#859BCF
Deuteranopia (green-blind)
#7D94CC
Tritanopia (blue-blind)
#66A2AA
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7f97cd;
/* rgb */ color: rgb(127, 151, 205);
/* oklch */ color: oklch(67.9% 0.085 265.7);
Tailwind
colors: {
  custom: {
    50: '#a6b5dc',
    500: '#7f97cd',
    950: '#000000',
  },
}
SCSS
$custom: #7f97cd;
$custom-light: #a6b5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7f97cd",
  "rgb": {
    "r": 127,
    "g": 151,
    "b": 205
  },
  "hsl": {
    "h": 221.538,
    "s": 43.82,
    "l": 65.098
  },
  "oklch": {
    "l": 0.67877,
    "c": 0.08489,
    "h": 265.7
  },
  "luminance": 0.31053
}

Semantic roles & 50–950 ramp

primary
#7F97CD
secondary
#E1D9C7
accent
#8D2FB7
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#101115
muted
#7F8083

Preview Lab

Preview with #7F97CD

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

Preview Lab → · Contrast checker → · Palette generator →

#7F97CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva