#7E97CF#7E97CF

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

Color values

HEX#7E97CF
RGBrgb(126, 151, 207)
HSLhsl(221, 46%, 65%)
HSVhsv(221, 39%, 81%)
CMYKcmyk(39.1%, 27.1%, 0%, 18.8%)
CIE-LABlab(62.57, 5.26, -31.53)
CIE-LCHlch(62.57, 31.97, 279.46°)
OKLaboklab(67.9% -0.0068 -0.0878)
OKLCHoklch(67.9% 0.088 265.6)
XYZxyz(30.9298, 31.0723, 63.3872)
Luminance0.3107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E97CF #CFB67E
analogous
#7EC0CF #7E97CF #8D7ECF
triadic
#7E97CF #CF7E97 #97CF7E
tetradic
#7E97CF #CF7EC0 #CFB67E #7ECF8D
square
#7E97CF #CF7EC0 #CFB67E #7ECF8D
split-complementary
#7E97CF #CF8D7E #C0CF7E
monochromatic
#395799 #5173BE #7E97CF #ABBBE0 #D7DFF0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E97CF#FFFFFF#000000##000000
##7E97CF1.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)
#849BD1
Deuteranopia (green-blind)
#7C94CE
Tritanopia (blue-blind)
#64A3AA
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7e97cf;
/* rgb */ color: rgb(126, 151, 207);
/* oklch */ color: oklch(67.9% 0.088 265.6);
Tailwind
colors: {
  custom: {
    50: '#a6b5de',
    500: '#7e97cf',
    950: '#000000',
  },
}
SCSS
$custom: #7e97cf;
$custom-light: #a6b5de;
$custom-dark: #000000;
JSON
{
  "hex": "#7e97cf",
  "rgb": {
    "r": 126,
    "g": 151,
    "b": 207
  },
  "hsl": {
    "h": 221.481,
    "s": 45.763,
    "l": 65.294
  },
  "oklch": {
    "l": 0.67901,
    "c": 0.08806,
    "h": 265.6
  },
  "luminance": 0.31074
}

Semantic roles & 50–950 ramp

primary
#7E97CF
secondary
#E2DAC7
accent
#8E2DB9
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#101115
muted
#7F8083

Preview Lab

Preview with #7E97CF

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

Preview Lab → · Contrast checker → · Palette generator →

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