#7F97BB#7F97BB

#7F97BB is a light, moderate blue. Relative luminance 0.302; OKLCH L 67.1% C 0.060 H 258.3°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#7F97BB
RGBrgb(127, 151, 187)
HSLhsl(216, 31%, 62%)
HSVhsv(216, 32%, 73%)
CMYKcmyk(32.1%, 19.3%, 0%, 26.7%)
CIE-LABlab(61.85, 0.20, -21.42)
CIE-LCHlch(61.85, 21.42, 270.54°)
OKLaboklab(67.1% -0.0122 -0.059)
OKLCHoklch(67.1% 0.06 258.3)
XYZxyz(28.7860, 30.2319, 51.3227)
Luminance0.3023 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F97BB #BBA37F
analogous
#7FB5BB #7F97BB #857FBB
triadic
#7F97BB #BB7F97 #97BB7F
tetradic
#7F97BB #BB7FB5 #BBA37F #7FBB85
square
#7F97BB #BB7FB5 #BBA37F #7FBB85
split-complementary
#7F97BB #BB857F #B5BB7F
monochromatic
#425A7D #5877A5 #7F97BB #A7B7D0 #CFD8E5

Accessibility & contrast

On white

2.98
#7F97BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#7F97BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7F97BB
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F97BB#FFFFFF#000000##000000
##7F97BB1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B99BD
Deuteranopia (green-blind)
#8493BA
Tritanopia (blue-blind)
#6D9FA3
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7f97bb;
/* rgb */ color: rgb(127, 151, 187);
/* oklch */ color: oklch(67.1% 0.060 258.3);
Tailwind
colors: {
  custom: {
    50: '#a5b5cf',
    500: '#7f97bb',
    950: '#000000',
  },
}
SCSS
$custom: #7f97bb;
$custom-light: #a5b5cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7f97bb",
  "rgb": {
    "r": 127,
    "g": 151,
    "b": 187
  },
  "hsl": {
    "h": 216,
    "s": 30.612,
    "l": 61.569
  },
  "oklch": {
    "l": 0.67101,
    "c": 0.06023,
    "h": 258.3
  },
  "luminance": 0.30233
}

Semantic roles & 50–950 ramp

primary
#7F97BB
secondary
#D6CDC0
accent
#7E3CA9
background
#FAFBFC
surface
#F4F6F9
border
#CED0D2
text
#0F1113
muted
#7F8082

Preview Lab

Preview with #7F97BB

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

Preview Lab → · Contrast checker → · Palette generator →

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