#7E8ED4#7E8ED4

#7E8ED4 is a light, moderate blue. Relative luminance 0.285; OKLCH L 66.3% C 0.106 H 273.4°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#7E8ED4
RGBrgb(126, 142, 212)
HSLhsl(229, 50%, 66%)
HSVhsv(229, 41%, 83%)
CMYKcmyk(40.6%, 33%, 0%, 16.9%)
CIE-LABlab(60.37, 11.85, -37.76)
CIE-LCHlch(60.37, 39.57, 287.43°)
OKLaboklab(66.26% 0.0062 -0.1057)
OKLCHoklch(66.26% 0.106 273.4)
XYZxyz(30.1573, 28.5337, 66.1931)
Luminance0.2853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8ED4 #D4C47E
analogous
#7EB9D4 #7E8ED4 #997ED4
triadic
#7E8ED4 #D47E8E #8ED47E
tetradic
#7E8ED4 #D47EB9 #D4C47E #7ED499
square
#7E8ED4 #D47EB9 #D4C47E #7ED499
split-complementary
#7E8ED4 #D4997E #B9D47E
monochromatic
#364AA2 #5066C5 #7E8ED4 #ACB6E3 #DADEF3

Accessibility & contrast

On white

3.13
#7E8ED4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#7E8ED4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8ED4
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8ED4#FFFFFF#000000##000000
##7E8ED41.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7695D7
Deuteranopia (green-blind)
#6F8ED2
Tritanopia (blue-blind)
#639CA7
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7e8ed4;
/* rgb */ color: rgb(126, 142, 212);
/* oklch */ color: oklch(66.3% 0.106 273.4);
Tailwind
colors: {
  custom: {
    50: '#a6aee1',
    500: '#7e8ed4',
    950: '#000000',
  },
}
SCSS
$custom: #7e8ed4;
$custom-light: #a6aee1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8ed4",
  "rgb": {
    "r": 126,
    "g": 142,
    "b": 212
  },
  "hsl": {
    "h": 228.837,
    "s": 50,
    "l": 66.275
  },
  "oklch": {
    "l": 0.66263,
    "c": 0.10592,
    "h": 273.4
  },
  "luminance": 0.28535
}

Semantic roles & 50–950 ramp

primary
#7E8ED4
secondary
#E5E0C9
accent
#A228BD
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#101015
muted
#7F7F83

Preview Lab

Preview with #7E8ED4

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

Preview Lab → · Contrast checker → · Palette generator →

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