#7F97DB#7F97DB

#7F97DB is a light, moderate blue. Relative luminance 0.318; OKLCH L 68.5% C 0.104 H 268.7°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#7F97DB
RGBrgb(127, 151, 219)
HSLhsl(224, 56%, 68%)
HSVhsv(224, 42%, 86%)
CMYKcmyk(42%, 31.1%, 0%, 14.1%)
CIE-LABlab(63.14, 8.87, -37.32)
CIE-LCHlch(63.14, 38.36, 283.37°)
OKLaboklab(68.53% -0.0024 -0.1044)
OKLCHoklch(68.53% 0.104 268.7)
XYZxyz(32.6012, 31.7580, 71.4162)
Luminance0.3176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F97DB #DBC37F
analogous
#7FC5DB #7F97DB #957FDB
triadic
#7F97DB #DB7F97 #97DB7F
tetradic
#7F97DB #DB7FC5 #DBC37F #7FDB95
square
#7F97DB #DB7FC5 #DBC37F #7FDB95
split-complementary
#7F97DB #DB957F #C5DB7F
monochromatic
#3152AF #4F70CE #7F97DB #AFBEE8 #DFE5F6

Accessibility & contrast

On white

2.86
#7F97DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#7F97DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7F97DB
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F97DB#FFFFFF#000000##000000
##7F97DB1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F9DDE
Deuteranopia (green-blind)
#7695D9
Tritanopia (blue-blind)
#60A5AF
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7f97db;
/* rgb */ color: rgb(127, 151, 219);
/* oklch */ color: oklch(68.5% 0.104 268.7);
Tailwind
colors: {
  custom: {
    50: '#a8b5e6',
    500: '#7f97db',
    950: '#000000',
  },
}
SCSS
$custom: #7f97db;
$custom-light: #a8b5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7f97db",
  "rgb": {
    "r": 127,
    "g": 151,
    "b": 219
  },
  "hsl": {
    "h": 224.348,
    "s": 56.098,
    "l": 67.843
  },
  "oklch": {
    "l": 0.68531,
    "c": 0.10447,
    "h": 268.7
  },
  "luminance": 0.3176
}

Semantic roles & 50–950 ramp

primary
#7F97DB
secondary
#E9E2CD
accent
#9922C4
background
#FAFBFE
surface
#F4F6FC
border
#CED0D5
text
#101116
muted
#7F8084

Preview Lab

Preview with #7F97DB

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

Preview Lab → · Contrast checker → · Palette generator →

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