#7E8CD3#7E8CD3

#7E8CD3 is a light, moderate blue. Relative luminance 0.279; OKLCH L 65.8% C 0.107 H 274.6°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#7E8CD3
RGBrgb(126, 140, 211)
HSLhsl(230, 49%, 66%)
HSVhsv(230, 40%, 83%)
CMYKcmyk(40.3%, 33.6%, 0%, 17.3%)
CIE-LABlab(59.79, 12.74, -38.10)
CIE-LCHlch(59.79, 40.17, 288.49°)
OKLaboklab(65.8% 0.0086 -0.1067)
OKLCHoklch(65.8% 0.107 274.6)
XYZxyz(29.7366, 27.8936, 65.4325)
Luminance0.2789 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8CD3 #D3C57E
analogous
#7EB6D3 #7E8CD3 #9A7ED3
triadic
#7E8CD3 #D37E8C #8CD37E
tetradic
#7E8CD3 #D37EB6 #D3C57E #7ED39A
square
#7E8CD3 #D37EB6 #D3C57E #7ED39A
split-complementary
#7E8CD3 #D39A7E #B6D37E
monochromatic
#3748A0 #5063C3 #7E8CD3 #ACB5E3 #D9DDF2

Accessibility & contrast

On white

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

On black

6.58
#7E8CD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8CD3
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8CD3#FFFFFF#000000##000000
##7E8CD31.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7494D6
Deuteranopia (green-blind)
#6D8DD1
Tritanopia (blue-blind)
#639AA6
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7e8cd3;
/* rgb */ color: rgb(126, 140, 211);
/* oklch */ color: oklch(65.8% 0.107 274.6);
Tailwind
colors: {
  custom: {
    50: '#a6ade1',
    500: '#7e8cd3',
    950: '#000000',
  },
}
SCSS
$custom: #7e8cd3;
$custom-light: #a6ade1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8cd3",
  "rgb": {
    "r": 126,
    "g": 140,
    "b": 211
  },
  "hsl": {
    "h": 230.118,
    "s": 49.133,
    "l": 66.078
  },
  "oklch": {
    "l": 0.65803,
    "c": 0.10707,
    "h": 274.6
  },
  "luminance": 0.27895
}

Semantic roles & 50–950 ramp

primary
#7E8CD3
secondary
#E4E0C8
accent
#A429BC
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#101015
muted
#7F7F83

Preview Lab

Preview with #7E8CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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