#7E9ECD#7E9ECD

#7E9ECD is a light, moderate blue. Relative luminance 0.333; OKLCH L 69.3% C 0.078 H 257.9°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#7E9ECD
RGBrgb(126, 158, 205)
HSLhsl(216, 44%, 65%)
HSVhsv(216, 39%, 80%)
CMYKcmyk(38.5%, 22.9%, 0%, 19.6%)
CIE-LABlab(64.40, 0.73, -27.59)
CIE-LCHlch(64.40, 27.60, 271.52°)
OKLaboklab(69.31% -0.0164 -0.0765)
OKLCHoklch(69.31% 0.078 257.9)
XYZxyz(31.8470, 33.2955, 62.4944)
Luminance0.3330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9ECD #CDAD7E
analogous
#7EC6CD #7E9ECD #857ECD
triadic
#7E9ECD #CD7E9E #9ECD7E
tetradic
#7E9ECD #CD7EC6 #CDAD7E #7ECD85
square
#7E9ECD #CD7EC6 #CDAD7E #7ECD85
split-complementary
#7E9ECD #CD857E #C6CD7E
monochromatic
#3A6096 #527DBC #7E9ECD #AABFDE #D6E0EF

Accessibility & contrast

On white

2.74
#7E9ECD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#7E9ECD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7E9ECD
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9ECD#FFFFFF#000000##000000
##7E9ECD1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA0CF
Deuteranopia (green-blind)
#8499CC
Tritanopia (blue-blind)
#64A8AE
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7e9ecd;
/* rgb */ color: rgb(126, 158, 205);
/* oklch */ color: oklch(69.3% 0.078 257.9);
Tailwind
colors: {
  custom: {
    50: '#a6badc',
    500: '#7e9ecd',
    950: '#000000',
  },
}
SCSS
$custom: #7e9ecd;
$custom-light: #a6badc;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9ecd",
  "rgb": {
    "r": 126,
    "g": 158,
    "b": 205
  },
  "hsl": {
    "h": 215.696,
    "s": 44.134,
    "l": 64.902
  },
  "oklch": {
    "l": 0.69305,
    "c": 0.07827,
    "h": 257.9
  },
  "luminance": 0.33297
}

Semantic roles & 50–950 ramp

primary
#7E9ECD
secondary
#E1D6C6
accent
#802EB7
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#101115
muted
#7F8083

Preview Lab

Preview with #7E9ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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