#7E8BC2#7E8BC2

#7E8BC2 is a light, moderate blue. Relative luminance 0.268; OKLCH L 64.8% C 0.084 H 273.6°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#7E8BC2
RGBrgb(126, 139, 194)
HSLhsl(229, 36%, 63%)
HSVhsv(229, 35%, 76%)
CMYKcmyk(35.1%, 28.4%, 0%, 23.9%)
CIE-LABlab(58.78, 8.64, -30.10)
CIE-LCHlch(58.78, 31.32, 286.02°)
OKLaboklab(64.78% 0.0053 -0.0837)
OKLCHoklch(64.78% 0.084 273.6)
XYZxyz(27.5716, 26.7948, 54.7477)
Luminance0.2680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8BC2 #C2B57E
analogous
#7EADC2 #7E8BC2 #937EC2
triadic
#7E8BC2 #C27E8B #8BC27E
tetradic
#7E8BC2 #C27EAD #C2B57E #7EC293
square
#7E8BC2 #C27EAD #C2B57E #7EC293
split-complementary
#7E8BC2 #C2937E #ADC27E
monochromatic
#3F4D86 #5466AE #7E8BC2 #A8B0D6 #D1D6E9

Accessibility & contrast

On white

3.30
#7E8BC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#7E8BC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8BC2
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8BC2#FFFFFF#000000##000000
##7E8BC21.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A90C4
Deuteranopia (green-blind)
#748BC1
Tritanopia (blue-blind)
#6B969E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7e8bc2;
/* rgb */ color: rgb(126, 139, 194);
/* oklch */ color: oklch(64.8% 0.084 273.6);
Tailwind
colors: {
  custom: {
    50: '#a5acd4',
    500: '#7e8bc2',
    950: '#000000',
  },
}
SCSS
$custom: #7e8bc2;
$custom-light: #a5acd4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8bc2",
  "rgb": {
    "r": 126,
    "g": 139,
    "b": 194
  },
  "hsl": {
    "h": 228.529,
    "s": 35.789,
    "l": 62.745
  },
  "oklch": {
    "l": 0.64779,
    "c": 0.08385,
    "h": 273.6
  },
  "luminance": 0.26796
}

Semantic roles & 50–950 ramp

primary
#7E8BC2
secondary
#DAD5C2
accent
#9837AF
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#0F1014
muted
#7F7F83

Preview Lab

Preview with #7E8BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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