#7E97DC#7E97DC

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

Color values

HEX#7E97DC
RGBrgb(126, 151, 220)
HSLhsl(224, 57%, 68%)
HSVhsv(224, 43%, 86%)
CMYKcmyk(42.7%, 31.4%, 0%, 13.7%)
CIE-LABlab(63.12, 8.90, -37.91)
CIE-LCHlch(63.12, 38.94, 283.21°)
OKLaboklab(68.51% -0.0031 -0.1062)
OKLCHoklch(68.51% 0.106 268.3)
XYZxyz(32.5850, 31.7344, 72.1046)
Luminance0.3174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E97DC #DCC37E
analogous
#7EC6DC #7E97DC #947EDC
triadic
#7E97DC #DC7E97 #97DC7E
tetradic
#7E97DC #DC7EC6 #DCC37E #7EDC94
square
#7E97DC #DC7EC6 #DCC37E #7EDC94
split-complementary
#7E97DC #DC947E #C6DC7E
monochromatic
#3052B0 #4E70CF #7E97DC #AEBEE9 #DEE5F6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E97DC#FFFFFF#000000##000000
##7E97DC1.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)
#7F9DDF
Deuteranopia (green-blind)
#7695DA
Tritanopia (blue-blind)
#5DA5B0
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7e97dc;
/* rgb */ color: rgb(126, 151, 220);
/* oklch */ color: oklch(68.5% 0.106 268.3);
Tailwind
colors: {
  custom: {
    50: '#a7b5e7',
    500: '#7e97dc',
    950: '#000000',
  },
}
SCSS
$custom: #7e97dc;
$custom-light: #a7b5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e97dc",
  "rgb": {
    "r": 126,
    "g": 151,
    "b": 220
  },
  "hsl": {
    "h": 224.043,
    "s": 57.317,
    "l": 67.843
  },
  "oklch": {
    "l": 0.68514,
    "c": 0.10621,
    "h": 268.3
  },
  "luminance": 0.31736
}

Semantic roles & 50–950 ramp

primary
#7E97DC
secondary
#E9E2CC
accent
#9921C5
background
#FAFBFE
surface
#F4F6FC
border
#CED0D5
text
#101116
muted
#7F8084

Preview Lab

Preview with #7E97DC

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

Preview Lab → · Contrast checker → · Palette generator →

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