#7E97DD#7E97DD

#7E97DD is a light, moderate blue. Relative luminance 0.318; OKLCH L 68.6% C 0.108 H 268.5°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#7E97DD
RGBrgb(126, 151, 221)
HSLhsl(224, 58%, 68%)
HSVhsv(224, 43%, 87%)
CMYKcmyk(43%, 31.7%, 0%, 13.3%)
CIE-LABlab(63.17, 9.18, -38.39)
CIE-LCHlch(63.17, 39.48, 283.45°)
OKLaboklab(68.56% -0.0028 -0.1076)
OKLCHoklch(68.56% 0.108 268.5)
XYZxyz(32.7179, 31.7875, 72.8042)
Luminance0.3179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E97DD #DDC47E
analogous
#7EC6DD #7E97DD #957EDD
triadic
#7E97DD #DD7E97 #97DD7E
tetradic
#7E97DD #DD7EC6 #DDC47E #7EDD95
square
#7E97DD #DD7EC6 #DDC47E #7EDD95
split-complementary
#7E97DD #DD957E #C6DD7E
monochromatic
#2F51B2 #4E70D0 #7E97DD #AEBEEA #DFE5F7

Accessibility & contrast

On white

2.85
#7E97DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#7E97DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7E97DD
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E97DD#FFFFFF#000000##000000
##7E97DD1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E9DE0
Deuteranopia (green-blind)
#7595DB
Tritanopia (blue-blind)
#5DA5B0
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7e97dd;
/* rgb */ color: rgb(126, 151, 221);
/* oklch */ color: oklch(68.6% 0.108 268.5);
Tailwind
colors: {
  custom: {
    50: '#a7b5e8',
    500: '#7e97dd',
    950: '#000000',
  },
}
SCSS
$custom: #7e97dd;
$custom-light: #a7b5e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e97dd",
  "rgb": {
    "r": 126,
    "g": 151,
    "b": 221
  },
  "hsl": {
    "h": 224.211,
    "s": 58.282,
    "l": 68.039
  },
  "oklch": {
    "l": 0.68563,
    "c": 0.10761,
    "h": 268.5
  },
  "luminance": 0.31789
}

Semantic roles & 50–950 ramp

primary
#7E97DD
secondary
#EAE2CD
accent
#9A20C6
background
#FAFBFE
surface
#F4F6FC
border
#CED0D5
text
#101116
muted
#7F8084

Preview Lab

Preview with #7E97DD

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

Preview Lab → · Contrast checker → · Palette generator →

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