#7E8AEE#7E8AEE

#7E8AEE is a light, vivid blue. Relative luminance 0.288; OKLCH L 66.8% C 0.148 H 276.5°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#7E8AEE
RGBrgb(126, 138, 238)
HSLhsl(234, 77%, 71%)
HSVhsv(234, 47%, 93%)
CMYKcmyk(47.1%, 42%, 0%, 6.7%)
CIE-LABlab(60.59, 21.72, -51.87)
CIE-LCHlch(60.59, 56.24, 292.72°)
OKLaboklab(66.85% 0.0166 -0.1469)
OKLCHoklch(66.85% 0.148 276.5)
XYZxyz(33.1205, 28.7838, 84.6830)
Luminance0.2879 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8AEE #EEE27E
analogous
#7EC2EE #7E8AEE #AA7EEE
triadic
#7E8AEE #EE7E8A #8AEE7E
tetradic
#7E8AEE #EE7EC2 #EEE27E #7EEEAA
square
#7E8AEE #EE7EC2 #EEE27E #7EEEAA
split-complementary
#7E8AEE #EEAA7E #C2EE7E
monochromatic
#1C30D5 #4859E7 #7E8AEE #B4BBF5 #E4E6FB

Accessibility & contrast

On white

3.11
#7E8AEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#7E8AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8AEE
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8AEE#FFFFFF#000000##000000
##7E8AEE1.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6397F2
Deuteranopia (green-blind)
#598EEC
Tritanopia (blue-blind)
#549FB0
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7e8aee;
/* rgb */ color: rgb(126, 138, 238);
/* oklch */ color: oklch(66.8% 0.148 276.5);
Tailwind
colors: {
  custom: {
    50: '#a9acf4',
    500: '#7e8aee',
    950: '#000000',
  },
}
SCSS
$custom: #7e8aee;
$custom-light: #a9acf4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8aee",
  "rgb": {
    "r": 126,
    "g": 138,
    "b": 238
  },
  "hsl": {
    "h": 233.571,
    "s": 76.712,
    "l": 71.373
  },
  "oklch": {
    "l": 0.66847,
    "c": 0.1478,
    "h": 276.5
  },
  "luminance": 0.28786
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E8AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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