#7E8CD4#7E8CD4

#7E8CD4 is a light, moderate blue. Relative luminance 0.279; OKLCH L 65.9% C 0.109 H 274.7°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#7E8CD4
RGBrgb(126, 140, 212)
HSLhsl(230, 50%, 66%)
HSVhsv(230, 41%, 83%)
CMYKcmyk(40.6%, 34%, 0%, 16.9%)
CIE-LABlab(59.84, 13.02, -38.59)
CIE-LCHlch(59.84, 40.73, 288.65°)
OKLaboklab(65.85% 0.0088 -0.1081)
OKLCHoklch(65.85% 0.109 274.7)
XYZxyz(29.8624, 27.9439, 66.0948)
Luminance0.2794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8CD4 #D4C67E
analogous
#7EB7D4 #7E8CD4 #9B7ED4
triadic
#7E8CD4 #D47E8C #8CD47E
tetradic
#7E8CD4 #D47EB7 #D4C67E #7ED49B
square
#7E8CD4 #D47EB7 #D4C67E #7ED49B
split-complementary
#7E8CD4 #D49B7E #B7D47E
monochromatic
#3647A2 #5063C5 #7E8CD4 #ACB5E3 #DADEF3

Accessibility & contrast

On white

3.19
#7E8CD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#7E8CD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8CD4
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8CD4#FFFFFF#000000##000000
##7E8CD41.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7394D7
Deuteranopia (green-blind)
#6D8DD2
Tritanopia (blue-blind)
#639AA6
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7e8cd4;
/* rgb */ color: rgb(126, 140, 212);
/* oklch */ color: oklch(65.9% 0.109 274.7);
Tailwind
colors: {
  custom: {
    50: '#a6ade1',
    500: '#7e8cd4',
    950: '#000000',
  },
}
SCSS
$custom: #7e8cd4;
$custom-light: #a6ade1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8cd4",
  "rgb": {
    "r": 126,
    "g": 140,
    "b": 212
  },
  "hsl": {
    "h": 230.233,
    "s": 50,
    "l": 66.275
  },
  "oklch": {
    "l": 0.65853,
    "c": 0.10851,
    "h": 274.7
  },
  "luminance": 0.27945
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E8CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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