#7E8BD4#7E8BD4

#7E8BD4 is a light, moderate blue. Relative luminance 0.277; OKLCH L 65.6% C 0.110 H 275.3°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#7E8BD4
RGBrgb(126, 139, 212)
HSLhsl(231, 50%, 66%)
HSVhsv(231, 41%, 83%)
CMYKcmyk(40.6%, 34.4%, 0%, 16.9%)
CIE-LABlab(59.57, 13.61, -39.00)
CIE-LCHlch(59.57, 41.31, 289.24°)
OKLaboklab(65.65% 0.0101 -0.1093)
OKLCHoklch(65.65% 0.11 275.3)
XYZxyz(29.7169, 27.6530, 66.0463)
Luminance0.2765 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8BD4 #D4C77E
analogous
#7EB6D4 #7E8BD4 #9C7ED4
triadic
#7E8BD4 #D47E8B #8BD47E
tetradic
#7E8BD4 #D47EB6 #D4C77E #7ED49C
square
#7E8BD4 #D47EB6 #D4C77E #7ED49C
split-complementary
#7E8BD4 #D49C7E #B6D47E
monochromatic
#3646A2 #5062C5 #7E8BD4 #ACB4E3 #DADEF3

Accessibility & contrast

On white

3.22
#7E8BD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#7E8BD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8BD4
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8BD4#FFFFFF#000000##000000
##7E8BD41.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7293D7
Deuteranopia (green-blind)
#6C8CD2
Tritanopia (blue-blind)
#639AA6
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7e8bd4;
/* rgb */ color: rgb(126, 139, 212);
/* oklch */ color: oklch(65.6% 0.110 275.3);
Tailwind
colors: {
  custom: {
    50: '#a7ace1',
    500: '#7e8bd4',
    950: '#000000',
  },
}
SCSS
$custom: #7e8bd4;
$custom-light: #a7ace1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8bd4",
  "rgb": {
    "r": 126,
    "g": 139,
    "b": 212
  },
  "hsl": {
    "h": 230.93,
    "s": 50,
    "l": 66.275
  },
  "oklch": {
    "l": 0.6565,
    "c": 0.10981,
    "h": 275.3
  },
  "luminance": 0.27654
}

Semantic roles & 50–950 ramp

primary
#7E8BD4
secondary
#E5E1C9
accent
#A728BD
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#101015
muted
#7F7F83

Preview Lab

Preview with #7E8BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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