#7E8AEF#7E8AEF

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

Color values

HEX#7E8AEF
RGBrgb(126, 138, 239)
HSLhsl(234, 78%, 72%)
HSVhsv(234, 47%, 94%)
CMYKcmyk(47.3%, 42.3%, 0%, 6.3%)
CIE-LABlab(60.64, 22.01, -52.34)
CIE-LCHlch(60.64, 56.78, 292.81°)
OKLaboklab(66.9% 0.0168 -0.1482)
OKLCHoklch(66.9% 0.149 276.5)
XYZxyz(33.2678, 28.8427, 85.4588)
Luminance0.2884 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8AEF #EFE37E
analogous
#7EC3EF #7E8AEF #AB7EEF
triadic
#7E8AEF #EF7E8A #8AEF7E
tetradic
#7E8AEF #EF7EC3 #EFE37E #7EEFAB
square
#7E8AEF #EF7EC3 #EFE37E #7EEFAB
split-complementary
#7E8AEF #EFAB7E #C3EF7E
monochromatic
#1B2FD8 #4859E8 #7E8AEF #B4BBF6 #E4E6FC

Accessibility & contrast

On white

3.10
#7E8AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#7E8AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8AEF
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8AEF#FFFFFF#000000##000000
##7E8AEF1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6297F3
Deuteranopia (green-blind)
#588EED
Tritanopia (blue-blind)
#549FB1
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7e8aef;
/* rgb */ color: rgb(126, 138, 239);
/* oklch */ color: oklch(66.9% 0.149 276.5);
Tailwind
colors: {
  custom: {
    50: '#a9acf5',
    500: '#7e8aef',
    950: '#000000',
  },
}
SCSS
$custom: #7e8aef;
$custom-light: #a9acf5;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8aef",
  "rgb": {
    "r": 126,
    "g": 138,
    "b": 239
  },
  "hsl": {
    "h": 233.628,
    "s": 77.931,
    "l": 71.569
  },
  "oklch": {
    "l": 0.66903,
    "c": 0.14919,
    "h": 276.5
  },
  "luminance": 0.28845
}

Semantic roles & 50–950 ramp

primary
#7E8AEF
secondary
#F3F0D6
accent
#C40BDA
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7E8AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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