#7E8AEC#7E8AEC

#7E8AEC is a light, vivid blue. Relative luminance 0.287; OKLCH L 66.7% C 0.145 H 276.4°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#7E8AEC
RGBrgb(126, 138, 236)
HSLhsl(233, 74%, 71%)
HSVhsv(233, 47%, 93%)
CMYKcmyk(46.6%, 41.5%, 0%, 7.5%)
CIE-LABlab(60.49, 21.13, -50.93)
CIE-LCHlch(60.49, 55.14, 292.53°)
OKLaboklab(66.73% 0.0163 -0.1441)
OKLCHoklch(66.73% 0.145 276.4)
XYZxyz(32.8283, 28.6669, 83.1441)
Luminance0.2867 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8AEC #ECE07E
analogous
#7EC1EC #7E8AEC #A97EEC
triadic
#7E8AEC #EC7E8A #8AEC7E
tetradic
#7E8AEC #EC7EC1 #ECE07E #7EECA9
square
#7E8AEC #EC7EC1 #ECE07E #7EECA9
split-complementary
#7E8AEC #ECA97E #C1EC7E
monochromatic
#1F32D1 #495AE4 #7E8AEC #B3BAF4 #E4E7FB

Accessibility & contrast

On white

3.12
#7E8AEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#7E8AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8AEC
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8AEC#FFFFFF#000000##000000
##7E8AEC1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6496F0
Deuteranopia (green-blind)
#5B8EEA
Tritanopia (blue-blind)
#569EB0
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7e8aec;
/* rgb */ color: rgb(126, 138, 236);
/* oklch */ color: oklch(66.7% 0.145 276.4);
Tailwind
colors: {
  custom: {
    50: '#a9acf2',
    500: '#7e8aec',
    950: '#000000',
  },
}
SCSS
$custom: #7e8aec;
$custom-light: #a9acf2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8aec",
  "rgb": {
    "r": 126,
    "g": 138,
    "b": 236
  },
  "hsl": {
    "h": 233.455,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.66733,
    "c": 0.14503,
    "h": 276.4
  },
  "luminance": 0.28669
}

Semantic roles & 50–950 ramp

primary
#7E8AEC
secondary
#F2EED4
accent
#C10FD6
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7E8AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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