#7E8BCA#7E8BCA

#7E8BCA is a light, moderate blue. Relative luminance 0.272; OKLCH L 65.2% C 0.095 H 274.5°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#7E8BCA
RGBrgb(126, 139, 202)
HSLhsl(230, 42%, 64%)
HSVhsv(230, 38%, 79%)
CMYKcmyk(37.6%, 31.2%, 0%, 20.8%)
CIE-LABlab(59.13, 10.82, -34.08)
CIE-LCHlch(59.13, 35.76, 287.61°)
OKLaboklab(65.16% 0.0075 -0.0951)
OKLCHoklch(65.16% 0.095 274.5)
XYZxyz(28.4943, 27.1639, 59.6075)
Luminance0.2717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8BCA #CABD7E
analogous
#7EB1CA #7E8BCA #977ECA
triadic
#7E8BCA #CA7E8B #8BCA7E
tetradic
#7E8BCA #CA7EB1 #CABD7E #7ECA97
square
#7E8BCA #CA7EB1 #CABD7E #7ECA97
split-complementary
#7E8BCA #CA977E #B1CA7E
monochromatic
#3C4B92 #5364B8 #7E8BCA #A9B2DC #D5D9EE

Accessibility & contrast

On white

3.26
#7E8BCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#7E8BCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8BCA
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8BCA#FFFFFF#000000##000000
##7E8BCA1.003.266.436.43
#FFFFFF3.261.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7692CD
Deuteranopia (green-blind)
#718BC9
Tritanopia (blue-blind)
#6797A2
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7e8bca;
/* rgb */ color: rgb(126, 139, 202);
/* oklch */ color: oklch(65.2% 0.095 274.5);
Tailwind
colors: {
  custom: {
    50: '#a6acda',
    500: '#7e8bca',
    950: '#000000',
  },
}
SCSS
$custom: #7e8bca;
$custom-light: #a6acda;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8bca",
  "rgb": {
    "r": 126,
    "g": 139,
    "b": 202
  },
  "hsl": {
    "h": 229.737,
    "s": 41.758,
    "l": 64.314
  },
  "oklch": {
    "l": 0.65156,
    "c": 0.09543,
    "h": 274.5
  },
  "luminance": 0.27165
}

Semantic roles & 50–950 ramp

primary
#7E8BCA
secondary
#DFDBC5
accent
#9E31B5
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #7E8BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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