#7F97BF#7F97BF

#7F97BF is a light, moderate blue. Relative luminance 0.304; OKLCH L 67.3% C 0.066 H 260.5°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#7F97BF
RGBrgb(127, 151, 191)
HSLhsl(218, 33%, 62%)
HSVhsv(218, 34%, 75%)
CMYKcmyk(33.5%, 20.9%, 0%, 25.1%)
CIE-LABlab(62.00, 1.24, -23.44)
CIE-LCHlch(62.00, 23.47, 273.02°)
OKLaboklab(67.27% -0.0108 -0.0647)
OKLCHoklch(67.27% 0.066 260.5)
XYZxyz(29.2202, 30.4056, 53.6094)
Luminance0.3041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F97BF #BFA77F
analogous
#7FB7BF #7F97BF #877FBF
triadic
#7F97BF #BF7F97 #97BF7F
tetradic
#7F97BF #BF7FB7 #BFA77F #7FBF87
square
#7F97BF #BF7FB7 #BFA77F #7FBF87
split-complementary
#7F97BF #BF877F #B7BF7F
monochromatic
#415A82 #5676AB #7F97BF #A8B8D3 #D1D9E8

Accessibility & contrast

On white

2.97
#7F97BF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#7F97BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7F97BF
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F97BF#FFFFFF#000000##000000
##7F97BF1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8999C1
Deuteranopia (green-blind)
#8393BE
Tritanopia (blue-blind)
#6C9FA4
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7f97bf;
/* rgb */ color: rgb(127, 151, 191);
/* oklch */ color: oklch(67.3% 0.066 260.5);
Tailwind
colors: {
  custom: {
    50: '#a6b5d2',
    500: '#7f97bf',
    950: '#000000',
  },
}
SCSS
$custom: #7f97bf;
$custom-light: #a6b5d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f97bf",
  "rgb": {
    "r": 127,
    "g": 151,
    "b": 191
  },
  "hsl": {
    "h": 217.5,
    "s": 33.333,
    "l": 62.353
  },
  "oklch": {
    "l": 0.67267,
    "c": 0.0656,
    "h": 260.5
  },
  "luminance": 0.30407
}

Semantic roles & 50–950 ramp

primary
#7F97BF
secondary
#D9D0C1
accent
#8139AC
background
#FAFBFC
surface
#F4F6F9
border
#CED0D2
text
#0F1114
muted
#7F8082

Preview Lab

Preview with #7F97BF

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

Preview Lab → · Contrast checker → · Palette generator →

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