#7E8BEE#7E8BEE

#7E8BEE is a light, vivid blue. Relative luminance 0.291; OKLCH L 67.0% C 0.146 H 276.1°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#7E8BEE
RGBrgb(126, 139, 238)
HSLhsl(233, 77%, 71%)
HSVhsv(233, 47%, 93%)
CMYKcmyk(47.1%, 41.6%, 0%, 6.7%)
CIE-LABlab(60.85, 21.13, -51.47)
CIE-LCHlch(60.85, 55.64, 292.32°)
OKLaboklab(67.04% 0.0155 -0.1457)
OKLCHoklch(67.04% 0.146 276.1)
XYZxyz(33.2646, 29.0721, 84.7310)
Luminance0.2907 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8BEE #EEE17E
analogous
#7EC3EE #7E8BEE #A97EEE
triadic
#7E8BEE #EE7E8B #8BEE7E
tetradic
#7E8BEE #EE7EC3 #EEE17E #7EEEA9
square
#7E8BEE #EE7EC3 #EEE17E #7EEEA9
split-complementary
#7E8BEE #EEA97E #C3EE7E
monochromatic
#1C32D5 #485AE7 #7E8BEE #B4BCF5 #E4E7FB

Accessibility & contrast

On white

3.08
#7E8BEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#7E8BEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8BEE
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8BEE#FFFFFF#000000##000000
##7E8BEE1.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6497F2
Deuteranopia (green-blind)
#5B8FEC
Tritanopia (blue-blind)
#54A0B1
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7e8bee;
/* rgb */ color: rgb(126, 139, 238);
/* oklch */ color: oklch(67.0% 0.146 276.1);
Tailwind
colors: {
  custom: {
    50: '#a9acf4',
    500: '#7e8bee',
    950: '#000000',
  },
}
SCSS
$custom: #7e8bee;
$custom-light: #a9acf4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8bee",
  "rgb": {
    "r": 126,
    "g": 139,
    "b": 238
  },
  "hsl": {
    "h": 233.036,
    "s": 76.712,
    "l": 71.373
  },
  "oklch": {
    "l": 0.67041,
    "c": 0.14649,
    "h": 276.1
  },
  "luminance": 0.29074
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E8BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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