#7E8DCD#7E8DCD

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

Color values

HEX#7E8DCD
RGBrgb(126, 141, 205)
HSLhsl(229, 44%, 65%)
HSVhsv(229, 39%, 80%)
CMYKcmyk(38.5%, 31.2%, 0%, 19.6%)
CIE-LABlab(59.79, 10.48, -34.73)
CIE-LCHlch(59.79, 36.28, 286.79°)
OKLaboklab(65.71% 0.0057 -0.097)
OKLCHoklch(65.71% 0.097 273.4)
XYZxyz(29.1452, 27.8919, 61.5938)
Luminance0.2789 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8DCD #CDBE7E
analogous
#7EB4CD #7E8DCD #977ECD
triadic
#7E8DCD #CD7E8D #8DCD7E
tetradic
#7E8DCD #CD7EB4 #CDBE7E #7ECD97
square
#7E8DCD #CD7EB4 #CDBE7E #7ECD97
split-complementary
#7E8DCD #CD977E #B4CD7E
monochromatic
#3A4C96 #5266BC #7E8DCD #AAB4DE #D6DBEF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E8DCD#FFFFFF#000000##000000
##7E8DCD1.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)
#7893D0
Deuteranopia (green-blind)
#728DCB
Tritanopia (blue-blind)
#669AA4
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7e8dcd;
/* rgb */ color: rgb(126, 141, 205);
/* oklch */ color: oklch(65.7% 0.097 273.4);
Tailwind
colors: {
  custom: {
    50: '#a6aedc',
    500: '#7e8dcd',
    950: '#000000',
  },
}
SCSS
$custom: #7e8dcd;
$custom-light: #a6aedc;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8dcd",
  "rgb": {
    "r": 126,
    "g": 141,
    "b": 205
  },
  "hsl": {
    "h": 228.608,
    "s": 44.134,
    "l": 64.902
  },
  "oklch": {
    "l": 0.65714,
    "c": 0.09718,
    "h": 273.4
  },
  "luminance": 0.27893
}

Semantic roles & 50–950 ramp

primary
#7E8DCD
secondary
#E1DCC6
accent
#9D2EB7
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#101015
muted
#7F7F83

Preview Lab

Preview with #7E8DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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