#7E97CD#7E97CD

#7E97CD is a light, moderate blue. Relative luminance 0.310; OKLCH L 67.8% C 0.085 H 265.0°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#7E97CD
RGBrgb(126, 151, 205)
HSLhsl(221, 44%, 65%)
HSVhsv(221, 39%, 80%)
CMYKcmyk(38.5%, 26.3%, 0%, 19.6%)
CIE-LABlab(62.49, 4.71, -30.54)
CIE-LCHlch(62.49, 30.91, 278.76°)
OKLaboklab(67.81% -0.0074 -0.085)
OKLCHoklch(67.81% 0.085 265)
XYZxyz(30.6869, 30.9751, 62.1076)
Luminance0.3098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E97CD #CDB47E
analogous
#7EBECD #7E97CD #8D7ECD
triadic
#7E97CD #CD7E97 #97CD7E
tetradic
#7E97CD #CD7EBE #CDB47E #7ECD8D
square
#7E97CD #CD7EBE #CDB47E #7ECD8D
split-complementary
#7E97CD #CD8D7E #BECD7E
monochromatic
#3A5796 #5273BC #7E97CD #AABBDE #D6DEEF

Accessibility & contrast

On white

2.92
#7E97CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#7E97CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7E97CD
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E97CD#FFFFFF#000000##000000
##7E97CD1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e97cd;
/* rgb */ color: rgb(126, 151, 205);
/* oklch */ color: oklch(67.8% 0.085 265.0);
Tailwind
colors: {
  custom: {
    50: '#a6b5dc',
    500: '#7e97cd',
    950: '#000000',
  },
}
SCSS
$custom: #7e97cd;
$custom-light: #a6b5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7e97cd",
  "rgb": {
    "r": 126,
    "g": 151,
    "b": 205
  },
  "hsl": {
    "h": 221.013,
    "s": 44.134,
    "l": 64.902
  },
  "oklch": {
    "l": 0.6781,
    "c": 0.08528,
    "h": 265
  },
  "luminance": 0.30977
}

Semantic roles & 50–950 ramp

primary
#7E97CD
secondary
#E1D8C6
accent
#8C2EB7
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#101115
muted
#7F8083

Preview Lab

Preview with #7E97CD

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

Preview Lab → · Contrast checker → · Palette generator →

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