#7E8ECD#7E8ECD

#7E8ECD is a light, moderate blue. Relative luminance 0.282; OKLCH L 65.9% C 0.096 H 272.6°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#7E8ECD
RGBrgb(126, 142, 205)
HSLhsl(228, 44%, 65%)
HSVhsv(228, 39%, 80%)
CMYKcmyk(38.5%, 30.7%, 0%, 19.6%)
CIE-LABlab(60.06, 9.90, -34.32)
CIE-LCHlch(60.06, 35.72, 286.09°)
OKLaboklab(65.92% 0.0044 -0.0958)
OKLCHoklch(65.92% 0.096 272.6)
XYZxyz(29.2933, 28.1881, 61.6431)
Luminance0.2819 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8ECD #CDBD7E
analogous
#7EB6CD #7E8ECD #967ECD
triadic
#7E8ECD #CD7E8E #8ECD7E
tetradic
#7E8ECD #CD7EB6 #CDBD7E #7ECD96
square
#7E8ECD #CD7EB6 #CDBD7E #7ECD96
split-complementary
#7E8ECD #CD967E #B6CD7E
monochromatic
#3A4D96 #5267BC #7E8ECD #AAB5DE #D6DBEF

Accessibility & contrast

On white

3.16
#7E8ECD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#7E8ECD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8ECD
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8ECD#FFFFFF#000000##000000
##7E8ECD1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7994D0
Deuteranopia (green-blind)
#738ECC
Tritanopia (blue-blind)
#669BA4
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7e8ecd;
/* rgb */ color: rgb(126, 142, 205);
/* oklch */ color: oklch(65.9% 0.096 272.6);
Tailwind
colors: {
  custom: {
    50: '#a6aedc',
    500: '#7e8ecd',
    950: '#000000',
  },
}
SCSS
$custom: #7e8ecd;
$custom-light: #a6aedc;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8ecd",
  "rgb": {
    "r": 126,
    "g": 142,
    "b": 205
  },
  "hsl": {
    "h": 227.848,
    "s": 44.134,
    "l": 64.902
  },
  "oklch": {
    "l": 0.65921,
    "c": 0.09591,
    "h": 272.6
  },
  "luminance": 0.28189
}

Semantic roles & 50–950 ramp

primary
#7E8ECD
secondary
#E1DBC6
accent
#9C2EB7
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#101015
muted
#7F7F83

Preview Lab

Preview with #7E8ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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