#7E8DD4#7E8DD4

#7E8DD4 is a light, moderate blue. Relative luminance 0.282; OKLCH L 66.1% C 0.107 H 274.0°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#7E8DD4
RGBrgb(126, 141, 212)
HSLhsl(230, 50%, 66%)
HSVhsv(230, 41%, 83%)
CMYKcmyk(40.6%, 33.5%, 0%, 16.9%)
CIE-LABlab(60.10, 12.44, -38.17)
CIE-LCHlch(60.10, 40.15, 288.05°)
OKLaboklab(66.06% 0.0075 -0.1069)
OKLCHoklch(66.06% 0.107 274)
XYZxyz(30.0092, 28.2374, 66.1438)
Luminance0.2824 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8DD4 #D4C57E
analogous
#7EB8D4 #7E8DD4 #9A7ED4
triadic
#7E8DD4 #D47E8D #8DD47E
tetradic
#7E8DD4 #D47EB8 #D4C57E #7ED49A
square
#7E8DD4 #D47EB8 #D4C57E #7ED49A
split-complementary
#7E8DD4 #D49A7E #B8D47E
monochromatic
#3649A2 #5064C5 #7E8DD4 #ACB6E3 #DADEF3

Accessibility & contrast

On white

3.16
#7E8DD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#7E8DD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8DD4
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8DD4#FFFFFF#000000##000000
##7E8DD41.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7595D7
Deuteranopia (green-blind)
#6E8ED2
Tritanopia (blue-blind)
#639BA7
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7e8dd4;
/* rgb */ color: rgb(126, 141, 212);
/* oklch */ color: oklch(66.1% 0.107 274.0);
Tailwind
colors: {
  custom: {
    50: '#a6aee1',
    500: '#7e8dd4',
    950: '#000000',
  },
}
SCSS
$custom: #7e8dd4;
$custom-light: #a6aee1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8dd4",
  "rgb": {
    "r": 126,
    "g": 141,
    "b": 212
  },
  "hsl": {
    "h": 229.535,
    "s": 50,
    "l": 66.275
  },
  "oklch": {
    "l": 0.66058,
    "c": 0.10721,
    "h": 274
  },
  "luminance": 0.28239
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E8DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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