#7E97DB#7E97DB

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

Color values

HEX#7E97DB
RGBrgb(126, 151, 219)
HSLhsl(224, 56%, 68%)
HSVhsv(224, 42%, 86%)
CMYKcmyk(42.5%, 31.1%, 0%, 14.1%)
CIE-LABlab(63.08, 8.61, -37.42)
CIE-LCHlch(63.08, 38.40, 282.96°)
OKLaboklab(68.47% -0.0034 -0.1048)
OKLCHoklch(68.47% 0.105 268.2)
XYZxyz(32.4530, 31.6816, 71.4092)
Luminance0.3168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E97DB #DBC27E
analogous
#7EC6DB #7E97DB #937EDB
triadic
#7E97DB #DB7E97 #97DB7E
tetradic
#7E97DB #DB7EC6 #DBC27E #7EDB93
square
#7E97DB #DB7EC6 #DBC27E #7EDB93
split-complementary
#7E97DB #DB937E #C6DB7E
monochromatic
#3152AE #4E70CE #7E97DB #AEBEE8 #DEE4F6

Accessibility & contrast

On white

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

On black

7.34
#7E97DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7E97DB
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E97DB#FFFFFF#000000##000000
##7E97DB1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e97db;
/* rgb */ color: rgb(126, 151, 219);
/* oklch */ color: oklch(68.5% 0.105 268.2);
Tailwind
colors: {
  custom: {
    50: '#a7b5e6',
    500: '#7e97db',
    950: '#000000',
  },
}
SCSS
$custom: #7e97db;
$custom-light: #a7b5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7e97db",
  "rgb": {
    "r": 126,
    "g": 151,
    "b": 219
  },
  "hsl": {
    "h": 223.871,
    "s": 56.364,
    "l": 67.647
  },
  "oklch": {
    "l": 0.68466,
    "c": 0.10481,
    "h": 268.2
  },
  "luminance": 0.31683
}

Semantic roles & 50–950 ramp

primary
#7E97DB
secondary
#E9E1CC
accent
#9822C4
background
#FAFBFE
surface
#F4F6FC
border
#CED0D5
text
#101116
muted
#7F8084

Preview Lab

Preview with #7E97DB

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

Preview Lab → · Contrast checker → · Palette generator →

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