#7E8DEE#7E8DEE

#7E8DEE is a light, vivid blue. Relative luminance 0.297; OKLCH L 67.4% C 0.144 H 275.2°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#7E8DEE
RGBrgb(126, 141, 238)
HSLhsl(232, 77%, 71%)
HSVhsv(232, 47%, 93%)
CMYKcmyk(47.1%, 40.8%, 0%, 6.7%)
CIE-LABlab(61.36, 19.95, -50.66)
CIE-LCHlch(61.36, 54.45, 291.50°)
OKLaboklab(67.43% 0.0131 -0.1433)
OKLCHoklch(67.43% 0.144 275.2)
XYZxyz(33.5569, 29.6565, 84.8284)
Luminance0.2966 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8DEE #EEDF7E
analogous
#7EC5EE #7E8DEE #A77EEE
triadic
#7E8DEE #EE7E8D #8DEE7E
tetradic
#7E8DEE #EE7EC5 #EEDF7E #7EEEA7
square
#7E8DEE #EE7EC5 #EEDF7E #7EEEA7
split-complementary
#7E8DEE #EEA77E #C5EE7E
monochromatic
#1C35D5 #485DE7 #7E8DEE #B4BDF5 #E4E7FB

Accessibility & contrast

On white

3.03
#7E8DEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#7E8DEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8DEE
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8DEE#FFFFFF#000000##000000
##7E8DEE1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6799F2
Deuteranopia (green-blind)
#5E90EC
Tritanopia (blue-blind)
#54A1B2
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7e8dee;
/* rgb */ color: rgb(126, 141, 238);
/* oklch */ color: oklch(67.4% 0.144 275.2);
Tailwind
colors: {
  custom: {
    50: '#a9aef4',
    500: '#7e8dee',
    950: '#000000',
  },
}
SCSS
$custom: #7e8dee;
$custom-light: #a9aef4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8dee",
  "rgb": {
    "r": 126,
    "g": 141,
    "b": 238
  },
  "hsl": {
    "h": 231.964,
    "s": 76.712,
    "l": 71.373
  },
  "oklch": {
    "l": 0.67432,
    "c": 0.14389,
    "h": 275.2
  },
  "luminance": 0.29658
}

Semantic roles & 50–950 ramp

primary
#7E8DEE
secondary
#F2EFD5
accent
#BE0DD9
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7E8DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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